#Instructions of starting bridge.
Prepare This only needs to be done once
- Generate keystore file. There are several mini steps.
make install
chainbridge accounts gensub --keypath keypath
to generate keystore for substrate, mnemonics or rawseed is needed.chainbridge accounts geneth --keypath keypath
to generate keystore for ethereum, private key is needed.- password is also needed for last two mini steps, password for each keystore file could be different.
- Run setup test to finish contract configuration.
go test -v chains/ethereum/setup_test.go
, the test file must be modified before running this command, there are two places to fill.- keystorePath. line 29.
- password. line 34. Should be the same as the one you just used to generate the keystore files.
Start
3. Start Bridge:
chainbridge --config configfile
, once again password should be given for the keystore file.