This monorepo contains the packages and applications involved in the Zero Knowledge NFT (zkNFT) standard.
- frontend: The main web application for minting and viewing zkNFTs.
- stake-frontend: A web application for staking zkNFTs.
- api: A backend API service that builds zkNFT related transactions, simplifying frontend integration with the protocol.
- zk-nft: Contains the Solana program for zkNFTs and the zkNFT staking program.
- sdk: An autogenerated TypeScript SDK for the api.
- Entry point:
apps/frontend/src/app/page.tsx
- Key features:
- Mint zkNFT section
- Display user's ZK NFTs
- Entry point:
apps/stake-frontend/src/app/(app)/layout.tsx
- Key features:
- Staking interface for zkNFTs
- Entry point:
apps/api/src/index.ts
- Configured to run as a Cloudflare Worker
- Main program file:
packages/zk-nft/programs/zk-nft/src/lib.rs
- IDL (Interface Definition Language):
packages/zk-nft/target/idl/zk_nft.json
- Main program file:
packages/zk-nft/programs/zk-nft-staking/src/lib.rs
- IDL (Interface Definition Language):
packages/zk-nft/target/idl/zk_nft_staking.json
- Client generation script:
packages/sdk/generate-client.sh
- Generated client entry point:
packages/sdk/client/index.ts