yarn
yarn test
Run the production server:
yarn
yarn build
yarn start --mnemonic "{YOUR_MNEMONIC}" --chain-id {OSMOSIS_CHAIN_ID} --contract-address {ICNS_RESOLVER_CONTRACT_ADDRESS}
Run the development server with live reload:
yarn
yarn dev -- --mnemonic "{YOUR_MNEMONIC}" --chain-id {OSMOSIS_CHAIN_ID} --contract-address {ICNS_RESOLVER_CONTRACT_ADDRESS}
Alternatively, you can pass mnemonic by setting environment variable [VERIFIER_MNEMONIC]
Other flags:
yarn
yarn start --help
Run the docker image for the production server:
docker build -t {YOUR_IMAGE_NAME} .
docker run -v {PATH_YOU_WANT_TO_STORE_DATA}:/data {YOUR_IMAGE_NAME} --mnemonic "{YOUR_MNEMONIC}" --chain-id {OSMOSIS_CHAIN_ID} --contract-address {ICNS_RESOLVER_CONTRACT_ADDRESS}