| FazBrowse GitHub Viewer | Trending | | Home |
| Tools: [Download Repo ZIP] [Original HTTPS Page] |
| Name | Name | Last commit date | ||
|---|---|---|---|---|
parent directory.. | ||||
Create a project using this example:
npx create-tw-app --example next-javascript-starterYou can start editing the page by modifying pages/index.js. The page auto-updates as you edit the file.
On pages/_app.js, you'll find our ThirdwebProvider wrapping your app, this is necessary for our hooks to work.
on pages/index.js, you'll find the useMetamask hook that we use to connect the user's wallet to MetaMask, useDisconnect that we use to disconnect it, and useAddress to check the user's wallet address once connected.
To learn more about thirdweb and Next.js, take a look at the following resources:
You can check out the thirdweb GitHub organization - your feedback and contributions are welcome!
For any questions, suggestions, join our discord at https://discord.gg/thirdweb.
| Back | FazBrowse Home | New Git URL |