{"id":20392371,"url":"https://github.com/wiseplat/npm1-web3","last_synced_at":"2026-04-19T02:32:42.158Z","repository":{"id":122792555,"uuid":"125347482","full_name":"WISEPLAT/npm1-web3","owner":"WISEPLAT","description":"Wiseplat JavaScript API, middleware to talk to a wiseplat node over RPC","archived":false,"fork":false,"pushed_at":"2018-03-15T10:08:04.000Z","size":757,"stargazers_count":1,"open_issues_count":0,"forks_count":0,"subscribers_count":0,"default_branch":"master","last_synced_at":"2025-04-10T13:33:38.307Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"language":"JavaScript","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"other","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/WISEPLAT.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2018-03-15T10:01:30.000Z","updated_at":"2023-05-22T19:07:06.000Z","dependencies_parsed_at":null,"dependency_job_id":"f998e7a1-da9a-4663-861c-02ca62d0570f","html_url":"https://github.com/WISEPLAT/npm1-web3","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/WISEPLAT/npm1-web3","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/WISEPLAT%2Fnpm1-web3","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/WISEPLAT%2Fnpm1-web3/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/WISEPLAT%2Fnpm1-web3/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/WISEPLAT%2Fnpm1-web3/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/WISEPLAT","download_url":"https://codeload.github.com/WISEPLAT/npm1-web3/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/WISEPLAT%2Fnpm1-web3/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":31991984,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-04-18T20:23:30.271Z","status":"online","status_checked_at":"2026-04-19T02:00:07.110Z","response_time":55,"last_error":null,"robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":true,"can_crawl_api":true,"host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":[],"created_at":"2024-11-15T03:43:33.733Z","updated_at":"2026-04-19T02:32:42.141Z","avatar_url":"https://github.com/WISEPLAT.png","language":"JavaScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Migration 0.13.0 -\u003e 0.14.0\n\nweb3.js version 0.14.0 supports [multiple instances of web3](https://github.com/wiseplat/npm1-web3.js/issues/297) object.\nTo migrate to this version, please follow the guide:\n\n```diff\n-var web3 = require('npm1-web3');\n+var Web3 = require('npm1-web3');\n+var web3 = new Web3();\n```\n\n\n# Wiseplat JavaScript API\n\n[![Join the chat at https://gitter.im/wiseplat/web3.js](https://badges.gitter.im/Join%20Chat.svg)](https://gitter.im/wiseplat/web3.js?utm_source=badge\u0026utm_medium=badge\u0026utm_campaign=pr-badge\u0026utm_content=badge)\n\nThis is the Wiseplat compatible [JavaScript API](https://github.com/wiseplat/wiki/wiki/JavaScript-API)\nwhich implements the [Generic JSON RPC](https://github.com/wiseplat/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\u003c!-- [![browser support](https://ci.testling.com/wiseplat/wiseplat.js.png)](https://ci.testling.com/wiseplat/wiseplat.js) --\u003e\n\nYou need to run a local Wiseplat node to use this library.\n\n[Documentation](https://github.com/wiseplat/wiki/wiki/JavaScript-API)\n\n## Installation\n\n### Node.js\n\n```bash\nnpm install npm1-web3\n```\n\n### Meteor.js\n\n```bash\nmeteor add wiseplat:web3\n```\n\n### As Browser module\nBower\n\n```bash\nbower install npm1-web3\n```\n\nComponent\n\n```bash\ncomponent install wiseplat/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); // {wsh: .., 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.wsh.coinbase;\nvar balance = web3.wsh.getBalance(coinbase);\n```\n\nYou can find more examples in [`example`](https://github.com/wiseplat/npm1-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/wiseplat/web3.js.svg\n[travis-url]: https://travis-ci.org/wiseplat/web3.js\n[dep-image]: https://david-dm.org/wiseplat/web3.js.svg\n[dep-url]: https://david-dm.org/wiseplat/web3.js\n[dep-dev-image]: https://david-dm.org/wiseplat/web3.js/dev-status.svg\n[dep-dev-url]: https://david-dm.org/wiseplat/web3.js#info=devDependencies\n[coveralls-image]: https://coveralls.io/repos/wiseplat/web3.js/badge.svg?branch=master\n[coveralls-url]: https://coveralls.io/r/wiseplat/web3.js?branch=master\n[waffle-image]: https://badge.waffle.io/wiseplat/web3.js.svg?label=ready\u0026title=Ready\n[waffle-url]: http://waffle.io/wiseplat/web3.js\n\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fwiseplat%2Fnpm1-web3","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fwiseplat%2Fnpm1-web3","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fwiseplat%2Fnpm1-web3/lists"}