Update your smart contract
A step-by-step guide showing you how to release an update for your smart contract
Requirement: You have an updated version of your smart contract that you would like to upload to the Porta blockchain
Go to PolkadotJS Apps
Porta Explorer
Ensure you are on Developer > Contracts
Copy the address of the smart contract. Do this by clicking on the name of the smart contract (FLIPPER) and then click on the circular icon that appears on the right of the screen (this button copies the address)
Close the right-side bar that you just copied the address from. Now, select add an existing contract.
Do the following:
  • paste in the address you just copied
  • name the contract
  • click and drag the flipper.contract file into the contract ABI box.
After clicking save you will see that contract has updated.
Copy link