21dao is a non profit organization supporting artists on Solana and 21dao.xyz is our first community driven project. 21dao.xyz aggregates live auction and secondary data from the top 1/1 marketplaces on Solana (Exchange, Holaplex, and Formfunction). Our 21api and community sample app are both open source.
Why we built it
We built 21dao.xyz to make it easier to discover new artists on Solana, empower other communities to feature their artists, and to give builders access to rich 1/1 data via 21api.
As it stands our site can be broken down into 3 main areas:
- Auction leaderboard
- Artist listing and live auctions/secondary listings for artists in the DAO
- An artist Gallery that fetches NFT's by creator address and then allows curating to create a gallery of all the artists work.
We are running the opensource solana-index from Holaplex to retrieve Holaplex auction and sales data
21dao-workers Our workers fetch the following data:
- Holaplex via the solana-indexer
- Exchange.Art via API
- Formfunction via API
21dao-api Our API serves the data collected by our workers and provides the backend for our artist gallery.
21dao-react The frontend is written in React and created using create-react-app and deployed as a static site.
Community Sample App:
community-sample-app This is a static React app that other communities can use to bootstrap their own site and provides Artist listings as well as live auction and secondary sales pages for community members.
For testing we suggest running the API with seed data and the frontend.
The API is an api only Ruby on Rails application.
- Install ruby 3.0.2
- Install bundler
gem install bundler
- Create database and edit
- Run db migrations
bundle exec rake db:migrate
- Seed the db
bundle exec rake db:seed
- Start the server
bundle exec rails s -p 3001
yarn run dev