All Projects → skogard → apebase

skogard / apebase

Licence: MIT license
Bored Ape Database

Projects that are alternatives of or similar to apebase

tenk
Template for making a NFT contract with a raffle of tokens
Stars: ✭ 32 (-70.91%)
Mutual labels:  ipfs, nft
nft-art-maker
NFT Art Maker - generates images and metadata files, packs them into IPFS CAR files, and uploads them using nft.storage. All from provided PNG layers.
Stars: ✭ 77 (-30%)
Mutual labels:  ipfs, nft
nft-website
NFT School: Community education platform for developers in the non-fungible token space.
Stars: ✭ 260 (+136.36%)
Mutual labels:  ipfs, nft
nftool
A suite of tools for NFT generative art.
Stars: ✭ 145 (+31.82%)
Mutual labels:  ipfs, nft
nft.storage
😋 Free decentralized storage and bandwidth for NFTs on IPFS and Filecoin.
Stars: ✭ 309 (+180.91%)
Mutual labels:  ipfs, nft
is-ipfs
A set of utilities to help identify IPFS resources on the web
Stars: ✭ 99 (-10%)
Mutual labels:  ipfs
Artion-Client
Client app for Artion, a global NFT marketplace on Fantom Opera.
Stars: ✭ 71 (-35.45%)
Mutual labels:  nft
web3.storage
⁂ The simple file storage service for IPFS & Filecoin
Stars: ✭ 417 (+279.09%)
Mutual labels:  ipfs
creaton
Decentralized content sharing platform.
Stars: ✭ 38 (-65.45%)
Mutual labels:  ipfs
proof-of-kyc
An NFT that proves you've gone through an identity verification process, powered by Stripe Identity.
Stars: ✭ 78 (-29.09%)
Mutual labels:  nft
inkdrop-app
InkDrop
Stars: ✭ 18 (-83.64%)
Mutual labels:  ipfs
nft-collection-generator
Generates images and metadata for a collection of NFTs.
Stars: ✭ 77 (-30%)
Mutual labels:  nft
js-threaddb
This project has been moved to https://github.com/textileio/js-textile
Stars: ✭ 13 (-88.18%)
Mutual labels:  ipfs
orbitdns
Distributed PKI based DNS
Stars: ✭ 23 (-79.09%)
Mutual labels:  ipfs
snes-punks
Real world example of a full-stack Ethereum web app for supporting minting of NFT's from a collection using Tailwind, NextJS an nes.css. Contracts are written in Solidity with the help of HardHat.
Stars: ✭ 43 (-60.91%)
Mutual labels:  nft
aletheia-app
Alethia peer to peer publishing platform
Stars: ✭ 46 (-58.18%)
Mutual labels:  ipfs
react-native-boilerplate
[DEPRECATED] A boilerplate app that shows creating, starting, and managing an IPFS peer using Textile's React Native SDK
Stars: ✭ 20 (-81.82%)
Mutual labels:  ipfs
Simple-Game-ERC-721-Token-Template
🔮 Very Simple ERC-721 Smart Contract Template to create your own ERC-721 Tokens on the Ethereum Blockchain, with many customizable Options 🔮
Stars: ✭ 83 (-24.55%)
Mutual labels:  nft
dungeons-and-dragons-nft
#chainlink #nft
Stars: ✭ 583 (+430%)
Mutual labels:  nft
in-web-browsers
Tracking the endeavor towards getting web browsers to natively support IPFS and content-addressing
Stars: ✭ 318 (+189.09%)
Mutual labels:  ipfs

Apebase

Bored Ape Database

apebase

Apebase is the entire 10,000 Bored Ape Yacht Club NFT Universe stored in a single Git repository. It's made up of:

  1. DB: The entire metadata database stored in a 6MB file
  2. IPFS: All IPFS files stored under ipfs folder without having to run your own IPFS node!

Try Demo

Stay updated on Twitter

Ask questions on GitHub


Why?

When you work with NFTs you often need to query some 3rd party API.

But if you think about it, you really don't need to rely on them for working with NFT assets (images, videos, files, etc.) and metadata (name, description, attributes, etc.). After all, they're all immutable!

With Apebase, you can simply download the entire NFT universe through a single git clone and work with it 100% locally and offline. Use it in your app as often as you want, for free, forever!.

  • No IPFS connection required
  • No Blockchain connection required
  • No 3rd party API required

How it works

  1. DB: The entire database is stored as a single immutable file at db. This file was constructed by crawling the Ethereum blockchain once (You only need to do it once, since NFT metadata are immutable!)
  2. IPFS: All IPFS files are stored under the IPFS CID name WITHOUT having to run an IPFS node. It's all in this Git repository under ipfs folder.

1. DB

Apebase stores all of the following metadata in a file and makes them queryable:

  • tokenId: Unique identifier for the NFT
  • tokenURI: The metadata token URI
  • metadata
    • image: IPFS image url
    • attributes: eyes, fur, clothes, hat, mouth, etc.

Here's what an example item looks like on Apebase:

{
  "metadata": {
    "image": "ipfs://QmYsWYyQL2rTykTb8a9erJ6cSRRLqpC1sk3NE7n6SbgAaJ",
    "attributes": [
      {
        "trait_type": "Mouth",
        "value": "Bored"
      },
      {
        "trait_type": "Background",
        "value": "Aquamarine"
      },
      {
        "trait_type": "Hat",
        "value": "Girl's Hair Short"
      },
      {
        "trait_type": "Eyes",
        "value": "Scumbag"
      },
      {
        "trait_type": "Clothes",
        "value": "Biker Vest"
      },
      {
        "trait_type": "Fur",
        "value": "Black"
      }
    ]
  },
  "id": "3478",
  "uri": "ipfs://QmeSjSinHpPnmXmspMjwiXyN6zS4E9zccariGR3jxcaWtq/3478",
  "transactionHash": "0xaca36dfb1f6806c39f6b45f2c6e37c6ab7331691e6c42725f2f0a0ba23d7c4d9",
  "blockHash": "0x5142d5a61ebf5c5942c08ca17f0b42b62879be66bf7d951b97548efef648ef4d",
  "blockNumber": 12346921,
  "_id": "002DtMlJBly663jG"
}

Best of all, all this is 100% verifiable and immutable, so you can feel free to use this without worrying about authenticity!

2. IPFS

Apebase also lets you access all IPFS files WITHOUT running an IPFS node!

Simply clone this git repository and it contains all 10,000 IPFS files for the Bored Ape Universe! (See ipfs)


Quickstart

This repository contains the entire Apebase query engine web app at https://ape.offbase.org. Let's try it out.

First, clone the repository for the ape query app (at https://github.com/skogard/apequery):

git clone https://github.com/skogard/apequery.git

Next, install and start the server:

npm install
npm start

Finally, open the explorer at: http://localhost:3010

You will see the following screen:

apequery

You can also try the online demo here: https://ape.offbase.org


Usage

1. Download

Simply clone this repository to get started!

git clone https://github.com/skogard/apebase.git

2. Use

The DB is stored as NeDB, a file based database that implements MongoDB queries.

Once you've downloaded the repository, you will find the following:

  1. DB: At db
  2. IPFS FILES: Under ipfs

To query the DB, use the NeDB library. First install the nedb module:

npm install nedb

And then just use it!

const Datastore = require('nedb')
const db = new Datastore({ filename: './db', autoload: true });
const query = {
  "metadata.attributes": {
    "$elemMatch": {
      "trait_type": "Clothes",
      "value": "Striped Tee"
    }
  }
}
db.find(query, (err, docs) => {
  console.log("docs = ", docs)
})

FAQ

Interested in seeing this for other NFTs?

I'm thinking of open sourcing the engine that created the Apebase if enough people are interested. Let me know!

You can find me at @skogard

Note that the project description data, including the texts, logos, images, and/or trademarks, for each open source project belongs to its rightful owner. If you wish to add or remove any projects, please contact us at [email protected].