config stuff
This commit is contained in:
parent
fcd2fe3d2a
commit
bb67a4b059
3
config.json
Normal file
3
config.json
Normal file
@ -0,0 +1,3 @@
|
||||
{
|
||||
"url": "Infura or similar URL for Web3"
|
||||
}
|
@ -2,10 +2,10 @@ import Web3 from "web3";
|
||||
import {abi} from "./abi.js";
|
||||
import {allStates} from "./all-states.js";
|
||||
import _ from "lodash"
|
||||
|
||||
import config from "../config.json"
|
||||
const web3 = new Web3(
|
||||
new Web3.providers.HttpProvider(
|
||||
"https://mainnet.infura.io/v3/c38d6812840a42d4a9284ca2afa504b6"
|
||||
config.url
|
||||
)
|
||||
);
|
||||
const mainnetAddress = "0x0792724900B551d200D954a5Ed709d9514d73A9F";
|
||||
|
Loading…
Reference in New Issue
Block a user