- Home
- Skills
- Web3 & Crypto
- pow-mint-nft-template
Pow Mint Nft Template
Traditional NFT drops rely on centralized randomness or allowlist lotteries that users often distrust.
$10
pow-mint-nft-template
Example session with this skill installed
Deploy a PoW NFT contract named 'TestUnits' with symbol 'TUNIT', 1000 supply, 20-bit floor, and tiers at 24, 28, and 32 bits. Use a 0.0001 BNB base fee.
- Read your context and instructions
- Compiled the pow-mint-nft-template
The NFT contract has been prepared for deployment on BNB Chain. I have configured the constructor arguments based on your specifications, including the tier thresholds and supply caps.
NFT Deployment Package
// constructor-args: "TestUnits" "TUNIT" <OWNER_ADDR> 1000 5 20 100000000000000 24 28 32 500 500 0x0000000000000000000000000000000000000000 "ipfs://placeholder/"
// Deployment Command (Foundry)
// forge create contracts/PowMintNFT.sol:PowMintNFT \
// --rpc-url https://bsc-dataseed.binance.org \
// --private-key $PRIVATE_KEY \
// --constructor-args "TestUnits" "TUNIT" 0xYourAddress 1000 5 20 100000000000000 24 28 32 500 500 0x0000000000000000000000000000000000000000 "ipfs://placeholder/"
Configuration Summary
| Parameter | Value | Description |
|---|---|---|
| Max Supply | 1000 | Total units available to mint |
| Min Bits | 20 | Minimum work required (approx. 10s) |
| Tier 1 (Uncommon) | 24 bits | ~3 minutes of work |
| Tier 2 (Epic) | 28 bits | ~45 minutes of work |
| Tier 3 (Legendary) | 32 bits | ~12 hours of work |
| Base Fee | 0.0001 BNB | Starting price per unit |
Next steps
- Verify Source: After deployment, use Sourcify to verify the contract with
solc 0.8.24andvia-IRenabled. - Set Base URI: Use
setBaseURIto point the contract to your metadata API before opening the mint. - Open Mint: Execute
setMintOpen(true)to allow users to begin submitting PoW nonces.
Connects securely to your tools. The creator never sees your data.
About this skill
Traditional NFT drops rely on centralized randomness or allowlist lotteries that users often distrust. This skill provides a proof-of-work (PoW) minting system where rarity is earned through off-chain computation, ensuring a transparent and verifiable distribution of assets.
What it does
- Mining-based Rarity assigns tiers (Common to Legendary) based on the computational strength of a submitted nonce.
- On-chain Verification validates every proof using
keccak256to ensure the work matches the wallet and current mint count. - Configurable Economics supports per-wallet ladder pricing, royalty enforcement via ERC-2981, and optional free-quota gates.
- Tier Gating allows creators to lock high-value tiers behind total supply milestones to prevent early exhaustion of rare items.
- Reference Implementations include byte-for-byte verified sources for three live collections: OAGENT V2, FUIN ONI, and CHASTLE.
How it works
- Configure parameters by setting supply, floor difficulty (min bits), and tier thresholds in the constructor.
- Deploy the contract using Foundry or Remix with the provided optimized compiler settings.
- Verify the source on Sourcify to prove the immutability of the supply cap and royalty settings.
- Grind nonces using the included Python script to generate proofs for specific wallet challenges.
- Mint tokens by submitting the nonce and the calculated fee to the contract.
Frameworks & tools
The core contract uses Solidity 0.8.24 with OpenZeppelin 5.x. Deployment scripts are optimized for Foundry (forge/cast) and Remix. The off-chain grinder requires Python 3 and the pycryptodome library for Keccak256 hashing.
Why this beats prompting it yourself
Writing a secure PoW mint requires precise challenge rotation to prevent replay attacks and optimized hashing for on-chain gas efficiency. This template is derived from three production collections that have already handled real BNB transactions and successful mints. You avoid the trial-and-error of balancing tier difficulty that often plagues unverified implementations.
Use cases
- Fair Launch Collections where users earn rarity through compute rather than gas wars or luck.
- Agentic NFT Minting that requires autonomous agents to perform work before acquiring assets.
- Competitive Minting Events using crown races and prize reserves to reward the highest computational effort.
Known limitations
The template is not third-party audited. You must provide your own art and metadata hosting service. Rarity distribution depends entirely on your chosen bit thresholds.
How to use
- 1
Connect your agent to the Agensi MCP
Copy the prompt and paste it into Claude, ChatGPT, Cursor or any agent that supports MCP. It sets up the connection for you. Manual setup
- 2
Sign in to Agensi
Your agent shows a sign-in link. Sign in and click Allow.
- 3
Ask for what you need
Your agent loads this skill and uses it on your task. It always asks before buying a skill.
Reviews
No reviews yet
Be one of the first to try it. Every listed skill goes through the trust checks below.
Security scanned
Checked by our 8-point scan before listing
Fresh listing
Recently published to Agensi
Money-back guarantee
Doesn't do what its page promises? You get your money back.
Trust & safety
Security scan
Security scan passed 16 days ago
- Software
Python
Permissions
What's inside
Frequently Asked Questions
New in Web3 & Crypto
Find more skills like this on the Claude Skills Marketplace, the Codex Skills Marketplace and the Gemini Skills Marketplace, or browse Claude Skills for Web3 & Crypto.