Compile and Deploy PRC20 Contract

  1. Open Remix IDE using this URL: https://remix.ethereum.org

img

2. Under language select solidity

img

3. Now create a new contract PRC20Token.sol, copy the contract code from the PRC20 token template here

4. Modify “name”, “symbol”, “decimals” and “totalSupply” according to your requirements.

img

5. Now compile the PRC20 token contract

a. Step1: Click button to switch to compile page
b. Step2: Select “PRC20Token” contract
c. Step3: Enable “Auto compile” and “optimization”
d. Step4: Click “ABI” to copy the contract abi and save it.

img

6. Depoy the contract to TC

a. Step1: Click button to switch to compile button.
b. Step2: Select “Injected Web3”
c. Step3: Select “PRC20Token”
d. Step4: Client “Deploy” button and Metamask will pop up

img

e. Client “confirm” button to sign and broadcast transaction to TC.

img

Table of contents