Need Help?
Github

Developed by

Logo protofire

V1.0.0

Learn more about Polkadot Contract Wizard

How it works

The Polkadot Contract Wizard is a non-code tool to generate, compile and deploy smart contracts on Polkadot Ecosystem. It provides standard contracts based on PSP.

First of all, you need to select what kind of contract you prefer. We have these options:

  • TOKEN | PSP22: standard smart contract for a fungible token.
  • NFT | PSP34: standard smart contract for a non-fungible token.
  • MULTITOKEN | PSP37: standard contract for a multi token.
select a contract

1. Extensions choices 🪄

Once you select one of the options (Token, NFT or Multi Token), you will be able to choose one or more Extensions: Functionalities and Security.

select a extension

2. Compile your contract ⚙️

Now you have your contract ready to be compiled. If you prefer you can copy/download the contract code and use it separately. First, you need to connect your wallet.

First, you need to connect your wallet.

connect your wallet

Then, you can compile your contract.

compile your contract

3. Deploy your contract 🚀

After the smart contract has been compiled, it is ready to be deployed to any parachain that supports the Contracts Pallet.

Now you need to fill in the required fields for the contract constructor.

fill the fields

Once you have finished, you can deploy your contract.

deploy your contract

You will be prompted to sign the transaction with your wallet.

sign transaction

After a little while, your contract will be deployed.

contract deployed

4. Interact with your contract 💻

🛠️ We're working to offer you direct smart contract interaction from our site. 🛠️

In the meantime, we recommend using https://contracts-ui.substrate.io/ as a temporary solution by following the next steps:

First, go to the main dashboard and copy the address where your contract was deployed.

copy address

Second, click the icon in the same row as your contract to download the Metadata file.

download metadata

Then, go to contracts-ui site and select the network where you deployed your contract.

select network

Click 'Add new contract' from the top left corner and then 'Use On-Chain Contract Address'

add new contract

Fill in the address field with the address you copied from the Polkadot Contract Wizard and upload the Metadata file you downloaded. Click 'Add Contract'.

fill fields

Now you are ready to interact with your contract!!

ready to interact