feat: add register for network registry
This commit is contained in:
parent
d0764d3f01
commit
2a7eb58354
|
@ -9,6 +9,9 @@ export class EthClient extends Client {
|
||||||
public async method(method: string, params: any) {
|
public async method(method: string, params: any) {
|
||||||
return this.callModuleReturn(method, params);
|
return this.callModuleReturn(method, params);
|
||||||
}
|
}
|
||||||
|
public async register() {
|
||||||
|
return this.callModuleReturn("register");
|
||||||
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
export const createClient = factory<EthClient>(EthClient, MODULE);
|
export const createClient = factory<EthClient>(EthClient, MODULE);
|
||||||
|
|
Loading…
Reference in New Issue