How to make an NFT Minting button on a website with no-code
If you have created your own NTF collection, then you will certainly face the problem of creating a website where buyers can replace NTF from your collection.
Below I will give several options for how to create an NTF Minting Button for your website.
1. The easiest and most convenient option is to use a ready-made website or widget from WeBill.io
Minting button for NFT
Get MetaMask and Wallet Connect NFT Minting button for Webflow for free
After filling out the form on the WeBill website, you will receive a link by clicking on which users can easily mint NFT by authorizing through any wallet such as WalletConnect, MetaMask, or Rainbow.
You only need to paste this link into the “Mint” button on your website or use this page instead of the website.
On the plus side, after the purchase, users will see a convenient sharing function on Twitter, which makes your collection more popular.
Also, if you don’t want buyers to go to a third-party site, you can install a custom widget right on your Webflow site.
Go to the WeBill community on Discord
2. You can install the library from Buildship
GitHub - buildship-dev/mint-NFT-template
⚠️ WARNING: This code is not longer supported, the new one is here…
How to use it?
- Open Webflow website editor
- Create a new Embedded HTML code block (at least Basic site plan required)
- Copy & paste this code in the created block. If you already have a deployed contract, insert your address, ABI, and website link
window.CONTRACT_ADDRESS = "<your contract address here>"
window.CONTRACT_ABI = "<your contract ABI here>"
window.WEBSITE_URL = "<your mint website URL here>"
<script type="module" src="https://buildship-dev.github.io/mint-NFT-template/connectWallet.js"></script>
<script type="module" src="https://buildship-dev.github.io/mint-NFT-template/contract.js"></script>
<script type="module" src="https://buildship-dev.github.io/mint-NFT-template/mint.js"></script>
- If you don’t have a deployed contract, contact us to deploy it
- Create a button with ID
Minting will work via Metamask wallet, and will ask to connect the wallet first, so you don’t need to add a “Connect wallet” button.