Web3 Button

This button can run any function on any smart contract deployed with thirdweb.

First, it ensures you have a connected wallet and are on the correct network.

Drag and drop an image here to upload it!

Code Snippet

const [file, setFile] = useState();
export default function Home() {
// The contract address
// Access the contract itself, perform any action you want on it:
action={async (contract) =>
name: "Hello world!",
// Image can be a File, or any url that points to a file.
image: file,
description: "Your awesome NFT",
Mint NFT