SovrynBTC / sovrython-2021-bounties

Bounties on offer for sovrython.sovryn.app
Creative Commons Zero v1.0 Universal
3 stars 10 forks source link

data-science-api #9

Open exiledsurfer opened 3 years ago

exiledsurfer commented 3 years ago

API's

Prize Bounty

Challenge Description

The easier it is for third parties to connect to Sovryn, the better. Currently, the only API is the smart contract ABI. It would be great to see an easy-to-use API for querying our contract data. You can submit your solutions to both our Covalent and API3 partner bounties, and to this one.

Submission Requirements

What makes a submission complete?

Judging Criteria

Submissions will be judged by a panel of experts based on their technical merits as well as the likelihood of implementation in a manner adding to the functionality of the Sovryn Protocol / Platform.

Winner Announcement Date

Sunday, July 18th

Useful Links:

Sovryn Code Repo

gitcoinbot commented 3 years ago

Issue Status: 1. Open 2. Started 3. Submitted 4. Done


This issue now has a funding of 409.8361 SOV (12500.0 USD @ $30.5/SOV) attached to it.

gitcoinbot commented 3 years ago

Issue Status: 1. Open 2. Started 3. Submitted 4. Done


Work has been started.

These users each claimed they can complete the work by 3 days from now. Please review their action plans below:

1) developerinprogress has started work.

The idea is to bring the contract data in the blockchain to a postgresql database and build an API around it to let third parties query the database. The entire API will be put in a container and deployed in cloud. So, continuous synchronization of blockchain and the database can be done easily. Continuous synchronization in the sense, a program can continuously listen to events in the blockchain network and when a new block is added, it is automatically synchronized with the database. Only the relevant application data will be saved to database and those include: 1.) State variables that a user might find a need to query 2.) Arguments passed to functions during a function call that led to a state change. The two parameters mentioned above might change with updates to sovryn and even a new contract might be deployed in future whose data needs to be queried. So, those parameters will not be hardcoded, a separate configuration file will be used to specify the contract details, state variables and function arguments in the contracts that needs to be queried. And if time permits, Merkle proofs could be provided to validate the integrity of off-chain data stored in the database. 2) except-pass has started work.

A knowledge graph of the Sovryn protocol and all its transactions. A graph (nodes and relationships) between all the blocks, contracts, tokens, transactions, addresses, and events that make up the history of the Sovryn protocol. You can answer nearly any question that you want with a well crafted query.

Learn more on the Gitcoin Issue Details page.

gitcoinbot commented 2 years ago

Issue Status: 1. Open 2. Started 3. Submitted 4. Done


Work for 409.8361 SOV (4368.89 USD @ $10.66/SOV) has been submitted by:


gitcoinbot commented 2 years ago

Issue Status: 1. Open 2. Started 3. Submitted 4. Done


Work for 409.8361 SOV (4327.87 USD @ $10.49/SOV) has been submitted by:

  1. @except-pass

@exiledsurfer please take a look at the submitted work:


gitcoinbot commented 2 years ago

Issue Status: 1. Open 2. Started 3. Submitted 4. Done


The funding of 409.8361 SOV (4372.95 USD @ $10.67/SOV) attached to this issue has been approved & issued to @developerinprogress.