How to connect external smart contract to website builder

Published on
June 12, 2022
Published by

Connecting your domain

First, when you are editing your website, click on the gear in the top right hand corner. This will take you to the website settings.

Scroll down until you see Connected Contract. Click on the edit icon.

Next, select "Import Contract", you will be prompted to enter your smart contract address. Enter address and click next.

After you added your contract address, there will be a field that lets you drop in your contract ABI. The ABI can be found when you compile your smart contract. Once imported, clicking done will connect the minting website to your deployed contract.

Running functions from your smart contract

To run functions, you will need to go back to the main editing page of your website.

Click edit on a section you wish to have a minting button, scroll down to the section for editing your button, and click "Toggle mint".

Once you have done this, you can now choose a function from your connected contract to run. Currently, we only support running "mint" functions.

People also viewed...

Back to help center