manifold-nft-minting
4
总安装量
4
周安装量
#51712
全站排名
安装命令
npx skills add https://github.com/manifoldxyz/manifold-ai --skill manifold-nft-minting
Agent 安装分布
opencode
4
gemini-cli
4
github-copilot
4
codex
4
kimi-cli
4
cursor
4
Skill 文档
Manifold NFT Minting Skill
Build custom NFT minting experiences using @manifoldxyz/client-sdk.
References
Load lazily â only when the current step needs them. Never load all at once.
| Reference | When to Load |
|---|---|
getting-started.md |
First SDK setup in any project |
product-types.md |
Working with Edition vs BlindMint products |
purchase-flow.md |
Implementing preparePurchase â purchase |
transaction-steps.md |
Multi-step transactions, ERC-20 approvals |
adapters.md |
Setting up wallet + provider adapters (ethers5/viem/wagmi) |
product-data.md |
Querying status, allocations, inventory, rules |
error-handling.md |
Error codes, pitfalls â always load before writing purchase code |
networks.md |
Multi-chain setup or non-mainnet deployments |
react-minting-app.md |
Building a React/Next.js minting page |
minting-bot.md |
Building a headless minting bot |
studio-setup-guide.md |
User needs to create a Manifold campaign first |
full-docs.md |
Fallback only â 128KB complete SDK docs with TOC for grep |
Workflow
Follow in order. Ask questions â don’t assume.
Step 1: Check if they have a Manifold campaign
Ask: “Do you already have a Manifold product/campaign deployed with an instance ID?”
- No â Read
references/studio-setup-guide.md. Guide them through product type selection and Studio setup. Return when they have an instance ID. - Yes â Continue.
Step 2: Determine project context
Ask: “Do you have an existing project to add minting to, or building from scratch?”
Existing project:
- Ask their framework and wallet library (wagmi, viem, ethers v5)
- Read
references/getting-started.md+references/adapters.md - Match adapter setup to their stack â integrate, don’t scaffold
From scratch:
- Ask what they’re building:
- Web minting page â Read
references/react-minting-app.md - Server-side bot â Read
references/minting-bot.md - Data query script â Read
references/getting-started.mdonly
- Web minting page â Read
Step 3: Implement product interaction
- Read
references/product-types.mdâ use type guards (isEditionProduct,isBlindMintProduct) - Read
references/product-data.mdâ status, allocations, metadata display - Read
references/purchase-flow.mdâ two-step prepare â purchase - If ERC-20 pricing â also read
references/transaction-steps.md
Step 4: Error handling
Always before finalizing:
- Read
references/error-handling.mdâ ClientSDKError handling + common pitfalls - If multi-chain â read
references/networks.md
Rules
- Never fabricate SDK method signatures or field names. Verify against references.
- Always use type guards before accessing product-specific methods.
- Always check
getStatus()before purchases. - Use
preparePurchaseâpurchasefor simple flows. Manualstep.execute()only for granular UI control. - Never hardcode chain IDs â use configuration.
- Never commit private keys â use environment variables.
- Verify code against official docs at docs.manifold.xyz/client-sdk.
- For issues beyond SDK scope â Manifold Help or Forum.