bandprotocol / cross-chain-hackthon

Challenges for the cross-chain hackthon 🔥
https://gitcoin.co/hackathon/cross-chain/
2 stars 1 forks source link

🌦 Build a Real-world Connected DApp using Band Protocol’s Built-in Oracle Scripts over Cosmos IBC #3

Open smiled0g opened 4 years ago

smiled0g commented 4 years ago

Prize Title

Build a Real-world Connected DApp using Band Protocol’s Built-in Oracle Scripts over Cosmos IBC

Prize Bounty

$2000 in BAND

Challenge Description

Band Protocol allows developers to create a custom data oracle script to define their data sources and aggregation method to suit their respective needs. This enables decentralized applications to tap into high-quality data sources and aggregate data points into a single deterministic value without sacrificing security and decentralization.

The challenge is to create a decentralized application connected to the real-world using one or more of the following built-in oracle scripts on BandChain:

If you wish to access data from other external APIs, please reach out to the Band Protocol team who will assist you in building a custom oracle script to suit your use-case.

Leverage the flexibility and customizability of BandChain to create a dApp or protocol that is connected to the real-world. Here are some suggestions:

Submission Requirements

Submissions must:

Submission Deadline

May 11th, 23:59:59 UTC

Judging Criteria

The prize will be awarded to the submission that produces the:

Winner Announcement Date

May 18th, 2020

gitcoinbot commented 4 years ago

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


This issue now has a funding of 4000.0 BAND attached to it.

tpscrpt commented 4 years ago

"The challenge is to create a decentralized application connected to the real-world using one or more of the following built-in oracle scripts on BandChain:

Random Number Generator

"

What is the address of the number generator on Kovan? Discord invalid btw.

kelonye commented 4 years ago

@JeremiGendron Here are all the scripts available for the hackathon http://ibc-hackathon-scan.bandchain.org/oracle-scripts. I believe one needs to reference the script by the ID e.g. how gold(3) was referenced here: https://github.com/bandprotocol/goldcdp/blob/ad62425b4efcf19664678aa38c6a806bc54f756c/x/goldcdp/handler.go#L48

kelonye commented 4 years ago

So from my understanding, no ethereum contracts here i.e. one needs to build a custom cosmos-based blockchain that interfaces with other cosmos-based blockchains (including the bandchain one at 54.169.14.201:26657) via ibc.

tpscrpt commented 4 years ago

Alright, that makes sense. Thank you so much for the response!

On Tue, Apr 21, 2020 at 9:26 PM vbstreetz notifications@github.com wrote:

@JeremiGendron https://github.com/JeremiGendron Here are all the scripts available for the hackathon http://ibc-hackathon-scan.bandchain.org/oracle-scripts. I believe one needs to reference the script by the ID e.g. how gold(3) was referenced here: https://github.com/bandprotocol/goldcdp/blob/ad62425b4efcf19664678aa38c6a806bc54f756c/x/goldcdp/handler.go#L48

— You are receiving this because you were mentioned. Reply to this email directly, view it on GitHub https://github.com/bandprotocol/cross-chain-hackthon/issues/3#issuecomment-617471040, or unsubscribe https://github.com/notifications/unsubscribe-auth/AFT6UZKU3Q3NVQ2YE637GYDRNZBVLANCNFSM4MKATDOA .

gitcoinbot commented 4 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 1 year, 9 months ago. Please review their action plans below:

1) vbstreetz has started work.

Develop a betting game(s) comprised of a cosmos blockchain with relayers to the gaia and band (ibc) testnets, and an intuitive React frontend. 2) craze3 has started work.

I will use oracle's to access API data & use that to create a novel dApp. 3) victaphu has started work.

Note this is the first time I've done this, so I'm not sure if my plan submission is correct, buzz me if this is wrongly formatted. Also note my UI is gonna look rather plain...

  1. 2 UI, 1 for buyer and 1 for seller. - Negotiations page Buyer: place an RFQ on the open market for the purchase of certain goods (item) with a contract agreement. RFQ end date specified and acceptance of any submission terms; including payment schedule (e.g. net 30) and payment option (accepted crypto against an accepted stable-coin) Page 1: UI will allow issuing RFQ, and viewing responses, and accepting RFQ based on negotiated terms (which can be back/forth between buyer and seller(s)) Seller: issues an RFQ response to buyer along with volume discounts based on tiered purchases and the accepted stable-coin Page 1: UI will allow viewing and indicating interest and negotiating terms (crypto accepted, payment schedule, volume discounts)
  2. UI for viewing and signing Master Service Agreement and signature for agreement to MSA by buyer and seller
  3. UI for purchase order issuance Once MSA is in place Buyer issues a purchase order to seller (creating new contract) linked to MSA for purchase of X amount of goods.
  4. UI for viewing PO and accepting and issuing Invoices Once PO received, Seller dispatches the goods and issues invoice Buyer can see their current amount of crypto and the pegged stable-coin for contract agreement. At any point they can swap their crypto holdings to the base accepted stable-coin (Band Chain to show these values). Use Bandchain to determine the exact amount to swap in the smart contract.
  5. UI for workflow on each step Shared UI between buyer and seller to track goods delivery and payment pending as well as escrowed amount
  6. UI for seller to update the current status of the goods in transit to move the workflow forward
  7. UI for buyer to acknowledge receipt of goods. Upon acknowledgement of receipt of goods, buyer will pay into Smart contract the amount that is owed to the seller and can do so up to the date of agreement (e.g. net30). The Smart Contract will hold the stable coin and the seller can redeem full amount once the contract is paid in full Buyer can transfer crypto-assets to the Smart Contract, which will use the Band api and match it to any open orders on the market to convert it to the target crypto. Once a contract is paid in full the Seller can redeem the amount owed.

For simplicity: Crypto market is assumed to always be fulfilled by any request from the buyer (in the future this could be a pending market that is dynamic) No validation from external or trusted parties that the workflow events are accurate. In reality this would be an integration between the parties that do the trade No reputation mechanism, and dealing only with happy path (what happens if buyer doesn’t pay?)

Extensions: Integrate with external markets Buyer can offer the net30 contract on the market for speculative investing Seller can offer the contract on the market for letter of credit style borrowing so they can finance the purchase order and transfer invoice to a third party Integration with potential insurance / brokerage 4) azizyano has started work.

this is my first hackathon and the first thing for me is to learn. I want to build a Dapp that users can create their own randomizer guitar note music using cosmos blockchain 5) x5engine has started work.

I can build something very interesting and make use of the Band built oracle scripts 6) freemanjackal has started work.

Simple Lottery app consuming random numbers from band oracle

Learn more on the Gitcoin Issue Details page.

gitcoinbot commented 4 years ago

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


Work for 4000.0 BAND (2080.8 USD @ $0.52/BAND) has been submitted by:

  1. @vbstreetz
  2. @conglt10
  3. @sprect8
  4. @freemanjackal

@smiled0g please take a look at the submitted work:


gitcoinbot commented 4 years ago

⚡️ A tip worth 2000.00000 BAND has been granted to @vbstreetz for this issue from @smiled0g. ⚡️

Nice work @vbstreetz! Your tip has automatically been deposited in the ETH address we have on file.

gitcoinbot commented 4 years ago

⚡️ A tip worth 166.67000 BAND has been granted to @sprect8 for this issue from @smiled0g. ⚡️

Nice work @sprect8! Your tip has automatically been deposited in the ETH address we have on file.

gitcoinbot commented 4 years ago

⚡️ A tip worth 166.67000 BAND has been granted to @conglt10 for this issue from @smiled0g. ⚡️

Nice work @conglt10! Your tip has automatically been deposited in the ETH address we have on file.

gitcoinbot commented 4 years ago

⚡️ A tip worth 166.67000 BAND has been granted to @freemanjackal for this issue from @smiled0g. ⚡️

Nice work @freemanjackal! Your tip has automatically been deposited in the ETH address we have on file.

gitcoinbot commented 4 years ago

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


This Bounty has been completed.

Additional Tips for this Bounty: