sporeprotocol / spore-demo

A Spore Protocol Demo based on Next.js + React + Spore SDK
https://a-simple-demo.spore.pro
MIT License
3 stars 8 forks source link

Kill `spore-graphql` after rich-indexer is ready #35

Open ashuralyk opened 8 months ago

ashuralyk commented 8 months ago

Description

Since we met an operational barrier about using original ckb-indexer to search all of spore cells on CKB, Dawn prepared a graphql cache layer to cache spore cells into a native DB, and spore-sdk can just interact with this DB to get spore cells

I believe this graphql is a temporary operation to simplify the complicated work in spore-sdk, because the stability will rely on this middle-software

I've heard we are researching rich-indexer which is an extension for ckb-indexer to enable complex search of on-chain cells, so after then, we should kill this spore-graphql server and integrate rich-indexer just in our spore-sdk