cardano-docker/examples/best-practice/mc4-cold-create.sh

17 lines
507 B
Bash
Raw Normal View History

2021-02-13 15:19:38 +00:00
#!/bin/bash
docker network create -d bridge cardano
docker run -it --rm \
--name mc4-cold-create \
--network=cardano \
-e CARDANO_NETWORK="mc4" \
-e NODE_NAME="cold-create" \
-e POOL_PLEDGE="100000000000" \
-e POOL_COST="1000000000" \
-e POOL_MARGIN="0.05" \
-e METADATA_URL="<URL of metadata.json>" \
-e PUBLIC_RELAY_IP="<Public IP-address of relay node>" \
-e PUBLIC_RELAY_PORT="3000" \
-v $PWD/config/:/config/ \
arradev/cardano-node:latest --cold-create