您当前的位置: 首页 >  网络

培根芝士

暂无认证

  • 0浏览

    0关注

    446博文

    0收益

  • 0浏览

    0点赞

    0打赏

    0留言

私信
关注
热门博文

部署TetherUSDT合约到Rinkeby测试网络

培根芝士 发布时间:2022-01-11 19:12:17 ,浏览量:0

1、从etherscan上找到对应的USDT合约代码

https://etherscan.io/address/0xdac17f958d2ee523a2206206994597c13d831ec7#codehttps://etherscan.io/address/0xdac17f958d2ee523a2206206994597c13d831ec7#code2、去remix在线编译https://remix.ethereum.org/https://remix.ethereum.org/把上面复制的代码粘贴进去编译,compiler版本选择上述contract页面中的compiler version

3、切换到deploy界面,选择injected Web,此时会自动调用metamask,切换到rinkeby网络,选择一个有足够ETH测试币的账户

4、contract选择TetherToken,deploy中填入相关参数,supply就是发行的数量,其他字段与主网合约一致

5、点击transact,大功告成,合约地址可从部署合约的交易中查看到

找到交易Hash,在rinkeby.etherscan.io中打开交易详情页面

​https://rinkeby.etherscan.io/tx/{交易hash}

找到对应的合约地址,打开合约详情页面

​https://rinkeby.etherscan.io/​address/{合约地址}​

关注
打赏
1660824269
查看更多评论
立即登录/注册

微信扫码登录

0.0390s