{"_id":"@didux-io/web3-eth-contract-web","_rev":"1-f64674237231e44ad176c6552e856f5e","name":"@didux-io/web3-eth-contract-web","dist-tags":{"latest":"1.0.0-beta.53"},"versions":{"1.0.0-beta.53":{"name":"@didux-io/web3-eth-contract-web","namespace":"ethereum","version":"1.0.0-beta.53","description":"@didux-io/web3 module to interact with Ethereum smart contracts.","repository":{"type":"git","url":"https://github.com/ethereum/web3.js/tree/master/packages/web3-eth-contract"},"license":"LGPL-3.0","main":"src/index.js","dependencies":{"underscore":"1.8.3","@didux-io/web3-core-web":"1.0.0-beta.53","@didux-io/web3-core-helpers":"1.0.0-beta.53","@didux-io/web3-core-method":"1.0.0-beta.53","@didux-io/web3-core-promievent":"1.0.0-beta.53","@didux-io/web3-core-subscriptions":"1.0.0-beta.53","@didux-io/web3-eth-abi":"1.0.0-beta.53","@didux-io/web3-utils":"1.0.0-beta.53"},"_id":"@didux-io/web3-eth-contract-web@1.0.0-beta.53","_npmVersion":"6.1.0","_nodeVersion":"10.6.0","_npmUser":{"name":"danielsmilo","email":"daniel@smilo.io"},"dist":{"integrity":"sha512-LDgblwUbcMcrOpK3n0wo3ySXbAOaLE86gbv9rKfVc83lAApu/H+HjtDHhxGibYiVwl/EJe7w6kP/LL79bsWtEw==","shasum":"09c39de306e7fe06b5b4767ca9f8cd0ff479a5bd","tarball":"https://registry.npmjs.org/@didux-io/web3-eth-contract-web/-/web3-eth-contract-web-1.0.0-beta.53.tgz","fileCount":3,"unpackedSize":31931,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJd5laRCRA9TVsSAnZWagAAGrYP/AwV3olWkhi5ZAB9TMB7\nnBBpJl9ccPqJR+YLIurs3fpoP0+U+/JgkUOH4qH0xaks79rCndY79iYxQ4FV\npGZ9/Bo+AUgNmVGunwqqJ/2kmKkwXwYD20Ewu8+PWu2vqJrGDVr/Yuk0xeVc\nGPTW+5ZltDq/gImg1lHbZodxuEpcOvCNLBhqgzRxrPysvpf1gWc0Cc4kzRr/\nzp3MYaMOvsaIk1df2yS43AEpsDDVTN2vuCZDMqsTssnsZahMYx6klFwM046q\n/iwRRM9f5s2/F6k345tPyYqNYgSQyiGBfHeFIaqC1ITyICAAskYrnAFiHqu5\n6GFuQaSLyPtkVosY29+3PFXcD+jwz2hc0pws5+VdHLSToMxbjdg7OzCdVjF7\nFHVLKiQXmIdKdbIsvt1sPgSCv06+zpjf0lQelz97noykaPwhkLfNF70wHlco\n1234AYAkhxP3I43akrTY3wQQCZLnF2XZL0INvTovgIRgrHfhz4hbZh7mNk1I\n5Ui3K6+qAQMX0SkdS4BNEbPm5D5I9IalzOrUffIq+P4VZ+jRT5gbZCeIcNtE\n7IcB66BqNX1j13puk4h05Q6U5rjyNRxqacXScfms4V3rW4Br4RKz+ajcR1Ig\n4ZO/pDQoaSj38Rykj7sgIN6IrsBw80BOt+Porm5cykpIkMRE+NhUuizHhWu7\nhXgM\r\n=kHL9\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEYCIQCDeZiu06vsd6GGkvoyapjzo7FF2eMI4cYy+R7HAaEsiAIhAIYpUR+vY1qVhffXN8oIGmbFWmojnxH856/+gX4gVhyW"}]},"maintainers":[{"name":"elkan","email":"info@smilo.io"},{"name":"danielsmilo","email":"daniel@smilo.io"}],"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/web3-eth-contract-web_1.0.0-beta.53_1575376528749_0.48506743137768304"},"_hasShrinkwrap":false}},"time":{"created":"2019-12-03T12:35:28.467Z","1.0.0-beta.53":"2019-12-03T12:35:28.889Z","modified":"2022-04-05T04:23:52.140Z"},"maintainers":[{"name":"elkan","email":"info@smilo.io"},{"name":"danielsmilo","email":"daniel@smilo.io"}],"description":"@didux-io/web3 module to interact with Ethereum smart contracts.","repository":{"type":"git","url":"https://github.com/ethereum/web3.js/tree/master/packages/web3-eth-contract"},"license":"LGPL-3.0","readme":"# web3-eth-contract\n\nThis is a sub package of [web3.js][repo]\n\nThis is the contract package to be used in the `web3-eth` package.\nPlease read the [documentation][docs] for more.\n\n## Installation\n\n### Node.js\n\n```bash\nnpm install web3-eth-contract\n```\n\n### In the Browser\n\nBuild running the following in the [web3.js][repo] repository:\n\n```bash\nnpm run-script build-all\n```\n\nThen include `dist/web3-eth-contract.js` in your html file.\nThis will expose the `Web3EthContract` object on the window object.\n\n\n## Usage\n\n```js\n// in node.js\nvar Web3EthContract = require('@didux-io/web3-eth-contract');\n\n// set provider for all later instances to use\nWeb3EthContract.setProvider('ws://localhost:8546');\n\nvar contract = new Web3EthContract(jsonInterface, address);\ncontract.methods.somFunc().send({from: ....})\n.on('receipt', function(){\n    ...\n});\n```\n\n\n[docs]: http://web3js.readthedocs.io/en/1.0/\n[repo]: https://github.com/ethereum/web3.js\n\n\n","readmeFilename":"README.md"}