oceanprotocol-archive / bounties

🎣 Bounties for Ocean Protocol
Apache License 2.0
11 stars 0 forks source link

Ocean bounty : Create a marketplace on Ocean Protocol (cont.) #14

Closed Anirudh2490 closed 4 years ago

Anirudh2490 commented 5 years ago

Ocean bounty : Create a front-end focused implementation of a marketplace on the Ocean Testnet

How can you help?

We invite you to create a marketplace on Ocean Protocol’s testnet! Here are some tutorials to get you started. Through this bounty, we want to encourage developers to make use of our javascript library, Squid.js, and build on top of Ocean and come up with new and interesting front-end implementations of marketplaces.

How does a marketplace on Ocean Protocol function?

A marketplace on the Ocean Protocol is a service where publishers can list the assets (data sets) available to them, which they consider have value, and consumers interested in this asset can see what’s available and purchase it. We have different components that make up the marketplace. You can get to know everything about how marketplaces on Ocean function by going through our core concepts

What type of marketplaces can you build?

Here is a use case for a marketplace idea that can get you started on thinking about what to publish on a marketplace

Setup a Data Cleaning Service Marketplace- You as a data scientist, would like to offer specialised expert data cleaning services to other organizations. You wish to obtain the data for cleaning and publish the cleaning data results using Ocean. You can consider setting up a marketplace to offer your services on. Other similar data scientists would also like to join your marketplace and offer similar services once the reputation of the marketplace is established.

These are just one such marketplace idea. Feel free to come up with similar ideas and use cases. You can bounce off your ideas with us on Gitter before you start implementing them!

Some of the domains that we would like to see interesting marketplace implementations include (but not limited to)

Some other ideas

How to start setting up a marketplace?

Here are the materials that you need to get started

Before you start building

Before you start building, you should reach out to us through either a Github comment below or on our Gitter channel with

  1. What the use case of your marketplace would be?
  2. How you plan to approach the problem?
  3. A timeline of how long you think your solution will take to implement. This will help us assist you in your project and ensure you are on the right path.

What would make us happy

Use Squid.js to demonstrate a fresh approach to building the marketplaces with new user experiences. Pleuston is our example of our demo marketplace. We want you to use our Squid.js API. Here’s some of the important APIs.

This is a complete list of all the classes and corresponding methods. We want you to use as many of these methods as you can to come up with new front-end focussed implementations for marketplaces.

Please note - The table format below may not appear properly on Gitcoin, please refer to the bounty on Github.

Class Method Return Value Javascript Implementation
Ocean getInstance (js, java)/ Ocean (py) Ocean Implemented
Ocean getAccounts array[Account] Implemented
Ocean searchAssets array[Asset] Implemented
Ocean searchAssetsByText array[Asset] Implemented
Ocean searchOrders tbd array[Order] Not Implemented
Ocean getOrdersByAccount array[Order] Implemented
Ocean register string Implemented
Ocean resolveDID ddo Under Implementation
Ocean getOrder Order Under Implementation
Ocean getAsset Asset Under Implementation
Account getId string Implemented
Account getOceanBalance number/integer Implemented
Account getEtherBalance number/integer Implemented
Account getBalance Balance Implemented
Account requestTokens number/integer Implemented
Asset getId string Implemented
Asset purchase Order Implemented
Asset getDID string Under Implementation
Asset getDDO ddo Under Implementation
Asset publishMetadata string Under Implementation
Asset getMetadata Metadata Under Implementation
Asset updateMetadata boolean Under Implementation
Asset retireMetadata boolean Under Implementation
Asset getServiceAgreements array[ServiceAgreement] Under Implementation
ServiceAgreement getId string Under Implementation
ServiceAgreement getPrice number/integer Under Implementation
ServiceAgreement getStatus xxx Under Implementation
ServiceAgreement publish xxx Under Implementation
ServiceAgreement retire xxx Under Implementation
ServiceAgreement getAccess xxx Under Implementation
Order getId string Implemented
Order getStatus AccessStatus Implemented
Order verifyPayment boolean Under Implementation
Order pay string Implemented
Order commit boolean Implemented
Order consume blob Implemented

We want you to use these existing methods to create unique front end implementations of the marketplace. Incase you have any questions, we are always available on Gitter.

Seen this problem before?

Any help solving this is welcome. Feel free to leave any comments and help someone else to solve it. We might airdrop tokens to someone even if not directly completing bounty.

Questions & Reviews

Pull requests will be reviewed by one of the maintainers or long-term contributors. In case of any additional questions feel free to ask in this thread and we will do our best to add the missing info :)

Things to know

The bounty lifecycle process including payout will be managed using Gitcoin. We'll be responding to your questions here, but for discussion and clarification we recommend to join also our Gitter channel where our tech community is accessible. In order to see the PROCN balance in your wallet you'll need to reference the related token contract with address 0xf2aabdd898a0139195b2b5da7387d43a45ded254. If you use a Metamask plugin you'll find the the exact steps here. Lastly, even if it is a contest bounty, we will reward all valuable contributions and efforts. We greatly appreciate the value our open source community brings to Ocean and will always award some tokens to all great contributions! :smiley:

Reward

Once the project was reviewed and merged in the master branch, you will receive the reward. PROCN is a proto-Ocean token. Bounty hunters that earn PROCN will be able to convert them 1:1 to Ocean tokens on network launch (Ocean Token will be valued at at 0.22 EUR on network launch). Network launch is expected to happen by Mar 31, 2019. Until then PROCN will be locked and non-transferrable in the ETH wallet to which it is delivered to.

gitcoinbot commented 5 years ago

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


This issue now has a funding of 10000.0 PROCN attached to it as part of the Ocean Protocol Foundation fund.

gitcoinbot commented 5 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 2 years, 10 months ago. Please review their action plans below:

1) tpscrpt has been approved to start work.

I will be researching the platform's specifics today and slowly develop a marketplace for commodity exchange and price analysis. 2) christopher-i has been approved to start work.

I would like to tackle this challenge by creating a decentralized borderless agricultural market place where anyone on the food chain (farmer/ producer/importer) can create offers to the general marketplace and can also bid on available offers.

I will research the ocean protocols tools and use them to develop the marketplace. 3) ludwigenglbrecht has been approved to start work.

What the use case of your marketplace would be? I am interested in creating a marketplace for the translation of algorithms from science into applicable code for the ocean protocol. This will be a marketplace for a service. It can be used to translate already published papers or journal articles from the field of data science into an algorithm. This makes it possible to use new scientific findings more quickly for the analysis of data sets. In the planned marketplace, an issuer can ask for the adaption of a specific algorithm. There he mentions the scientific publication and a test-dataset. A programmer who translates an algorithm into working code for the ocean protocol receives either a fixed reward or a usage fee for using the translated algorithm.

How you plan to approach the problem? In scientific publications algorithms are usually published as pseudocode. In order to use them in real world scenarios it is necessary to define a phase-wise translation process. This should ensure that the desired algorithm can be applied to a specific data set. As a result of the translation process, the algorithm is translated into executable code and a specific adapter to a data set is created. A suggestion for the translation process would therefore be.

A timeline of how long you think your solution will take to implement. This will help us assist you in your project and ensure you are on the right path.

Hi, would like to set up a decentralized marketplace for sports data. I wish to obtain the data from sport clubs/ organizations/ companies/ athletes/ governments and publishing the sports data results using Ocean. 5) jaybowles has been approved to start work.

I am co-founding a startup which aims to radically increase the quantity of high-quality omics data available to the world.

Omics data includes—

This data is extremely valuable to healthcare companies and researchers. They use it to train their models in developing new drugs and treatments for a large range of diseases including common and rare cancers, Alzheimer's, general aging and many others.

I would like to start with a simple marketplace where existing data providers can upload and set a price for their data.

Ultimately. I will potentially like the marketplace to be owned and operated by my own startup. I assume that is fine in the context of this bounty but please clarify if not.

I am familiar with the technology of the platform behind Ocean and am well-versed in the technical whitepaper. Admittedly I have not familiarised myself with the specific components Ocean has made available yet, e.g. Squid.js. As my technical plan becomes clear though I will be happy to share it.

Learn more on the Gitcoin Issue Details page.

Anirudh2490 commented 5 years ago

@jeremigendron @nive18 @christopher-i Welcome! Thanks for applying for this bounty, it's great to have you on board. Before starting with the bounty, it would be a good idea to tell us more about your approach to the work, what will be your steps and when you are planning to complete. We are available on chat on - https://gitter.im/oceanprotocol/Lobby or you can post here. Cheers! =D

Anirudh2490 commented 5 years ago

@ludwigenglbrecht Welcome! Thanks for the detailed plan. If you have any questions on how to build on the marketplace, this could be a good place to start learning about Ocean - http://docs.oceanprotocol.com/

Anirudh2490 commented 5 years ago

@ciccioce Welcome! And thanks for reaching out to us on Gitter. We are available to chat there incase you have any doubts. Thanks.

gitcoinbot commented 5 years ago

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


The funding of 10000.0 PROCN attached to this issue has been approved & issued to @jaybowles.