Marketplace to create, sell, and buy blockchain data SQL queries, powered by Chainbase.
Note: This project was completed as part of the Chainbase x DeveloperDAO Hackathon in October 2023.
PrimoSQL enables blockchain data analysts to own their SQL queries by storing them as NFTs, which can then be bought and sold with other analysts in the marketplace. The current problem in the blockchain analytics space is the platforms own the SQL queries analysts create and most queries are public by default. Chainbase is a natural fit to be the data provider for PrimoSQL because it keeps queries private by deafult.
- Chainbase - Blockchain data provider.
- thirdweb - NFT & Marketplace contracts and marketplace template.
- Polygon - Blockchain to store SQL query NFTs.
- shadcn & v0 - UI components.
- Next.js - Frontend framework.
Feel free to copy and edit into your own version, which you can do by forking/cloning this GitHub repo, then running the development server:
npm run dev
# or
yarn dev
# or
pnpm dev
# or
bun devNext, setup the environment variables in .env.local, using .env.example as a guide.
After that, open http://localhost:3000 with your browser to see the result.
Finally, deploy to Vercel.
Licensed under the MIT license.