NodeStake is the Professional Validator, Node Provider and IBC Relayer. | https://twitter.com/NodeStake_top
NodeStake is the Professional Validator, Node Provider and IBC Relayer. | https://twitter.com/NodeStake_top
Subscribe to NodeStake
Subscribe to NodeStake
Share Dialog
Share Dialog
<100 subscribers
<100 subscribers
(测试网1已结束,请看测试网2教程)
Gno是Cosmos创始人新的项目。当前测试网没有明确承诺奖励。
安装基础环境
sudo apt-get install git curl build-essential make jq gcc snapd chrony -y
安装Go 17+
cd ~
curl https://dl.google.com/go/go1.17.6.linux-amd64.tar.gz | sudo tar -C/usr/local -zxvf -cat <<'EOF' >>$HOME/.profile
export GOROOT=/usr/local/go
export GOPATH=$HOME/go
export GO111MODULE=on
export PATH=$PATH:/usr/local/go/bin:$HOME/go/bin
EOFsource $HOME/.profile
go version
编译gnokey执行文件
cd $HOME
git clone https://github.com/gnolang/gno.git
cd ./gno
make install_gnokey
添加钱包,将地址和生成的助记词记下
gnokey keys add mykey
从Faucet获取测试币,至少需要2001个GNOT
查询账户余额(YOUR_ACCOUNT_ADDRESS替换为你的地址)
gnokey query auth/accounts/YOUR_ACCOUNT_ADDRESS — remote gno.land:36657
得到类似以下结果
height: 0
data: {
“BaseAccount”: {
“address”: “g1z0fyvylcz3x8yqanu2th2f9s8vljf83p494gkh”,
“coins”: “2100gnot”,
“public_key”: {
“@type”: “/tm.PubKeySecp256k1”,
“value”: “Azxxxxx3Qlg2kxxxxcRaodl9ccc6Lxxxxx”
},
“account_number”: “1234”,
“sequence”: “0”
}
}
记下account_number:1234,和sequence:0
2. 创建用户
替换YOUR_USERNAME为你的用户名,用户名只能是小写的字母和下划线,并且至少6个字母
替换ACCOUNT_NUM为account_number数,如上是1234
替换SEQ_NUM为sequence数,如上是0
gnokey maketx call mykey --pkgpath "gno.land/r/users" --func "Register" --gas-fee 1gnot --gas-wanted 2000000 --send "2000gnot" --args "" --args "YOUR_USERNAME" --args "" > unsigned.txgnokey sign mykey --txpath unsigned.tx --chainid testchain --number ACCOUNT_NUM --sequence SEQ_NUM> signed.txgnokey broadcast signed.tx --remote gno.land:36657
3. 查看是否创建成功
https://gno.land/r/users 在此能找到你的用户名,则创建成功
在社交媒体上发表分享对项目的兴趣和看法,并将链接分享到链上
比如是我们的分享链接:https://twitter.com/Nodestake_top/status/1535970050003599360
替换YOUR_SHARE_LINK为你的分享链接
gnokey maketx call mykey --pkgpath "gno.land/r/boards" --func "CreateReply" --gas-fee 1gnot --gas-wanted 2000000 --send "" --broadcast true --chainid testchain --args "1" --args "8" --args "8" --args "YOUR_SHARE_LINK" --remote gno.land:36657
https://gno.land/r/boards:gnolang/8 在此能看到你的分享,则表示成功。
Gno的项目才刚刚开始,我们会持续分享Gno的项目进程和教程,关注推特@NodeStake_top。
Website:https://gno.land/
Twitter:https://twitter.com/_gnoland
Discord:https://discord.gg/XEuCZEFAY4
关注推特@NodeStake_top,获取更多资讯
(测试网1已结束,请看测试网2教程)
Gno是Cosmos创始人新的项目。当前测试网没有明确承诺奖励。
安装基础环境
sudo apt-get install git curl build-essential make jq gcc snapd chrony -y
安装Go 17+
cd ~
curl https://dl.google.com/go/go1.17.6.linux-amd64.tar.gz | sudo tar -C/usr/local -zxvf -cat <<'EOF' >>$HOME/.profile
export GOROOT=/usr/local/go
export GOPATH=$HOME/go
export GO111MODULE=on
export PATH=$PATH:/usr/local/go/bin:$HOME/go/bin
EOFsource $HOME/.profile
go version
编译gnokey执行文件
cd $HOME
git clone https://github.com/gnolang/gno.git
cd ./gno
make install_gnokey
添加钱包,将地址和生成的助记词记下
gnokey keys add mykey
从Faucet获取测试币,至少需要2001个GNOT
查询账户余额(YOUR_ACCOUNT_ADDRESS替换为你的地址)
gnokey query auth/accounts/YOUR_ACCOUNT_ADDRESS — remote gno.land:36657
得到类似以下结果
height: 0
data: {
“BaseAccount”: {
“address”: “g1z0fyvylcz3x8yqanu2th2f9s8vljf83p494gkh”,
“coins”: “2100gnot”,
“public_key”: {
“@type”: “/tm.PubKeySecp256k1”,
“value”: “Azxxxxx3Qlg2kxxxxcRaodl9ccc6Lxxxxx”
},
“account_number”: “1234”,
“sequence”: “0”
}
}
记下account_number:1234,和sequence:0
2. 创建用户
替换YOUR_USERNAME为你的用户名,用户名只能是小写的字母和下划线,并且至少6个字母
替换ACCOUNT_NUM为account_number数,如上是1234
替换SEQ_NUM为sequence数,如上是0
gnokey maketx call mykey --pkgpath "gno.land/r/users" --func "Register" --gas-fee 1gnot --gas-wanted 2000000 --send "2000gnot" --args "" --args "YOUR_USERNAME" --args "" > unsigned.txgnokey sign mykey --txpath unsigned.tx --chainid testchain --number ACCOUNT_NUM --sequence SEQ_NUM> signed.txgnokey broadcast signed.tx --remote gno.land:36657
3. 查看是否创建成功
https://gno.land/r/users 在此能找到你的用户名,则创建成功
在社交媒体上发表分享对项目的兴趣和看法,并将链接分享到链上
比如是我们的分享链接:https://twitter.com/Nodestake_top/status/1535970050003599360
替换YOUR_SHARE_LINK为你的分享链接
gnokey maketx call mykey --pkgpath "gno.land/r/boards" --func "CreateReply" --gas-fee 1gnot --gas-wanted 2000000 --send "" --broadcast true --chainid testchain --args "1" --args "8" --args "8" --args "YOUR_SHARE_LINK" --remote gno.land:36657
https://gno.land/r/boards:gnolang/8 在此能看到你的分享,则表示成功。
Gno的项目才刚刚开始,我们会持续分享Gno的项目进程和教程,关注推特@NodeStake_top。
Website:https://gno.land/
Twitter:https://twitter.com/_gnoland
Discord:https://discord.gg/XEuCZEFAY4
关注推特@NodeStake_top,获取更多资讯
No activity yet