Giter Club home page Giter Club logo

makeswift-thirdweb-example's Introduction

Demo

https://makeswift-examples-thirdweb.vercel.app/

Visually build with Thirdweb components

In this example, you'll learn how to integrate thirdweb components from your Next.js app into Makeswift to make it visually editable.

Tools

  • React SDK: to enable users to connect their wallets with the useMetamask hook, and access hooks such as useNFTDrop to interact with the NFT drop contract.
  • TypeScript SDK: to view the claimed supply, total supply, and mint NFTs from the drop.
  • Makeswift SDK: to register components into Makeswift's visual builder.

Using this example

To quickly try this example either deploy to Vercel or use our CLI.

Deploy your own to Vercel

Deploy your own with Vercel

Deploy with Vercel

With your deployment completed, take a tour of the newly created store

Use this example locally with the Makeswift CLI

  1. Run the Makeswift CLI command

    npx makeswift@latest init --template=ecommerce-thirdweb

    Note: the --template=ecommerce-thirdweb above will auto-select the "Ecommerce - Thirdweb" template in Makeswift and download this example Next.js app to your local machine

  2. Log in or sign up for Makeswift

Once completed, the CLI runs yarn dev and redirects you to app.makeswift.com.

Take a tour of your web3 website

After integration, you will be redirected to app.makeswift.com. You can see the "NFT Drop" component on the right-hand side of the screen.

With the NFT drop component selected, paste your NFT drop contract address from Thirdweb into the "Contract address" panel and select the correct chain.

If you don't have an NFT drop contract, read this guide to learn how to create one using Thirdweb without any code.

If you are struggling with this example reach out in our Discord and we will be happy to help!


Next steps

With Makeswift, you can give your marketing team hand-crafted Thirdweb building blocks to create custom Web3 websites.

To learn more about Makeswift, take a look at the following resources:

You can check out the Makeswift GitHub repository - your feedback and contributions are welcome!

makeswift-thirdweb-example's People

Contributors

explorer-sanjita avatar

Stargazers

 avatar

Watchers

 avatar

Forkers

luvnft

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.