Coder Social home page Coder Social logo

themrrage / webflow-nft-components Goto Github PK

View Code? Open in Web Editor NEW

This project forked from artgenexyz/webflow-nft-components

0.0 0.0 0.0 590 KB

Connect web3 to Webflow without coding skills

Home Page: https://buildship.dev

JavaScript 80.39% HTML 18.72% Shell 0.45% CSS 0.43%

webflow-nft-components's Introduction

Webflow NFT widgets

Connect web3 to Webflow without coding skills required.

Lazy mint on Webflow

Check out our ready-to-use minting website template: https://textapes.art

Contact us to get this Webflow template & create your Opensea-independent NFT collection

How to use?

  1. Open Webflow website editor
  2. Create a new Embedded HTML code block (at least Basic site plan required)
  3. Copy & paste this code in Webflow Embed block
<script>
   CONTRACT_ADDRESS = "<your contract address here>"
   NETWORK_ID = 1
   MAX_PER_MINT = 20
</script>
<script src="https://nftcomponents.vercel.app/static/js/main.js"></script>
<link href="https://nftcomponents.vercel.app/static/css/main.css" rel="stylesheet">
  1. If you have your Ethereum NFT contract, insert your contract address in CONTRACT_ADDRESS field. If you don't, contact us.

Your contract should be verified on Etherscan. Otherwise you have to add CONTRACT_ABI = ... line in the above code, replaced with your contract ABI

  1. Create a button with ID mint-button to your Webflow site.
  2. You're done ๐ŸŽ‰

Example for testing

<script>
   CONTRACT_ADDRESS = "0x8Fac2e25DFF0B248A19A66Ae8D530613c8Ff670B"
   IS_TESTNET = true
   MAX_PER_MINT = 20
</script>
<script src="https://nftcomponents.vercel.app/static/js/main.js"></script>
<link href="https://nftcomponents.vercel.app/static/css/main.css" rel="stylesheet">

FAQ

I'm confused / it's not working, can you help me?

Yes, absolutely! You can contact us at https://buildship.dev, or open a GitHub issue

How to add "Connect wallet" button?

Mint button will ask to connect wallet, so it's not necessary to add a "Connect wallet" button.

If you still want to do it, create a Webflow button with ID connect.

How to add minted counter?

Just create two text elements and assign them:

  • minted-counter ID to display minted number
  • total-counter ID to display collection size

How to use this with Polygon, Binance, or other Ethereum-based networks?

It's easy! Change NETWORK_ID in the code snippet:

  • Ethereum Rinkeby Testnet: NETWORK_ID = 4
  • Polygon NETWORK_ID = 137
  • Binance NETWORK_ID = 56
  • For others visit: https://chainlist.org/

How to style minting dialog?

See the example here

If you need help with this instruction or your want to deploy your NFT contract, contact us at https://buildship.dev

webflow-nft-components's People

Contributors

theshadowagent avatar caffeinum avatar frynze avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.