(props = {})
| 2 | |
| 3 | class Provider { |
| 4 | constructor(props = {}) { |
| 5 | this.props = props; |
| 6 | this.chain = props.chain; |
| 7 | this.chainId = props.chainId; |
| 8 | this.fullnode = props.fullnode; |
| 9 | this.provider = new Ethers.providers.JsonRpcProvider(this.fullnode, this.chainId); |
| 10 | } |
| 11 | |
| 12 | getProvider() { |
| 13 | return this.provider; |
nothing calls this directly
no outgoing calls
no test coverage detected