Using Docker
One of the quickest ways to run verifier is by using Docker:
Use Private Key (mode = 0)
Update config_docker.yaml
Update your private_key and run :
wallet:
# wallet mode, by which way to pass the private key
# 0: through startup parameters
# 1: through plain text private key in config file
# 2: through path and password of the keystore in config file
mode: 0
# plain text private key, needed when mode is 1
private_key: "99a038e9d345d0b12130b3b1fb003bf8f2d3a5c27ce2a800bbb1608efff6c591"
# path of the keystore, needed when mode is 2
keystore_path: ""
# password of the keystore, needed when mode is 2
keystore_password: ""docker run -d --name verifier -v /<Path To This Repository>/verifier/configs:/data/conf -v /<Path To Keystore direction>:/data/keystore carvprotocol/verifier:mainnetUse Keystore (mode = 2)
If you want to use keystore, you need to generate a keystore file first. You can use the following command to generate a keystore file.
After running the command, you can run verifier by following the steps below.
update config_docker.yaml
Update your keystore_path and keystore_password and run :
Example Config
Last updated