第40篇 defi实战-质押挖矿智能合约(下)

本文接上篇:https://blog.csdn.net/wonderBlock/article/details/110739612

本文合约部署步骤::https://blog.csdn.net/wonderBlock/article/details/109903310

本文环境:以太坊POA联盟链 + chrome浏览器 + metamask + remix

本文内容:defi合约的部署及测试过程;

本文测试环境,在metamask有三个账号,标记为account1,account2,account3;

1.部署ERC20合约

使用account1 在remix部署合约 ProfitToken.sol,成功;

四个参数分别为:

  • _initialAmount:1000000
  • name:ProfitToken
  • decimals:18
  • symbol:ProT

remix反馈:

猜你喜欢

转载自blog.csdn.net/wonderBlock/article/details/110821188
今日推荐