8000 GitHub - thedonmon/pnfts-mint: Candy Machine v3 mint UI. Supporting the new asset standard "pNFT"
[go: up one dir, main page]
More Web Proxy on the site http://driver.im/
Skip to content

thedonmon/pnfts-mint

 
 

Repository files navigation

To setup a Candy Machine:

  • Create your Candy Machine using Sugar (now supports pNFTs)
  • Change token standard to pNFT: sugar config set -t pnft
  • Make sure you have setup your Candy Guard. This is a necessary step.

After these, you can use this UI to mint pNFTs.

Candy Guards supported

develop locally

  • yarn

  • Copy and fill the contents from the .env.template file into a .env file.

  • yarn dev

deploy

You can deploy to any provider but make sure you add the NEXT_PUBLIC_CANDY_MACHINE_ID environment variable. (Try Vercel)

contribute

You can build guards, or improve the UI, and your PR will be happily reviewed & merged.

Also, I'm accepting tips in SOL to keep improving this open-source project: 52zEuaG5VBQTzRP7MLMyEzSuKgYPF9E9dtaWrmXaiNkg

adding your own guards

  1. Follow this Link, find the test file of the guard you want to add, and check the necessary 'remaining accounts'.
  • For example, the TokenPayment needs two 'remaining accounts', as seen here
  1. Add your new guard to the mint helper, by adding a new function handler with the name of your guard, following the same pattern as the other guards. Alt text (this image shows the tokenGate handler, that returns one 'remaining account')

  2. Add the 'remaining accounts' necessary for your guard to work. Check the other guards to see how it is done.

  3. You're good to go, no additional steps are necessary.

About

Candy Machine v3 mint UI. Supporting the new asset standard "pNFT"

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • TypeScript 96.2%
  • CSS 3.0%
  • Other 0.8%
0