This repository is a tool to prepare genesis file for Crescent
make install
Initialize chain and prepare genesis file
wrapper init test
wrapper prepare-genesis mainnet crescent-1
Git clone the crescent
repository and build
git clone https://github.com/crescent-network/crescent.git
make install
BINARY=crescentd
CHAIN_ID=crescent-1
RPC_PORT=26657
GRPC_PORT=9090
ALICE="guard cream sadness conduct invite crumble clock pudding hole grit liar hotel maid produce squeeze return argue turtle know drive eight casino maze host"
BOB="friend excite rough reopen cover wheel spoon convince island path clean monkey play snow number walnut pull lock shoot hurry dream divide concert discover"
ALICE_COINS=1500000000000ucre,1000000000000000uatom,1000000000000000uusd
BOB_COINS=1500000000000ucre,1000000000000000uatom,1000000000000000uusd
echo $ALICE | $BINARY keys add alice --recover --keyring-backend=test
echo $BOB | $BINARY keys add bob --recover --keyring-backend=test
$BINARY add-genesis-account $($BINARY keys show alice --keyring-backend test -a) $ALICE_COINS
$BINARY add-genesis-account $($BINARY keys show bob --keyring-backend test -a) $BOB_COINS
$BINARY gentx alice 1000000000ucre --chain-id $CHAIN_ID --keyring-backend test
$BINARY collect-gentxs
sed -i '' 's/enable = false/enable = true/g' $HOME/.crescent/config/app.toml
sed -i '' 's/swagger = false/swagger = true/g' $HOME/.crescent/config/app.toml
$BINARY start