application
application copied to clipboard
Instructions on how to submit a blockchain application ID
``` const Web3 = require('web3'); const rpcURL = 'https://ropsten.infura.io/v3/'; const contractAddress = '0xcbbfbafedb0eb83016d2a96a4e80d30b20fa3e30'; const email = '[email protected]'; const emailHash = '0xbe166c9942e280bb26c7e658bec28539d4b24fc633d8be6d4b005cc204933b84'; const abi = [ { constant: false, inputs: [{...
```shell curl -X GET \ 'https://api-ropsten.etherscan.io/api?module=contract&action=getabi&address=0xcbbfbafedb0eb83016d2a96a4e80d30b20fa3e30&apikey=2QRMGI15YCHS2SKW2FSXCIA7T31JYKZWKE' \ -H 'Content-Type: application/json' \ -H 'Postman-Token: 388297f8-efb6-4d38-82cd-c62cbb4d7f82' \ -H 'cache-control: no-cache' \ -d '[ { "constant": false, "inputs": [ { "name": "hash", "type":...
I think there are some issue in contract, as the apply function always call "this.sendTransaction.apply" function so always getting "Invalid Address" Uncaught Error: invalid address at u (web3.min.js:1) at inputTransactionFormatter...
How to
What exactly I have to use to get application ID?
inpage.js:1 Uncaught Error: The MetaMask Web3 object does not support synchronous methods like eth_sendTransaction without a callback parameter. See https://github.com/MetaMask/faq/blob/master/DEVELOPERS.md#dizzy-all-async---think-of-metamask-as-a-light-client for details. at MetamaskInpageProvider.send (inpage.js:1) at s.send (inpage.js:1) at n.e...
> myContract { abi: [{ constant: false, inputs: [{...}], name: "apply", outputs: [], payable: false, stateMutability: "nonpayable", type: "function" }, { constant: true, inputs: [{...}], name: "getApplicationID", outputs: [{...}], payable:...