Open source Solana smart contracts developed and maintained by Garden Labs.
Full docs: developers.gardenlabs.com
field-authority-interface
- Description: Interface that works in concert with the Token Metadata Interface which allows field-based update authority.
advanced-token-metadata
- Description: Metadata program forked from the SPL example with the Field Authority Interface implemented.
- Program ID:
2GkHVZ2y5wP4nw4uA2GWFnc7jphfjKbbcEKwqMCV42a6
- Solana Verify Hash:
3ab29b35f23e9e14135753715953c2f2a1ee5df065ffc177c39d2589fb71e49e
holder-metadata-plugin
- Description: Program which acts as a field authority and checks token ownership before updating metadata.
- Program ID:
3DkEmKWuBJbza9ur1BnVVhXrzkuiMCqBuKHdoDBdLpxZ
- Solana Verify Hash:
a11a4b4090d11a1b50a2005b048ecbe37b84bf4c808198700babd0ca3a722341
ai-aliens
- Description: Example PFP NFT collection which uses the programs above to enable token holders to give their NFTs' nicknames.
- Program ID:
48MKwUN9uxxGrFCzXAV4kF5RPMVUyruLyYnapNynNtd4
- Solana Verify Hash:
81294793bddaeafbff5dd22af361eeb6ece5870caedd32877e82c0c8f2657ead
toolkit
- Description: Helpful generic instructions to add to Solana transactions for atomicity purposes.
- Program ID:
5HgftVXMq36xbvsuAd1wANdQnVTm9Zw7EQuXmke5Uqqw
- Solana Verify Hash:
512107c6322a30cd6588be6218649adf73d4e1eba5a8c2f87a075326219d6700
- Replace the
wallet
path inAnchor.toml
with the path to your system's wallet - Create
.env
file based on.env.example
- Run
npm run build
- Replace
METADATA_PROGRAM_ID_STR
inai-aliens/program/src/constant
with the generated program ID - Test on local validator with
npm run test:localnet
- Migrate
field-authority-interface
from PDAs to single TLV account model
This project contains multiple licenses. Refer to the innermost LICENSE document for each file. The top-level license is an open source Apache License.