olympus-module
Version:
Module made by Olympus Labs for easier access to the Olympus protocol through Javascript/Typescript
17 lines (12 loc) • 337 B
text/typescript
import { RpcService } from './services/RpcService';
import Config from './config';
export default abstract class Services {
private _rpcService;
protected constructor() {
// make sure this is set before
this._rpcService = new RpcService(Config.web3Url);
}
public get rpcService() {
return this._rpcService;
}
}