Skip to content

Latest commit

 

History

History

Folders and files

NameName
Last commit message
Last commit date

parent directory

..
 
 
 
 
 
 
 
 
 
 
 
 
 
 

README.md

ContentMint

Content creation and NFT minting platform with royalties and limited editions on ProbeChain Rydberg Testnet.

Features

  • Create content entries with IPFS metadata and royalty settings
  • Mint limited edition NFTs from content entries
  • EIP-2981 royalty support (up to 25%)
  • Content versioning for updates
  • Configurable edition limits per content

Setup

npm install
cp .env.example .env
# Edit .env with your private key
npx hardhat compile
npm run deploy

Contract: ContentNFT

Function Description
createContent(contentHash, metadataURI, royaltyBPS) Register new content
createContentWithEditions(...) Register with custom edition limit
mintEdition(contentId, recipient) Mint an edition NFT
updateContent(contentId, newHash, newURI) Update content version
setRoyalty(contentId, newRoyaltyBPS) Update royalty percentage
setMaxEditions(contentId, newMax) Update edition cap
royaltyInfo(tokenId, salePrice) EIP-2981 royalty query

Network