使用

编译源码

#需要Go1.1.0+
#设置环境变量
export GOPATH=$HOME/go
export PATH=$PATH:$GOROOT/bin:$GOPATH/bin

#安装wget
sudo apt-get install wget

#下载cosmos-sdk
mkdir -p $GOPATH/src/github.com/cosmos/cosmos-sdk
git clone https://github.com/cosmos/cosmos-sdk.git
git checkout v0.17.3

#安装dep
#第一次
make get_tools
#升级
make update_tools

#编译并安装gaiad及gaiacli 
make get_vendor_deps
make install

#查看版本
gaiad version
gaiacli version

加入测试网络

账号申请

申请代币

可以用Riot chat申请代币:

https://riot.im/app/#/room/#cosmos:matrix.org 中询问 @adrian:matrix.org 获得steak代币。

网站申请代币:

https://faucet.adrianbrink.com输入地址来领取代币(文档完成时还未开放)。

转账测试

成为Validator

投票权委托

最后更新于