Web3.js 介绍
Web3.js 是 Ethereum 兼容的 JavaScript API,实现通用 JSON RPC 规范。
Web3.js 在 npm 里作为一个节点模块,在 bower 和 component 里作为一个可嵌入的 js 和一个 meteor.js 包。
使用
Node.js
npm install web3
Meteor.js
meteor add ethereum:web3
作为浏览器模块
Bower
bower install web3
Component
component install ethereum/web3.js
- 在 html 文件中包含 web3.min.js 。
Web3.js 官网
https://github.com/ethereum/web3.js
版权声明:本文内容由互联网用户自发贡献,该文观点与技术仅代表作者本人。本站仅提供信息存储空间服务,不拥有所有权,不承担相关法律责任。如发现本站有涉嫌侵权/违法违规的内容, 请发送邮件至 [email protected] 举报,一经查实,本站将立刻删除。