Compass(maintainer,messenger)
Last updated
Last updated
the compass config
ethereum、map
ethereum
bsc
bsc
goerli、eth
eth2
polygon
matic
near
near
klaytn
klaytn
platon
platon
conflux
conflux
need install Go 1.16+,gcc、make, if you need near
chain,please install npm,login in to generate your account credentials,The machine requires more than 2C4G。
git clone https://github.com/mapprotocol/compass
cd compass && make build
use compass accounts import --privateKey {yourKey}
command import your account
if you want to run model of maintainer, you can use compass maintainer --blockstore ./blockStore --config ./config.json
command to run (blockStore stores the historical progress for this time. The next time it runs, the historical progress will be read locally and start from this progress)
if you want to run model of messenger, you can use compass messenger --blockstore ./blockStore --config ./config.json
command to run
make for Dockerfile,use docker build -t compass:1.0.0 .
command
make after,user docker images
command to check image
Use docker run --name maintainer -d -e KEYSTORE_PASSWORD=$KEYSTORE_PASSWORD -v ${your config dir}:/root/config -v ${your account dir}:/root/keys -v ${your near account dir}:/root/.near-credentials compass:1.0.0 maintainer --config /root/config/config.json --blockstore /root/config/all/maintainer (It is recommended that the blockStore directory and the configuration directory be placed together.)
command to run images
Now compass only generate proof,For more follow-up please pay attention to the official community
Please check for details (https://github.com/mapprotocol/compass-sdk)