@abcpros/bitcore-lib 中文文档教程

发布于 3年前 浏览 26 项目主页 更新于 3年前

Bitcore Lib

NPM 包构建状态Coverage Status

一个纯粹而强大的 JavaScript 比特币库。

Principles

比特币是用于下一代金融技术的强大的新型点对点平台。 比特币网络的去中心化特性允许高度弹性的比特币基础设施,开发者社区需要可靠的开源工具来实施比特币应用程序和服务。

Get Started

npm install bitcore-lib
bower install bitcore-lib

Documentation

完整的文档位于此处:bitcore 文档。 从项目的 JSDocs,您可以在其中找到每个 bitcore 实用程序的底层详细信息。

Examples

Building the Browser Bundle

为浏览器构建 bitcore-lib 完整包:

gulp browser

这将生成名为 bitcore-lib.jsbitcore-lib.min.js 的文件。

您还可以使用我们为每个版本提供的预生成文件以及项目维护人员之一的 PGP 签名。 要获取它们,请查看版本

Development & Tests

git clone https://github.com/bitpay/bitcore-lib
cd bitcore-lib
npm install

运行所有测试:

gulp test

您还可以使用 gulp test:node 仅运行 Node.js 测试,使用 gulp test:browser 仅运行浏览器测试或创建测试覆盖率报告(你可以打开 coverage/lcov-report/index.html 来可视化它)和 gulp coverage

Security

我们在生产中使用 Bitcore,许多其他人也是如此,但在做任何与财务相关的事情时请使用常识! 我们对您的实施决定不承担任何责任。

如果您发现安全问题,请发送电子邮件至 security@bitpay.com。

Contributing

有关如何贡献的信息,请参阅主 bitcore 存储库上的 CONTRIBUTING.md

License

代码根据 MIT 许可证发布。

版权所有 2013-2019 BitPay, Inc. Bitcore 是 BitPay, Inc. 维护的商标。

Bitcore Lib

NPM PackageBuild StatusCoverage Status

A pure and powerful JavaScript Bitcoin library.

Principles

Bitcoin is a powerful new peer-to-peer platform for the next generation of financial technology. The decentralized nature of the Bitcoin network allows for highly resilient bitcoin infrastructure, and the developer community needs reliable, open-source tools to implement bitcoin apps and services.

Get Started

npm install bitcore-lib
bower install bitcore-lib

Documentation

The complete docs are hosted here: bitcore documentation. There's also a bitcore API reference available generated from the JSDocs of the project, where you'll find low-level details on each bitcore utility.

Examples

Building the Browser Bundle

To build a bitcore-lib full bundle for the browser:

gulp browser

This will generate files named bitcore-lib.js and bitcore-lib.min.js.

You can also use our pre-generated files, provided for each release along with a PGP signature by one of the project's maintainers. To get them, checkout the releases.

Development & Tests

git clone https://github.com/bitpay/bitcore-lib
cd bitcore-lib
npm install

Run all the tests:

gulp test

You can also run just the Node.js tests with gulp test:node, just the browser tests with gulp test:browser or create a test coverage report (you can open coverage/lcov-report/index.html to visualize it) with gulp coverage.

Security

We're using Bitcore in production, as are many others, but please use common sense when doing anything related to finances! We take no responsibility for your implementation decisions.

If you find a security issue, please email security@bitpay.com.

Contributing

See CONTRIBUTING.md on the main bitcore repo for information about how to contribute.

License

Code released under the MIT license.

Copyright 2013-2019 BitPay, Inc. Bitcore is a trademark maintained by BitPay, Inc.

    我们使用 Cookies 和其他技术来定制您的体验包括您的登录状态等。通过阅读我们的 隐私政策 了解更多相关信息。 单击 接受 或继续使用网站,即表示您同意使用 Cookies 和您的相关数据。
    原文