UNPKG

stampit-cli

Version:

Helper command line utility to publish and check data through the Ethereum stampit contract. Install with +npm install -g stampit-cli+ then run +stampit help+ and +stampit info+

20 lines (19 loc) 2.27 kB
{ "web3provider": "http://localhost:8545", "from": { "1": "", "2": "", "3": "" }, "blockchainExplorer": { "1": "https://etherscan.io/tx/", "2": "https://www.google.dcom/#q=ethereum+morden", "3": "https://testnet.etherscan.io/tx/" }, "address": { "1": "0x9FB831ac1Af7bB32934e48E7C35918455A282444", "2": "", "3": "0x490e6dC3aa8fDEA4df2f9Bf4b962c7BbB2Df7f0F" }, "abi": [{"constant":true,"inputs":[{"name":"receipt","type":"bytes32"}],"name":"getData","outputs":[{"name":"submitter","type":"address"},{"name":"sha256","type":"bytes32"},{"name":"author","type":"bytes32"},{"name":"email","type":"bytes32"},{"name":"title","type":"bytes32"},{"name":"summary","type":"bytes32"},{"name":"timestamp","type":"uint256"}],"payable":false,"type":"function"},{"constant":true,"inputs":[],"name":"version","outputs":[{"name":"","type":"uint256"}],"payable":false,"type":"function"},{"constant":false,"inputs":[{"name":"val","type":"bool"}],"name":"setAcceptInput","outputs":[],"payable":false,"type":"function"},{"constant":false,"inputs":[{"name":"_fee","type":"uint256"}],"name":"setFee","outputs":[],"payable":false,"type":"function"},{"constant":true,"inputs":[{"name":"submitter","type":"address"},{"name":"id","type":"uint256"}],"name":"getReceipt","outputs":[{"name":"receipt","type":"bytes32"}],"payable":false,"type":"function"},{"constant":false,"inputs":[{"name":"sha256","type":"bytes32"},{"name":"author","type":"bytes32"},{"name":"email","type":"bytes32"},{"name":"title","type":"bytes32"},{"name":"summary","type":"bytes32"}],"name":"submit","outputs":[],"payable":true,"type":"function"},{"constant":true,"inputs":[],"name":"fee","outputs":[{"name":"","type":"uint256"}],"payable":false,"type":"function"},{"inputs":[{"name":"submissionFee","type":"uint256"},{"name":"feeRecipient","type":"address"}],"payable":false,"type":"constructor"},{"payable":false,"type":"fallback"},{"anonymous":false,"inputs":[{"indexed":true,"name":"submitter","type":"address"},{"indexed":false,"name":"receipt","type":"bytes32"}],"name":"Submitted","type":"event"},{"anonymous":false,"inputs":[{"indexed":false,"name":"state","type":"bool"}],"name":"AcceptInputChanged","type":"event"}] }