# Dev subDAO: Grape.art Move from Solana RPC state fetching to Decentralized DB

**URL:** <https://dao.grapenetwork.org/t/dev-subdao-grape-art-move-from-solana-rpc-state-fetching-to-decentralized-db/932>\
**Category:** Bounty\
**Created:** [April 21, 2022, 10:49am UTC](https://dao.grapenetwork.org/t/dev-subdao-grape-art-move-from-solana-rpc-state-fetching-to-decentralized-db/932 "2022-04-21T10:49:51Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![its.kirk](https://yyz1.discourse-cdn.com/flex031/user_avatar/dao.grapenetwork.org/its.kirk/32/1023_2.png) [@its.kirk](https://dao.grapenetwork.org/u/its.kirk)\
**Post date:** [April 21, 2022, 10:49am UTC](https://dao.grapenetwork.org/t/dev-subdao-grape-art-move-from-solana-rpc-state-fetching-to-decentralized-db/932/1 "2022-04-21T10:49:51Z")

</div>

**Type:** ` Developer DAO`  
**Title:** ` Integration with a compatible decentralized DB`  
**Funding:** `Pre-Funded`  
**Max Reward (Create):**`20,000`  
**Max Reward (Complete):**`5,000 USDC`  
**Date Created:** `04/21/2022`  
**Date Complete:** `06/01/2022`  
**Restrictions/Implementation:** `https://ceramic.network`  
**Language:** `Typescript`

**Submission Instructions:**

> contribution to Grape GitHub repo [Grape Labs · GitHub](https://github.com/Grape-Labs) in specific [GitHub - Grape-Labs/grape-art: Grape Art | Social. Stateless. Marketplace. powered by Solana](https://github.com/Grape-Labs/grape-art)

**Description:**  
Integration/Migration for grape.art current on chain state structure to a decentralized database pool supporting larger datasets in order to efficiently query entire collections:

- Work on a localhost structure with a structure as per our current states in grape.art JSON should be:

```auto
GRAPE_ART = {
      state:1, // status (0: withdraw, 1: offer, 2: listing, 3: buy/execute (from listing), 4: buy/execute(accept offer), 5: cancel) // string
      ah:auctionHouseKey.toBase58(), // auctionHouse publicKey
      mint:mintKey.toBase58(), // mint publicKey
      amount:buyPriceAdjusted.toNumber() // price
    };

```

Additional information should be considered to be added including collection publicKey.

**Deliverable:**  
Accepted deliverable will be the successful integration and use of a localhost version of a decentralized database, a bounty will be created to launch this as a independent node for extended features

**Acceptance Criteria:**  
Quality is based on & Exceptional quality generally means:  
Compilable/Runnable Code which will not break any existing dependencies and integrations  
Grape.art states should be run in parallel for a period with the decentralized DB and then a full sunset of the older states will happen within 30 days of successful launch of a decentralized db
