{"_id":"@atnio/web3","_rev":"1-e8680922749108fec3253ae7d4d59547","name":"@atnio/web3","dist-tags":{"latest":"0.20.1"},"versions":{"0.20.1":{"name":"@atnio/web3","namespace":"atn","version":"0.20.1","description":"ATN JavaScript API, middleware to talk to a atn node over RPC","main":"./index.js","directories":{"example":"example","lib":"lib","test":"test"},"dependencies":{"bignumber.js":"git+https://github.com/frozeman/bignumber.js-nolookahead.git","crypto-js":"^3.1.4","utf8":"^2.1.1","xhr2":"*","xmlhttprequest":"*"},"browser":{"xmlhttprequest":"./lib/utils/browser-xhr.js"},"devDependencies":{"bower":">=1.4.1","browserify":">=10.0","chai":"^3.0.0","coveralls":"^2.11.2","del":">=2.0.2","exorcist":"^0.4.0","gulp":">=3.9.0","gulp-jshint":">=1.5.0","gulp-rename":">=1.2.0","gulp-replace":"^0.5.3","gulp-streamify":"0.0.5","gulp-uglify":">=1.2.0","istanbul":"^0.4.4","jshint":">=2.5.0","mocha":">=2.3.3","sandboxed-module":"^2.0.2","vinyl-source-stream":"^1.1.0"},"scripts":{"build":"gulp","watch":"gulp watch","lint":"jshint *.js lib","test":"mocha","test-coveralls":"istanbul cover _mocha -- -R spec && cat coverage/lcov.info | coveralls --verbose"},"repository":{"type":"git","url":"git+https://github.com/ATNIO/web3.js.git"},"homepage":"https://github.com/ATNIO/web3.js","bugs":{"url":"https://github.com/ATNIO/web3.js/issues"},"keywords":["ATNIO","javascript","API"],"author":{"name":"ethdev.com"},"authors":[{"name":"echo","email":"jingwei.hu@atmatrix.org","url":"https://github.com/HuJingwei"}],"license":"LGPL-3.0","gitHead":"b75090d5b6885228094d4b9020141404b7b213d8","_id":"@atnio/web3@0.20.1","_npmVersion":"5.6.0","_nodeVersion":"8.11.3","_npmUser":{"name":"atnio","email":"jingwei.hu@atmatrix.org"},"dist":{"integrity":"sha512-qQ0QYm+Z9XaVGwwEvMSJc/ACsvjVKdaB/mxM17RZTOt9GmVjSa3NfxDxcRNM0b+g0+42gsbN9kH6uDCtFJdHzg==","shasum":"abce13861437fed382d15128a71aa1e10f1bcb6b","tarball":"https://registry.npmjs.org/@atnio/web3/-/web3-0.20.1.tgz","fileCount":83,"unpackedSize":2154339,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJb7UIDCRA9TVsSAnZWagAACA8P/AhpIlFHWP4SANFsQ7Wk\nVral+q9XCcfMX1/bMAEAZCKUXDN8n+bSj0wzNZF0m2m2gVEGT20mmk+txIA5\n6Fr96eA1v61yyXugIQ6EH2wQ7HKi9edTyMnK8TMxtY2pN5EiBxpyE4aoL+ik\nggt/pcVEyFUk4uhCkLcAWQsjBEfBAfKcSi4+W4lrWS4tvZB5LjQko2CYGTYF\nNftPaBWNBa+0R7uA62iOlues4fEWF5pcdMpRggL12ytrbNP85dlLZZmfvpVi\nBQ9bEfhU1b6S9K/TwNJXnw28rdCimIBQG/dsbkCME6mWLkZxMt5dOFPzKcfk\n4qX5gsGg9gVl8HdK4gM4AWunHmXWeFFKg3TZ/eyLHRDI+EAiXyM7iZbLMdVv\nj/k6GsPCX6G3P/9RNB5ybBVyULlVKxCAsVV7GyB0h9wUKPWaBDmUnpNSZvXJ\niVGHn55qcNHXivzEN/n2jEMtQOZK0s+AaxlfJtqqnLMmNhyJrSOPmJMIs0pe\nWoL2Ubn3LECeFgDiKiAT6Uh09z5kTkzyOo9ADNFu/3pggJCU0RvKJnBmt0bv\nvVjJYPjePN7VUOWU4bxQUDX2/h6LC7LiKcrHG36YqQdvg1px0SK2AA0oNL3c\nEtN8iqH8zUosOeuC/86T6m7rr6y+BO+sfCe9Oy0nPmpDwk/k2xhW0AC6748X\nMzG6\r\n=we1/\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEQCIAjBuC8bnd+eb6o/af6rzPNWEM3EV1qHh48RU8gElG9EAiBctzYKS2q1fB0yBes2LSFNNiFr3O8u9VRd7tPMKReKVw=="}]},"maintainers":[{"name":"atnio","email":"jingwei.hu@atmatrix.org"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/web3_0.20.1_1542275586659_0.4429698108805822"},"_hasShrinkwrap":false}},"time":{"created":"2018-11-15T09:53:06.492Z","0.20.1":"2018-11-15T09:53:06.779Z","modified":"2022-04-04T16:13:58.829Z"},"maintainers":[{"name":"atnio","email":"jingwei.hu@atmatrix.org"}],"description":"ATN JavaScript API, middleware to talk to a atn node over RPC","homepage":"https://github.com/ATNIO/web3.js","keywords":["ATNIO","javascript","API"],"repository":{"type":"git","url":"git+https://github.com/ATNIO/web3.js.git"},"author":{"name":"ethdev.com"},"bugs":{"url":"https://github.com/ATNIO/web3.js/issues"},"license":"LGPL-3.0","readme":"# Migration 0.13.0 -> 0.14.0\n\nweb3.js version 0.14.0 supports [multiple instances of web3](https://github.com/ethereum/web3.js/issues/297) object.\nTo migrate to this version, please follow the guide:\n\n```diff\n-var web3 = require('web3');\n+var Web3 = require('web3');\n+var web3 = new Web3();\n```\n\n\n# Ethereum JavaScript API\n\n[![Join the chat at https://gitter.im/ethereum/web3.js](https://badges.gitter.im/Join%20Chat.svg)](https://gitter.im/ethereum/web3.js?utm_source=badge&utm_medium=badge&utm_campaign=pr-badge&utm_content=badge)\n\nThis is the Ethereum compatible [JavaScript API](https://github.com/ethereum/wiki/wiki/JavaScript-API)\nwhich implements the [Generic JSON RPC](https://github.com/ethereum/wiki/wiki/JSON-RPC) spec. It's available on npm as a node module, for bower and component as an embeddable js and as a meteor.js package.\n\n[![NPM version][npm-image]][npm-url] [![Build Status][travis-image]][travis-url] [![dependency status][dep-image]][dep-url] [![dev dependency status][dep-dev-image]][dep-dev-url] [![Coverage Status][coveralls-image]][coveralls-url] [![Stories in Ready][waffle-image]][waffle-url]\n\n<!-- [![browser support](https://ci.testling.com/ethereum/ethereum.js.png)](https://ci.testling.com/ethereum/ethereum.js) -->\n\nYou need to run a local Ethereum node to use this library.\n\n[Documentation](https://github.com/ethereum/wiki/wiki/JavaScript-API)\n\n## Installation\n\n### Node.js\n\n```bash\nnpm install web3\n```\n\n### Meteor.js\n\n```bash\nmeteor add ethereum:web3\n```\n\n### As Browser module\nBower\n\n```bash\nbower install web3\n```\n\nComponent\n\n```bash\ncomponent install ethereum/web3.js\n```\n\n* Include `web3.min.js` in your html file. (not required for the meteor package)\n\n## Usage\nUse the `web3` object directly from global namespace:\n\n```js\nconsole.log(web3); // {eth: .., shh: ...} // it's here!\n```\n\nSet a provider (HttpProvider)\n\n```js\nweb3.setProvider(new web3.providers.HttpProvider('http://localhost:8545'));\n```\n\nThere you go, now you can use it:\n\n```js\nvar coinbase = web3.eth.coinbase;\nvar balance = web3.eth.getBalance(coinbase);\n```\n\nYou can find more examples in [`example`](https://github.com/ethereum/web3.js/tree/master/example) directory.\n\n\n## Contribute!\n\n### Requirements\n\n* Node.js\n* npm\n\n```bash\nsudo apt-get update\nsudo apt-get install nodejs\nsudo apt-get install npm\nsudo apt-get install nodejs-legacy\n```\n\n### Building (gulp)\n\n```bash\nnpm run-script build\n```\n\n\n### Testing (mocha)\n\n```bash\nnpm test\n```\n\n[npm-image]: https://badge.fury.io/js/web3.png\n[npm-url]: https://npmjs.org/package/web3\n[travis-image]: https://travis-ci.org/ethereum/web3.js.svg\n[travis-url]: https://travis-ci.org/ethereum/web3.js\n[dep-image]: https://david-dm.org/ethereum/web3.js.svg\n[dep-url]: https://david-dm.org/ethereum/web3.js\n[dep-dev-image]: https://david-dm.org/ethereum/web3.js/dev-status.svg\n[dep-dev-url]: https://david-dm.org/ethereum/web3.js#info=devDependencies\n[coveralls-image]: https://coveralls.io/repos/ethereum/web3.js/badge.svg?branch=master\n[coveralls-url]: https://coveralls.io/r/ethereum/web3.js?branch=master\n[waffle-image]: https://badge.waffle.io/ethereum/web3.js.svg?label=ready&title=Ready\n[waffle-url]: https://waffle.io/ethereum/web3.js\n\n","readmeFilename":"README.md"}