MyCrypto/common/libs/nodes/infura/index.ts

12 lines
257 B
TypeScript

import RPCNode from '../rpc';
import InfuraClient from './client';
export default class InfuraNode extends RPCNode {
public client: InfuraClient;
constructor(endpoint: string) {
super(endpoint);
this.client = new InfuraClient(endpoint);
}
}