{"action":"created","issue":{"url":"https://api.github.com/repos/gitcoinco/web/issues/969","repository_url":"https://api.github.com/repos/gitcoinco/web","labels_url":"https://api.github.com/repos/gitcoinco/web/issues/969/labels{/name}","comments_url":"https://api.github.com/repos/gitcoinco/web/issues/969/comments","events_url":"https://api.github.com/repos/gitcoinco/web/issues/969/events","html_url":"https://github.com/gitcoinco/web/issues/969","id":317638158,"number":969,"title":"Integrate Portis as a web3.js provider","user":{"login":"radotzki","id":5123462,"avatar_url":"https://avatars0.githubusercontent.com/u/5123462?v=4","gravatar_id":"","url":"https://api.github.com/users/radotzki","html_url":"https://github.com/radotzki","followers_url":"https://api.github.com/users/radotzki/followers","following_url":"https://api.github.com/users/radotzki/following{/other_user}","gists_url":"https://api.github.com/users/radotzki/gists{/gist_id}","starred_url":"https://api.github.com/users/radotzki/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/radotzki/subscriptions","organizations_url":"https://api.github.com/users/radotzki/orgs","repos_url":"https://api.github.com/users/radotzki/repos","events_url":"https://api.github.com/users/radotzki/events{/privacy}","received_events_url":"https://api.github.com/users/radotzki/received_events","type":"User","site_admin":false},"labels":[{"id":836352001,"url":"https://api.github.com/repos/gitcoinco/web/labels/feature%20request","name":"feature request","color":"71f4ac","default":false}],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":2,"created_at":"2018-04-25T13:52:43Z","updated_at":"2018-04-25T22:28:40Z","closed_at":null,"author_association":"NONE","body":"<!--\r\nHello Gitcoiner!\r\n\r\nPlease use the template below for issue ideas or bugs found within Gitcoin.\r\nIf it is general support you need, reach out to us at\r\ngitcoin.co/slack\r\n\r\nProvide a general summary of the issue in the title above and use relevant fields below to define the problem.\r\n\r\n-->\r\n\r\n### User Story\r\n\r\nAs a gitcoin user, I want to easily sign transactions (e.g. claim a bounty) from any device (mobile, desktop), without installing anything, so that I can focus on coding instead of on the complicated process of opening and safeguarding a wallet.\r\n\r\n### Why Is this Needed?\r\n\r\nPlenty of users are not blockchain-savvy, which means using MetaMask and acquiring Ethereum in order to sign transactions could pose a major hurdle. For developers who do happen to be blockchain-savvy, using MetaMask is simply inconvenient since it requires installing a plugin, it's coupled to the device where it is used and does not support mobile (which means they need to install a separate wallet app). By eliminating this bottle neck, using gitcoin could be frictionless (in regards to web3 actions), allowing them to interact with the system in a simple yet secure manner.\r\n\r\n\r\n### Description\r\n\r\n[comment]: # (Feature or Bug? i.e Type: Bug)\r\n*Type*: Feature.\r\n\r\n\r\n### Current Behavior\r\n[comment]: # (Describe what actually happened.)\r\nWhen interacting with web3 methods, users have to install MetaMask or use the Brave/Mist browser.\r\n\r\n### Expected Behavior\r\n[comment]: # (Describe what you expected to happen.)\r\nWhen interacting with web3 methods, users will be able to sign transactions using Portis, making the flow much more simple and user friendly.\r\n\r\n### Reproduction\r\n[comment]: # (Describe how we can replicate the bug step by step.)\r\nTo replicate, claim an issue.\r\n\r\n### Solution\r\n[comment]: # (Provide a summary of the solution and a task list on what needs to be fixed.)\r\nAs described on the [Portis github page](https://github.com/portis-project/portis-sdk), integrating Portis is pretty simply. After installing the package from npm, it should be defined as an additional web3.currentProvider, and adding to the current error message that asks the user to install MetaMask, instead also offering the user to \"click here\" to use Portis instead (no installation required!).\r\nSince Portis is a standard web3 provider, there is no need to change any of the business logic related to web3 methods.\r\n\r\n\r\n### Definition of Done\r\n[comment]: # (Any other information that would be useful, bullets are helpful.)\r\nGitcoin users will be able to interact with web3 methods (e.g. claim issue) using Portis.\r\n\r\n### Additional Information\r\n[comment]: # (Any other information that would be useful, content, screenshots, etc.)\r\n\r\nRelated to issues:\r\n[https://github.com/gitcoinco/gitcoinco/issues/4](https://github.com/gitcoinco/gitcoinco/issues/4)\r\n[https://github.com/gitcoinco/gitcoinco/issues/5](https://github.com/gitcoinco/gitcoinco/issues/5)"},"comment":{"url":"https://api.github.com/repos/gitcoinco/web/issues/comments/384453882","html_url":"https://github.com/gitcoinco/web/issues/969#issuecomment-384453882","issue_url":"https://api.github.com/repos/gitcoinco/web/issues/969","id":384453882,"user":{"login":"owocki","id":513929,"avatar_url":"https://avatars2.githubusercontent.com/u/513929?v=4","gravatar_id":"","url":"https://api.github.com/users/owocki","html_url":"https://github.com/owocki","followers_url":"https://api.github.com/users/owocki/followers","following_url":"https://api.github.com/users/owocki/following{/other_user}","gists_url":"https://api.github.com/users/owocki/gists{/gist_id}","starred_url":"https://api.github.com/users/owocki/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/owocki/subscriptions","organizations_url":"https://api.github.com/users/owocki/orgs","repos_url":"https://api.github.com/users/owocki/repos","events_url":"https://api.github.com/users/owocki/events{/privacy}","received_events_url":"https://api.github.com/users/owocki/received_events","type":"User","site_admin":false},"created_at":"2018-04-25T22:28:40Z","updated_at":"2018-04-25T22:28:40Z","author_association":"OWNER","body":"@radotzki see above ^^ i think there is a webified version.. no?"}}
{"actor":{"display_login":"owocki"}}