Update 0g.sh

This commit is contained in:
smeb y 2024-04-10 11:19:49 +08:00 committed by GitHub
parent 65b77df351
commit ee25bc204c
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

3
0g.sh
View File

@ -70,14 +70,13 @@ function install_node() {
# 配置evmosd # 配置evmosd
echo 'export MONIKER="My_Node"' >> ~/.bash_profile echo 'export MONIKER="My_Node"' >> ~/.bash_profile
echo 'export CHAIN_ID="zgtendermint_9000-1"' >> ~/.bash_profile
echo 'export WALLET_NAME="wallet"' >> ~/.bash_profile echo 'export WALLET_NAME="wallet"' >> ~/.bash_profile
echo 'export RPC_PORT="26657"' >> ~/.bash_profile echo 'export RPC_PORT="26657"' >> ~/.bash_profile
source $HOME/.bash_profile source $HOME/.bash_profile
# 获取初始文件和地址簿 # 获取初始文件和地址簿
cd $HOME cd $HOME
evmosd init $MONIKER --chain-id $CHAIN_ID evmosd init $MONIKER --chain-id zgtendermint_9000-1
evmosd config chain-id $CHAIN_ID evmosd config chain-id $CHAIN_ID
evmosd config node tcp://localhost:$RPC_PORT evmosd config node tcp://localhost:$RPC_PORT
evmosd config keyring-backend os evmosd config keyring-backend os