{"action":"created","issue":{"url":"https://api.github.com/repos/tshaddix/react-chrome-redux/issues/145","repository_url":"https://api.github.com/repos/tshaddix/react-chrome-redux","labels_url":"https://api.github.com/repos/tshaddix/react-chrome-redux/issues/145/labels{/name}","comments_url":"https://api.github.com/repos/tshaddix/react-chrome-redux/issues/145/comments","events_url":"https://api.github.com/repos/tshaddix/react-chrome-redux/issues/145/events","html_url":"https://github.com/tshaddix/react-chrome-redux/issues/145","id":320597446,"number":145,"title":"Chrome extension issue in block-chain transaction","user":{"login":"jasham","id":23471755,"avatar_url":"https://avatars2.githubusercontent.com/u/23471755?v=4","gravatar_id":"","url":"https://api.github.com/users/jasham","html_url":"https://github.com/jasham","followers_url":"https://api.github.com/users/jasham/followers","following_url":"https://api.github.com/users/jasham/following{/other_user}","gists_url":"https://api.github.com/users/jasham/gists{/gist_id}","starred_url":"https://api.github.com/users/jasham/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/jasham/subscriptions","organizations_url":"https://api.github.com/users/jasham/orgs","repos_url":"https://api.github.com/users/jasham/repos","events_url":"https://api.github.com/users/jasham/events{/privacy}","received_events_url":"https://api.github.com/users/jasham/received_events","type":"User","site_admin":false},"labels":[],"state":"closed","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":2,"created_at":"2018-05-06T14:29:24Z","updated_at":"2018-05-07T18:20:27Z","closed_at":"2018-05-07T15:54:26Z","author_association":"NONE","body":"Basically I want a chrome extension which takes data from block-chain and display in chrome content-script also when user click on that data one transaction happen which will increase the count in block-chain.\r\n\r\nI am able to retrieve data from block-chain please check the below code.\r\n\r\n```\r\nasync componentDidMount(){\r\n    const ads = await advertiserAbi.methods\r\n                     .getSpecificAdvertiserDetail(\r\n                     \"any address\").call();\r\n    this.setState({ads});\r\n}\r\n```\r\nBut the problem is coming in performing transaction. Please check the below code.\r\n\r\n```\r\nasync onSubmitForUpdate() {\r\n    console.log(\"Hello\");\r\n    await userAbi.methods\r\n      .setStatistics(\"any address\")\r\n      .send({\r\n      from: \"any address\"\r\n    });\r\n}\r\n```\r\n\r\nBelow is the error which I am getting when checked in console.\r\n\r\n`POST https://rinkeby.infura.io/<--specific address--> 405 ()`\r\n\r\n```\r\nUncaught (in promise) Error: Invalid JSON RPC response: \"\"\r\nat Object.InvalidResponse (content.js:108391)\r\nat XMLHttpRequest.request.onreadystatechange (content.js:119211)\r\n```"},"comment":{"url":"https://api.github.com/repos/tshaddix/react-chrome-redux/issues/comments/387156146","html_url":"https://github.com/tshaddix/react-chrome-redux/issues/145#issuecomment-387156146","issue_url":"https://api.github.com/repos/tshaddix/react-chrome-redux/issues/145","id":387156146,"user":{"login":"jasham","id":23471755,"avatar_url":"https://avatars2.githubusercontent.com/u/23471755?v=4","gravatar_id":"","url":"https://api.github.com/users/jasham","html_url":"https://github.com/jasham","followers_url":"https://api.github.com/users/jasham/followers","following_url":"https://api.github.com/users/jasham/following{/other_user}","gists_url":"https://api.github.com/users/jasham/gists{/gist_id}","starred_url":"https://api.github.com/users/jasham/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/jasham/subscriptions","organizations_url":"https://api.github.com/users/jasham/orgs","repos_url":"https://api.github.com/users/jasham/repos","events_url":"https://api.github.com/users/jasham/events{/privacy}","received_events_url":"https://api.github.com/users/jasham/received_events","type":"User","site_admin":false},"created_at":"2018-05-07T18:20:27Z","updated_at":"2018-05-07T18:20:27Z","author_association":"NONE","body":"Thanks @Quaiks & @tshaddix. I have checked the issue is with Infura because it does not support eth_sendTransaction."}}
{"actor":{"display_login":"jasham"}}