Deploy on Pop

Learn how to deploy an ink! smart contract on Pop

Once you have battle-tested your smart contract using unit and e2e tests, you are ready to test your smart contract on the Pop Testnet.

Before you deploy, make sure you have bridged some tokens from the Polkadot Relay chain to your Pop account. To learn how to do this, go here:

Deploy

Now that your account is funded on Pop, you can deploy your contract.

Go to contracts.onpop.io and deploy your contract.

You can now interact with your contract.

Use PolkadotJs Apps (Optional)

Another UI option to interact with your ink! smart contract is to use PolkadotJS Apps.

Once your contract is deployed, copy the contract address and check the chain state to confirm that the contract exists.

You can add the contract to the Contracts UI in PolkadotJS Apps. Click on "+ Add an existing contract".

Add the contract address along with the flipper.contract file found inside flipper/target/ink/flipper.contract

Screenshot 2024-04-09 at 8.01.17 PM

You can now see your newly uploaded contract:

Done!

Resources

Technical Support

Last updated

Was this helpful?