Skip to content
Crystara

Crystara

Next-Gen NFTs Marketplace and Blind Boxes Platform

Created on 28th January 2025

•

Crystara

Crystara

Next-Gen NFTs Marketplace and Blind Boxes Platform

The problem Crystara solves

Have you ever wanted a part of a large NFT project, but never had the funds to do so?
A @pudgypenguins NFT would rip 20.8 ETH out of your bags. Sure, large collectors win. What about everyone else?

What we're building at Crystara solves the issue of inclusivity by providing a system for creators, to create blind box collections that include FTs, SFTs and NFTs, powered by a unique rarity system with customizable chances for each tier of rarity.

Loyal community members of each collection are able to "roll" for their rewards. In Opensea context, you can mint an NFT. And it would purely be random. Theres no gamification, theres no excitement. Here on our platform, we introduce a spinner. Much like CS:GO Crates, purchasing a blind box will show a rolling animation! Powered by dVRF, the spinner will land on the token based on the verified random number, and give the reward to the user on Supra Blockchain.

What lootboxes does is allows you to price your NFT Collection at $1.99. Set a common "SFT" (Semi fungible token) where you can have limited mints (out of 999), or even unlimited mints, and then set them at 80% chance, then use your 10,000 NFT 1/1s as Legendaries, and put that as a 1% chance.
Now the community has to buy an average of 10000 * 100 lootboxes to get all the legendaries. And because of the chances, these legendary NFTs are as valueable as a non-blindbox NFT collection items that could be sold for >$500 per pop.
And you gain not only 10000s more unique holders to make them feel involved and expand your loyal community, but you also earn. Think of 10000 * 100 that is 1000000 purchases. with $1.99 a Box, that is $2Mil in revenue

In summary, the concept is win-win-win for the creator, the collector and bringing in the next wave of NFT users.

Challenges I ran into

There were countless challenges faced while building the project. Such as: Indexing, global edge caching, dVRF integrations, offchain data sync, JWT, and more. I'll talk about these indepth:

Indexing Blockchain Data:
Supra is a new chain, there are no available supra standards to get indexed data like i.e.: Tokens in a Collection, or who owns which tokens. As such, early into the hackathon (Day 4, Wk 1), I decided to build a custom fetch based Indexing system using an event poller. This poller fetches from a specified block height defined in .env, and will poll 10 blocks at a time via the Supra's REST-API and store data into a Postgresql DB on supabase. We'd then hosted the indexer software on a VPS in Frankfurt, and set our db location in Frankfurt as well to optimize latency. This indexing software was made public for other hackathon developers to adapt and it is a great resource for an early chain phase.

Global Edge Caching:
An NFT Platform requires extremely fast load times. The technology stack had to be planned for sustainable world-wide access. My frankfurt db's data had to be readable, and writtable on the edge. As well as images, they need to be loaded on the edge. Prisma ORM does not allow for edge compute unless purchase their overpriced accelerator plans. Cloudflare's hyperdrive came in clutch and we had to fully migrate our DB interactions (R/W) to Hyperdrive and it serves us well. Images are also stored on cloudflare's R2 object storage.

DVRF Integration:
Throughout the development, I realized an extremely big issue with the whitelist system for dVRF on Move chains which basically prevented it from being integrated into dAPPs, where users can call for a function that invokes rng_request. After much delibrations with our dev-rel, this was patched at the supra level.

Off Chain data sync:
Building custom URLs for each collection requires offchain data to be stored in our system. Syncing onchain data to offchain 1-1 is a complex task.

More in Docs

Tracks Applied (1)

Supra MoveVM Bounty

Crystara is the first NFT Marketplace built on Supra. We're leveraging the latest dVRF tech in a way that has never been...Read More

Discussion

Builders also viewed

See more projects on Devfolio