2021-07-01 18:21:40 +00:00
|
|
|
import { ethers } from "ethers";
|
|
|
|
|
2021-07-04 04:54:03 +00:00
|
|
|
export const ERIGON_NODE =
|
|
|
|
process.env.REACT_APP_ERIGON_URL || "http://127.0.0.1:8545";
|
2021-07-04 02:02:04 +00:00
|
|
|
|
2021-07-01 18:21:40 +00:00
|
|
|
export const provider = new ethers.providers.JsonRpcProvider(
|
2021-07-04 02:02:04 +00:00
|
|
|
ERIGON_NODE,
|
2021-07-01 18:21:40 +00:00
|
|
|
"mainnet"
|
|
|
|
);
|