This repo serves as a sandbox for smart contract experiments on the cardano blockchain. Each file represents an idea for a self contained contract, along with unit tests and usage examples.
Lock a utxo at a script address that only a specified beneficairy can unlock, after a given deadline
Allow a user to list an NFT for sale, that can be bought by other users as long as they pay the seller the required price. The seller can cancel their sale if the NFT has not been sold.
Minting policy to allow (inifite, and centralized)minting of a native token called ZingCoin
Zingcoin except with the script constants applied to the compiled code, by Lucid.
A time locking parameterized minting policy to allow minting of custom NFT's
WIP - Minting policy that is not timelocked but instead governed by a thread token
3 scripts required:
- thread policy
- parameterized by a utxo, immutable
- mints thread token
- thread validator
- governs spending of the thread token
- verifies correct consumption and returning of the thread token
- nft policy
- policy to mint the actual nft
- verifies params are correct
wip - List an NFT for raffle, users buy entries to win the token, a winner is drawn and the NFT is claimed by the winner.
cd /app/plutus-pioneer-program python3 -m http.server -d docs/plutus-docs/haddock/