@nifty-island/forge
v0.0.18
Published
Forge wrappers and abis
Downloads
11
Readme
Nifty Island Forge
The Nifty Island Forge allows users to mint NFTs.
The mint function is callable by anyone, but callers are only able to mint tokens whose tokenId
is prefixed by the uint256 representation of their public wallet address. This constrains each user to a specific range of tokenId
s. The goal here is to enable permissionless mitning while preventing users from clobbering each others' content. We currently support ERC721 and ERC1155 tokens.
Our minting frontend initiates transactions against this contract, calling the mint
function directly. Users then approve the transaction, and the minting transaction is executed. The metadata for these minted NFTs is hosted externally.
Deployment
Deploying the forge is as simple as running
npx hardhat run scripts/deploy.ts --network <network-name>
after correctly setting the initial prefix uri in scripts/deploy.ts
and configuring your .env
file