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 #12

Closed Anirudh2490 closed 5 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)

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.

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 (price of Ocean Token during pre-launch was valued at 0.20 EUR/token. However, once the Ocean token is available on public exchanges, the Ocean token price will likely be different). 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. Cancelled


Work has been started.

These users each claimed they can complete the work by 2 years, 11 months ago. Please review their action plans below:

1) aj07 has been approved to start work.

I would like to start working on it. Please grant me permission. I am going through the chats happening on gitter to understand ocean in better way. 2) 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.

Learn more on the Gitcoin Issue Details page.

Anirudh2490 commented 5 years ago

@aj07 welcome! Thanks for applying for this bounty, it's great to have you on board. If you've got any doubts on how to proceed, we're available on chat - https://gitter.im/oceanprotocol/Lobby. You can also tell us more about your approach to the work, what will be your steps and when you are planning to complete. Cheers!

chalidbdb commented 5 years ago

Hi - some additional ideas for marketplace implementations. Feel free to add more!

gitcoinbot commented 5 years ago

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


This Bounty has been completed.

Anirudh2490 commented 5 years ago

@aj07 @ludwigenglbrecht If you guys are still working on the marketplace bounty, please reapply to the new issue - https://gitcoin.co/issue/oceanprotocol/ocean-bounties/14/2109. The last one was closed due to technical issues. Thanks!

gitcoinbot commented 5 years ago

Issue Status: 1. Open 2. Cancelled


The funding of 10000.0 PROCN attached to this issue has been cancelled by the bounty submitter