Update 0g.sh

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

4
0g.sh
View File

@ -71,14 +71,14 @@ function install_node() {
# 配置evmosd # 配置evmosd
echo 'export MONIKER="My_Node"' >> ~/.bash_profile echo 'export MONIKER="My_Node"' >> ~/.bash_profile
echo 'export WALLET_NAME="wallet"' >> ~/.bash_profile echo 'export WALLET_NAME="wallet"' >> ~/.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 zgtendermint_9000-1 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:26657
evmosd config keyring-backend os evmosd config keyring-backend os
# 配置节点 # 配置节点