This is a DecentSDK + RainbowKit + wagmi + Next.js project bootstrapped with create-rainbowkit
.
The purpose of this repository is to get you up & running quickly with the Decent SDK (@decent.xyz/sdk). The primary functionality demonstrated in this repo is the ability to deploy Decent's 721A smart contract and fetch the address. The deployment function used here can be copied to launch each of the other contracts included in the SDK. This repository also demonstrates the Metadata Renderer module.
First, install dependencies using npm (note: yarn add
has reported mixed results):
npm i
Then, run the development server:
npm run dev
Open http://localhost:3000 with your browser to see the result.
You can start editing the page by modifying pages/index.tsx
. The page auto-updates as you edit the file.
To learn more about this stack, take a look at the following resources:
- DecentSDK Documentation - Learn more about Decent's contracts and capabilities.
- RainbowKit Documentation - Learn how to customize your wallet connection flow.
- wagmi Documentation - Learn how to interact with Ethereum.
- Next.js Documentation - Learn how to build a Next.js application.
Check is out & let us know what you think! The DecentHQ represents a full implementation of the protocol. It is built using the latest version of the Decent SDK (@decent.xyz/sdk) and will reflect all capabilities. Check it out if you're looking for inspiration. Your feedback and contributions are welcome!
The easiest way to deploy your Next.js app is to use the Vercel Platform from the creators of Next.js.
Check out the Next.js deployment documentation for more details.