File tree Expand file tree Collapse file tree 4 files changed +10
-0
lines changed Expand file tree Collapse file tree 4 files changed +10
-0
lines changed Original file line number Diff line number Diff line change 1+ CHAIN_A_RPC_URL="http://localhost:8080"
2+ CHAIN_A_NETWORK_ID="tc"
3+ CHAIN_A_FAUCET_ADDRESS="tccqym6znlgc48qeelrzccehkcaut7yz39wwq96q3y7"
4+ CHAIN_B_RPC_URL="http://localhost:8081"
5+ CHAIN_B_NETWORK_ID="fc"
6+ CHAIN_B_FAUCET_ADDRESS="fccqyd6clszl2aeq4agrk8sgq8whkty6ktljuemc9y3"
Original file line number Diff line number Diff line change @@ -2,3 +2,4 @@ node_modules/
22yarn-error.log
33yarn.lock
44build /
5+ .env
Original file line number Diff line number Diff line change 2020 "codechain-primitives" : " ^1.0.4" ,
2121 "codechain-sdk" : " ^2.0.1" ,
2222 "debug" : " ^4.1.1" ,
23+ "dotenv" : " ^8.2.0" ,
2324 "rlp" : " ^2.0.0"
2425 }
2526}
Original file line number Diff line number Diff line change @@ -5,6 +5,8 @@ import { delay } from "../common/util";
55import { getConfig } from "./config" ;
66import { PlatformAddress } from "codechain-primitives/lib" ;
77
8+ require ( "dotenv" ) . config ( ) ;
9+
810const debug = Debug ( "relayer:main" ) ;
911
1012async function main ( ) {
You can’t perform that action at this time.
0 commit comments