{"action":"created","issue":{"url":"https://api.github.com/repos/DAVFoundation/dav-cli/issues/15","repository_url":"https://api.github.com/repos/DAVFoundation/dav-cli","labels_url":"https://api.github.com/repos/DAVFoundation/dav-cli/issues/15/labels{/name}","comments_url":"https://api.github.com/repos/DAVFoundation/dav-cli/issues/15/comments","events_url":"https://api.github.com/repos/DAVFoundation/dav-cli/issues/15/events","html_url":"https://github.com/DAVFoundation/dav-cli/issues/15","id":294259597,"number":15,"title":"Add functionality to launch more than one web3 instance","user":{"login":"griffobeid","id":12220672,"avatar_url":"https://avatars3.githubusercontent.com/u/12220672?v=4","gravatar_id":"","url":"https://api.github.com/users/griffobeid","html_url":"https://github.com/griffobeid","followers_url":"https://api.github.com/users/griffobeid/followers","following_url":"https://api.github.com/users/griffobeid/following{/other_user}","gists_url":"https://api.github.com/users/griffobeid/gists{/gist_id}","starred_url":"https://api.github.com/users/griffobeid/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/griffobeid/subscriptions","organizations_url":"https://api.github.com/users/griffobeid/orgs","repos_url":"https://api.github.com/users/griffobeid/repos","events_url":"https://api.github.com/users/griffobeid/events{/privacy}","received_events_url":"https://api.github.com/users/griffobeid/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":0,"created_at":"2018-02-05T02:53:30Z","updated_at":"2018-02-06T09:31:12Z","closed_at":null,"author_association":"NONE","body":"<!-- Provide a general summary of the issue in the Title above -->\r\n\r\nThank you for your help ❤️\r\n\r\n## What is this project?\r\nDAV (Decentralized Autonomous Vehicles) is a new non-profit foundation working to build an open-source infrastructure for autonomous vehicles (cars, drones, trucks, robots, and all the service providers around them) to communicate and transact with each other over blockchain.\r\n\r\nAs an organization that believes in building a large community of open-source contributors, we often create issues like this one to help people take their first few steps into the world of open source.\r\n\r\n### DAV CLI\r\nThe DAV CLI (command-line interface) tool makes developing applications and solutions that interact with DAV a much more pleasant experience. It allows developers to run fully functioning blockchains on their computer with one command, generate secure keys, and more.\r\n\r\n## How you can help\r\n### The Issue\r\n<!--Add information about the issue here-->\r\nA cool feature of web3 is that it allows multiple instances on the same port. Modify the function `startTestnet()` in `src/controllers/blockchain.js` to receive a second parameter `blocks` that defaults to 1. Then modify the function to launch as many blocks as requested. You will also have to add a flag in `src/index.js` for the blocks and modify the call to `startTestnet()` in `src/index.js`.\r\n\r\n### Contributing to DAV CLI\r\n- [ ] Make sure this issue is labeled up-for-grabs and not labeled claimed, to verify no one else is working on it.\r\n- [ ] Comment in this issue that you would like to do it.\r\n- [ ] Open the DAV CLI GitHub page and click the ★ Star and then ⑂ Fork buttons.\r\n- [ ] Clone a copy to your local machine with $ git clone git@github.com:YOUR-GITHUB-USER-NAME/dav-cli.git\r\n- [ ] Run npm install to install all dependencies.\r\n- [ ] Run dav-cli by calling ./bin/dav-cli.js. You can also pass arguments to it (e.g., ./bin/dav-cli.js -s -p 1234).\r\n- [ ] Now, code, code, code.\r\n- [ ] Once you've made sure all your changes work correctly and committed all your changes, push your local changes back to github with $ git push -u origin master\r\n- [ ] Visit your fork on GitHub.com (https://github.com/YOUR-USER-NAME/dav-cli) and create a pull request for your changes.\r\n- [ ] Make sure your pull request describes exactly what you changed and references this issue (include the issue number in the title like this: #5)\r\n- [ ] Please do not fix more than one issue at a time. Your pull request should only fix what is described in this issue.\r\n\r\n\r\n### Asking for help\r\nWe appreciate your effort in taking the time to work on this issue and help out the open source community and the foundation. If you need any help, feel free to ask below or in our gitter channel. We are always happy to help 😄\r\n"},"comment":{"url":"https://api.github.com/repos/DAVFoundation/dav-cli/issues/comments/363363233","html_url":"https://github.com/DAVFoundation/dav-cli/issues/15#issuecomment-363363233","issue_url":"https://api.github.com/repos/DAVFoundation/dav-cli/issues/15","id":363363233,"user":{"login":"TalAter","id":926653,"avatar_url":"https://avatars1.githubusercontent.com/u/926653?v=4","gravatar_id":"","url":"https://api.github.com/users/TalAter","html_url":"https://github.com/TalAter","followers_url":"https://api.github.com/users/TalAter/followers","following_url":"https://api.github.com/users/TalAter/following{/other_user}","gists_url":"https://api.github.com/users/TalAter/gists{/gist_id}","starred_url":"https://api.github.com/users/TalAter/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/TalAter/subscriptions","organizations_url":"https://api.github.com/users/TalAter/orgs","repos_url":"https://api.github.com/users/TalAter/repos","events_url":"https://api.github.com/users/TalAter/events{/privacy}","received_events_url":"https://api.github.com/users/TalAter/received_events","type":"User","site_admin":false},"created_at":"2018-02-06T09:31:12Z","updated_at":"2018-02-06T09:31:12Z","author_association":"OWNER","body":"Hi @griffobeid \r\n\r\nWhat's the motivation behind this? Why would developers need more than one instance at a time?"}}
{"actor":{"display_login":"TalAter"}}