This article continues from the previous article: https://blog.csdn.net/wonderBlock/article/details/110739612
The contract deployment steps in this article: https://blog.csdn.net/wonderBlock/article/details/109903310
This article environment: Ethereum POA alliance chain + chrome browser + metamask + remix
The content of this article: the deployment and testing process of defi contract;
In the test environment of this article, there are three accounts in metamask, marked as account1, account2, and account3;
1. Deploy ERC20 contract
Use account1 to deploy the contract ProfitToken.sol in remix , and it succeeds;
The four parameters are:
- _initialAmount:1000000
- name:ProfitToken
- decimals:18
- symbol:ProT
remix feedback: