mirror of
https://github.com/status-im/MyCrypto.git
synced 2025-03-03 04:00:37 +00:00
* Add all v3s nodes, create node libs for etherscan and infura. * Add all network configs for alternatives. * Color and animate nav border on network selection. * Address PR comments. * Persist network selection to local storage. * Modifiy TransactionSucceeded to link to network-specific explorer. * - Reload on Node Change to reset state. Should be refactored in the future so that we are not forcing clients to reload.
15 lines
382 B
JavaScript
15 lines
382 B
JavaScript
import RPCNode from '../rpc';
|
|
import EtherscanClient from './client';
|
|
import EtherscanRequests from './requests';
|
|
|
|
export default class EtherscanNode extends RPCNode {
|
|
client: EtherscanClient;
|
|
requests: EtherscanRequests;
|
|
|
|
constructor(endpoint: string) {
|
|
super(endpoint);
|
|
this.client = new EtherscanClient(endpoint);
|
|
this.requests = new EtherscanRequests();
|
|
}
|
|
}
|