Skip to content

About

Aiken Contracts for Double Spent NFT

Resources

Stars

0 stars

Watchers

1 watching

Forks

Latest commit

 

History

19 Commits

Folders and files

NameName
Last commit message
Last commit date
 
 
 
 
 
 

Repository files navigation

Double Spent

Double Spent Logo

Chasing 49% of infinity.

Participation is encouraged both early and late in lifecycle. The first % to mint can burn for profit ADA, while the last to mint is enticed with a growing pot of ADA locked behind a timer.

Using a series of Aiken smart contracts for managing treasury, marketplace, oracle, NFT minting and burning operations on the Cardano blockchain, this protocol is simple, automatic, deterministic, transparent, and censorship resistant.

Created by @unspent-tx

Overview

Name Description
🎮 User Actions Overview of how multiple contracts are used together. Quickly scan complete validation logic.
🕸️ Parameter Dependencies Visual representation of how contract parameters depend on each other across the waterfall.

Validators

Name Description
🖲️ Oracle NFT ⚙️ One-time minting policy creating a state thread token for game state.
🖲️ Oracle ⚙️ Manages game state and DS minting logic. Collection count increments, where fees get distributed to, how much things cost or unlock, etc.
🫀 DS NFT ⚙️ Minting policy for numbered NFTs using collection count as asset name.
🪺 Pot Spend ⚙️ Locks utxos for winner after timer.
🪺 Pot Withdraw ⚙️ Enforces winner payout rules.
💰 Treasury ⚙️ Locks utxos for DS burns.
🔀 Marketplace ⚙️ Facilitates peer-to-peer DS trading.

Run Tests

cd aiken-workspace

aiken check -m mint
aiken check -m burn
aiken check -m spend
aiken check -m withdraw

aiken check -m ds
aiken check -m oracle
aiken check -m treasury
aiken check -m pot

aiken check -m marketplace

Dependencies

  • Aiken Fuzz: v2.1.0
  • Aiken Language: v1.1.13
  • Aiken Standard Library: v2.2.0
  • Plutus: v3
  • Vodka: v0.1.11

License

This project is licensed under the AGPL-3.0 License - see the LICENSE.txt file for details.

About

Aiken Contracts for Double Spent NFT

Resources

Stars

0 stars

Watchers

1 watching

Forks

Releases

Packages

Contributors