{"action":"created","issue":{"url":"https://api.github.com/repos/oceanprotocol/ocean-bounties/issues/11","repository_url":"https://api.github.com/repos/oceanprotocol/ocean-bounties","labels_url":"https://api.github.com/repos/oceanprotocol/ocean-bounties/issues/11/labels{/name}","comments_url":"https://api.github.com/repos/oceanprotocol/ocean-bounties/issues/11/comments","events_url":"https://api.github.com/repos/oceanprotocol/ocean-bounties/issues/11/events","html_url":"https://github.com/oceanprotocol/ocean-bounties/issues/11","id":390262686,"node_id":"MDU6SXNzdWUzOTAyNjI2ODY=","number":11,"title":"CLI for Ocean squid client libraries","user":{"login":"JohnBDB","id":33055983,"node_id":"MDQ6VXNlcjMzMDU1OTgz","avatar_url":"https://avatars0.githubusercontent.com/u/33055983?v=4","gravatar_id":"","url":"https://api.github.com/users/JohnBDB","html_url":"https://github.com/JohnBDB","followers_url":"https://api.github.com/users/JohnBDB/followers","following_url":"https://api.github.com/users/JohnBDB/following{/other_user}","gists_url":"https://api.github.com/users/JohnBDB/gists{/gist_id}","starred_url":"https://api.github.com/users/JohnBDB/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/JohnBDB/subscriptions","organizations_url":"https://api.github.com/users/JohnBDB/orgs","repos_url":"https://api.github.com/users/JohnBDB/repos","events_url":"https://api.github.com/users/JohnBDB/events{/privacy}","received_events_url":"https://api.github.com/users/JohnBDB/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":0,"created_at":"2018-12-12T14:56:23Z","updated_at":"2018-12-12T17:23:17Z","closed_at":null,"author_association":"MEMBER","body":"# CLI for Ocean squid client libraries\r\n\r\n\r\n## How can you help?\r\n\r\nWe want to implement a Command Line Interface for our client libraries “squid”. The latter are written in three languages [JavaScript](https://github.com/oceanprotocol/squid-js) (referred as squid-js); [Python](https://github.com/oceanprotocol/squid-py) (referred as squid-py); and [Java](https://github.com/oceanprotocol/squid-java) (referred as squid-java). In our architecture, the squid libraries allow users (publishers and consumers) to interact with the Ocean Protocol smart contracts and network. They include the methods (in different languages) to, for example, buy an asset, or publish it. Different languages have different uses: the JavaScript version will be mostly used in the front-end part of Ocean Protocol, when users will access the web pages. For now in our current version Trilobite, developers can interact with the libraries using [Tuna](https://github.com/oceanprotocol/tuna). Tuna is an example interface for our squid libraries.\r\nWe want to give developers the option to use a CLI to execute the different commands and methods. By building the CLI, you would help Ocean by expanding its functionalities while making it easier for developers to improve Ocean Protocol via the squid libraries. It should at least reproduce the capabilities of Tuna.\r\n\r\n\r\n## Assumptions\r\n\r\n* Familiarity with the Ocean Protocol architecture (you need to understand well how squid the libraries interacts with the different components). More information [here](https://github.com/oceanprotocol/).\r\n* You have used the current version (Trilobite) of Ocean Protocol and tried the different functionalities. This is will help you understand what the CLI should allow.\r\n* You have used/are using CLIs in your work/free time so you have knowledge about how to build one.\r\n\r\n\r\n## What needs to be done?\r\n\r\n* A complete CLI that developers can use to execute all the [commands](https://github.com/oceanprotocol/dev-ocean/blob/master/doc/architecture/squid.md#squid-api-implementation-state) interacting with the squid libraries.\r\n* Any language (Python, JavaScript, Java) can be used, but it needs to be properly documented and tested (unit tests and integration tests).\r\n\r\n\r\n## We are very happy when\r\n\r\n* Users can easily understand how to operate the CLI (so solid documentation).\r\n* All the squid [commands](https://github.com/oceanprotocol/dev-ocean/blob/master/doc/architecture/squid.md#squid-api-implementation-state) can be executed from the CLI (see list of commands https://github.com/oceanprotocol/squid-java/blob/develop/README.md). Users can publish, register, search, and consume assets, interact with the Secret Store (encrypt/decrypt), and interact with metadata. \r\n* Each CLI command should reproduce each squid method.\r\n* Unit/integration test coverage for the code is >=85%. \r\n\r\n\r\n## Seen this problem before?\r\n\r\nAny 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.\r\n\r\n\r\n## Questions & Reviews\r\n\r\nPull 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 :)\r\n\r\n\r\n## Things to know\r\n\r\nThe bounty lifecycle process including payout will be managed using [Gitcoin](https://gitcoin.co/explorer?network=mainnet&keywords=oceanprotocol&order_by=-web3_created).\r\nWe'll be responding to your questions here, but for discussion and clarification we recommend to join also our [Gitter channel](https://gitter.im/oceanprotocol/Lobby) where our tech community is accessible.\r\nIn 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](https://metamask.zendesk.com/hc/en-us/articles/360015489011-Managing-ERC20-Tokens).\r\n\r\n\r\n## Reward\r\n\r\nOnce 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 (currently Ocean Token is valued at 0.20 EUR). 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."},"comment":{"url":"https://api.github.com/repos/oceanprotocol/ocean-bounties/issues/comments/446670846","html_url":"https://github.com/oceanprotocol/ocean-bounties/issues/11#issuecomment-446670846","issue_url":"https://api.github.com/repos/oceanprotocol/ocean-bounties/issues/11","id":446670846,"node_id":"MDEyOklzc3VlQ29tbWVudDQ0NjY3MDg0Ng==","user":{"login":"gitcoinbot","id":27903976,"node_id":"MDQ6VXNlcjI3OTAzOTc2","avatar_url":"https://avatars2.githubusercontent.com/u/27903976?v=4","gravatar_id":"","url":"https://api.github.com/users/gitcoinbot","html_url":"https://github.com/gitcoinbot","followers_url":"https://api.github.com/users/gitcoinbot/followers","following_url":"https://api.github.com/users/gitcoinbot/following{/other_user}","gists_url":"https://api.github.com/users/gitcoinbot/gists{/gist_id}","starred_url":"https://api.github.com/users/gitcoinbot/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/gitcoinbot/subscriptions","organizations_url":"https://api.github.com/users/gitcoinbot/orgs","repos_url":"https://api.github.com/users/gitcoinbot/repos","events_url":"https://api.github.com/users/gitcoinbot/events{/privacy}","received_events_url":"https://api.github.com/users/gitcoinbot/received_events","type":"User","site_admin":false},"created_at":"2018-12-12T17:23:17Z","updated_at":"2018-12-12T17:23:17Z","author_association":"NONE","body":"Issue Status: 1. **Open** 2. Started 3. Submitted 4. Done \n\n<hr>\n\n__This issue now has a funding of 12500.0 PROCN   attached to it as part of the Ocean Protocol Foundation fund.__\n\n * If you would like to work on this issue you can 'start work' [on the Gitcoin Issue Details page](https://gitcoin.co/issue/oceanprotocol/ocean-bounties/11/1977).\n* Want to chip in? Add your own contribution [here](https://gitcoin.co/issue/oceanprotocol/ocean-bounties/11/1977).\n* Questions? Checkout <a href='https://gitcoin.co/help'>Gitcoin Help</a> or the <a href='https://gitcoin.co/slack'>Gitcoin Slack</a>\n* $46,326.12 more funded OSS Work available on the [Gitcoin Issue Explorer](https://gitcoin.co/explorer)\n"}}
{"actor":{"display_login":"gitcoinbot"}}