Skip to content

Commit

Permalink
Merge pull request #4 from kulapio/chore/update-archive-node-url
Browse files Browse the repository at this point in the history
Chore: Use .env file to host URL link
  • Loading branch information
totiz authored Jan 13, 2021
2 parents bdd33c6 + e13235d commit 18fe75e
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 1 deletion.
2 changes: 2 additions & 0 deletions .env.example
Original file line number Diff line number Diff line change
@@ -0,0 +1,2 @@
FORKED_MAINNET_URL=PLEASE_PROVIDE_ETH_ARCHIVE_NODE_URL(https://archivenode.io/,https://infura.io/pricing)
MNEMONIC=KULAP_SDK
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@
"build": "rollup -c",
"watch": "rollup -cw",
"test": "jest",
"run-ganache": "ganache-cli --fork https://epic-perlman:spied-change-thrash-strewn-friend-shriek@nd-801-096-785.p2pify.com --mnemonic crazy faint balance strike tennis mean diagram glad kiss marble horn tank"
"run-ganache": "ganache-cli --fork $(grep FORKED_MAINNET_URL .env | cut -d '=' -f2) --mnemonic $(grep MNEMONIC .env | cut -d '=' -f2)"
},
"jest": {
"transform": {
Expand Down

0 comments on commit 18fe75e

Please sign in to comment.