onchain art
on base
is the gwei
A collection of 2,000 NFTs, each randomly generated and distinctly determined at the time of minting. Stored entirely onchain, including images and metadata.
About
Leaning on the amazing CC0 art of the Tiny Dinos, Based OnChain Dinos launched on January 8th 2024 on the Base network. The collection sold out in less than 6 hours. 2,000 unique OnChain Dinos were born. Each Dino lives entirely on the Base blockchain. This includes their visual representation and metadata. Each Dino was priced at 0.0025 ETH per NFT with an allocation of free minting for Tiny Dino holders.
Apex, a developer in the Base ecosystem since its inception in August 2023, was the driving force behind bringing the entire collection to life. With a rich history in blockchain projects dating back to 2021, Apex's expertise and passion have been instrumental in the creation and success of the Based OnChain Dinos collection.
Links
Some useful links to help you explore Based OnChain Dinos.
FAQ
Why launch on Base?Base was an easy home for the Based OnChain Dinos. Since Base's launch in August 2023, the layer 2 platform has seen massive adoption over the last few months. More and more builders are developing on-chain solutions for the next billion of users Coinbase plans to onboard to its premier Blockchain Built on the OP Stack.
What is Fully OnChain?OnChain NFTs represent a significant advancement in digital asset security and permanence. Unlike their OffChain counterparts that depend on external sources for storing data, OnChain NFTs like Based OnChain Dinos keep all their information, including images and metadata, directly on the blockchain. This method ensures complete immutability and independence from external hosting platforms, safeguarding the NFTs against external server changes or downtime. The inherent stability and self-containment of OnChain NFTs offer a more reliable and enduring form of digital ownership compared to OffChain NFTs, which may be vulnerable to external risks.
Mechanics
PNG to SVG to OnChainThe transformation of Tiny Dinos from PNG to SVG and ultimately to Based OnChain Dinos was a meticulous process. Initially, each Dino trait in PNG format was converted into SVG, a vector format ideal for blockchain integration. SVG is preferred because it uses code to create and display images, allowing for efficient blockchain storage. This process involved the use of node.js scripts along with manual adjustments to ensure each trait was accurately represented in the SVG format.
Saving Traits against a TokenIDEach Dino's traits are uniquely tied to a specific TokenID within the smart contract. This structuring allows for the association of particular traits with each NFT. The process involved creating a struct in the smart contract that included various trait categories like body, chest, eye, face, feet, head, and spike. The number assigned to each trait within this structure corresponds to its position in the trait data array, thereby linking each trait with the appropriate TokenID.
Randomly Assigning Traits during MintingDuring the minting process, traits were assigned to each Dino in a randomized manner. This was achieved using a cumulative weighting system, which allowed for the control of trait rarity.
Each trait category had a probability array, ensuring that the distribution of traits was not only random but also balanced in terms of rarity. This method ensured a diverse collection of Dinos, with some traits being rarer and more unique than others.
Pseudo-randomness OnChainThis randomness was achieved using the keccak256 function in Solidity, which generated a random seed based on the last block hash and the token's ID.
These seeds were then used to select traits for each category, ensuring a random but controlled assignment of traits. The use of pseudo-randomness added an element of unpredictability and excitement to the minting process, making each Dino distinct and collectible.
Dino Eggs
Based OnChain Dinos boast Eggs, a core source of value that is entirely on-chain. Want to see how many yours is packing? Head over to OpenSea or use the Egg Bot cooked up by the brilliant Apex on Discord.
Each Dino started with a random supply of eggs between 0 and 999. For a long time, the eggs were a mystery, and many users spent weeks on Discord trying to figure out the meaning and purpose of the eggs. The mystery was solved. A large airdrop of 540 $RAWR (10% of the supply) took place, split between 458 OnChain Dino owners. The airdrop amount was divided by the number of eggs you hold.
Congenial artist Pinkyblu created the egg graphics using the Based OnChain Dinos visual style guide. She succeeded perfectly. In the spirit of the CC0 art of the Tiny Dinos, Pinkyblu allowed us to share her art with the world. Creative Commons Zero (CC0)allows anyone to use Dino Eggs however they want.
Dino Poker - ERC404
A fully onchain ERC404 build centered around Poker and the Based OnChain Dinos art. Using the mechanics of ERC404 you can instantly swap your card for another in the LP pool via the burn and remint feature.
- $RAWR — ERC404 Token launched on Base
- Total Supply - 5,400 Cards (100 Decks of cards — 54 card deck)
- CA: 0x469FdA1FB46F...
- LP (Uniswap V3) Locked via smart contract
Learn more about Dino Poker: $RAWR — What even is an ERC404?