Type: Developer DAO
Title: Add a Solana program on Mainnet for storing grape.art NFT states
Funding: Pre-Funded
Max Reward (Create): 20,000 Grape
Max Reward (Complete): 2,500 USDC
Date Created: 05/03/2022
Date Complete: 06/01/2022
Restrictions/Implementation: Reference https://github.com/solana-labs/solana-program-library/tree/master/memo
Language: Anchor/Rust/Typescript
Submission Instructions:
contribution to Grape GitHub repo Grape Labs · GitHub in a new repo “Grape-Art-States”
Description:
Build a Solana program to store the NFT states for grape.art (reference the Solana Memo program for a starting/boilerplate program) - the following schema will be saved and should be respectively queried per each object:
{
state:1, // status (0: withdraw, 1: offer, 2: listing, 3: buy/execute (from listing), 4: buy/execute(accept offer), 5: cancel)
ah:auctionHouseKey.toBase58(), // pk
mint:mintKey.toBase58(), // mint
amount:buyPriceAdjusted.toNumber() // price
updatedAuthority:updateAuthority.toBase58(), // mint
}
Deliverable:
Should be an open source program which will be tested on mainnet, it should be easy and efficient to query stored fields in the above schema by a single object i.e. query all updateAuthorities with the same publicKey (in base58/string)
Acceptance Criteria:
Quality is based on & Exceptional quality generally means:
Compilable/Runnable Code which will not break any existing dependencies and integrations on the existing repo, libraries may be updated and build can be updated as long as all existing functionality is compilable