Skip to content

spacebudz/ref-impl-cip68

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

6 Commits
 
 
 
 
 
 
 
 

Repository files navigation

Minimal implementation of CIP-0068

Concept

The minting policy is a one-shot policy. Only single NFT (pair of reference NFT and user token) can be minted. When deciding to burn the NFT the whole pair must be burned, otherwise the validator will throw an error. PlutusTx was used to create the on-chain code and Lucid for the off-chain part. It can be run in Deno and with a few modifications also in Node.js and Browser.

Api

  • mintNFT(assetName : string, metadata: Metadata)
  • burnNFT(assetName : string)
  • viewNFT(assetName : string)

Run

deno run -A offchain.ts

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published