Persistence is an NFT minting protocol that utilizes onchain filesystems to create generative media with onchain dependencies.
FixedPriceTokenEach 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.TokenFactoryFactory contract allowing you to easily + for a low gas transaction create your own generative art contract.HTMLRendererA flexible html renderer that allows for generative scripts with external dependencies like p5.js and three.js to be rendered fully on chain.ObservabilityA single contract for all events to make data processing easier.ETHFSAdapterA file system adapter that allows reading of ETH FS dataMathCastlesAdapterA 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 installgit submodule init && git submodule updateyarn build