Persistence is an NFT minting protocol that utilizes onchain filesystems to create generative media with onchain dependencies.
FixedPriceToken
Each generative artwork is a unique contract. This allows for clear ownership of the collection, opt in upgradability and your own contract. The FixedPriceToken implementation alllows you to sell your generative artwork for a fixed price during a fixed amount of time.TokenFactory
Factory contract allowing you to easily + for a low gas transaction create your own generative art contract.HTMLRenderer
A flexible html renderer that allows for generative scripts with external dependencies like p5.js and three.js to be rendered fully on chain.Observability
A single contract for all events to make data processing easier.ETHFSAdapter
A file system adapter that allows reading of ETH FS dataMathCastlesAdapter
A file system adapter that allows reading of the math castles library storage data
All drops contracts are wholly owned by their creator and allow for extensibility with rendering and minting. The root token contract and HTML renderer can be upgraded to allow for product upgrades and the factory gates allowed upgrade paths so users of the contract can opt into new features.
The html renderer allows these generative art contracts to import from a variaty of onchain libraries.
- Install Foundry
yarn install
git submodule init && git submodule update
yarn build