How to Deploy a Smart Contract
We recommend using an online compiler to compile smart contracts. If you want to test your smart contract, it’s better to deploy it on testnet first. You can install Pchain testnet and get free tPI from our testnet.
Copy your code into it.
Click Details button.
Copy the Byte Code and ABI/JSON Interface
You can only deploy smart contracts on the subchain.
Click on the "Contract" tab.
Copy your byte code and click "Deploy Contract" button.
Enter your password and send the transaction.
Wait for the contract address return and copy the address.
Click "Interact with Contract" button, copy your ABI/JSON Interface into it and click "Access" button.