- Create a button in Webflow / Wordpress
- Assign it an HTML ID
connect
in button settings. Guide for Webflow - Create a Custom Code block in Webflow / Wordpress
- Copy & paste this code in the custom code block:
<script>
// Change to custom button ID, starting with # (optional)
window.buttonID = "#connect"
</script>
<script src="https://cdn.jsdelivr.net/npm/web3@latest/dist/web3.min.js" />
<script type="module" src="https://buildship-dev.github.io/metamask-button-webflow/wallet.js" />
- Done! "Connect MetaMask" button is working!
Check out free minting widget for Webflow/Wix/Tilda: https://github.com/buildship-dev/webflow-nft-components
If you want to allow minting on your NFT website and can't code, reach out to us via https://buildship.xyz. If you can code, check out https://github.com/buildship-dev/nft-contracts