Part of https://www.notion.so/Laconic-Mainnet-Plan-1eca6b22d47280569cd0d1e6d711d949 Co-authored-by: Shreerang Kale <shreerangkale@gmail.com> Co-authored-by: Prathamesh Musale <prathamesh.musale0@gmail.com> Co-authored-by: Nabarun <nabarun@deepstacksoft.com> Reviewed-on: #1 Co-authored-by: shreerang <shreerang@noreply.git.vdb.to> Co-committed-by: shreerang <shreerang@noreply.git.vdb.to>
18 lines
428 B
Bash
Executable File
18 lines
428 B
Bash
Executable File
#!/bin/bash
|
|
|
|
# Exit on error
|
|
set -e
|
|
set -u
|
|
|
|
# Note: Needs to be run in a docker container with image cerc/laconicd:local
|
|
|
|
CHAIN_ID=${CHAIN_ID:-"laconic-mainnet"}
|
|
MONIKER=${MONIKER:-"mainnet-node"}
|
|
NODE_HOME="/root/.laconicd"
|
|
|
|
laconicd config set client chain-id $CHAIN_ID
|
|
laconicd init $MONIKER --chain-id $CHAIN_ID --default-denom alnt
|
|
|
|
# Allow all permissions to process further
|
|
chmod -R 777 $NODE_HOME/data $NODE_HOME/config
|