<h2><a href="https://swtcdoc.netlify.com">文档</a></h2>

| 程序包名称                        | CDN                                                                                                                                    | 功能描述                                              |
| --------------------------------- | -------------------------------------------------------------------------------------------------------------------------------------- | ----------------------------------------------------- |
| [@swtc/proxy](docs/swtcproxy/)    |                                                                                                                                        | 节点代理, 提供标准 API 接口, 安全, 可以取代 swtc-api |
| [@swtc/x-lib](docs/swtcxlib/)     | name: swtc_x_lib<br>[unpkg](https://unpkg.com/@swtc/x-lib)<br>[jsdelivery](https://cdn.jsdelivr.net/npm/@swtc/x-lib)                   | 等同支持井通联盟链, 基于 websocket                    |
| [@swtc/lib](docs/swtclib/)        | name: swtc_lib<br>[unpkg](https://unpkg.com/@swtc/lib)<br>[jsdelivery](https://cdn.jsdelivr.net/npm/@swtc/lib)                         | SWTC 公链库, 基于 websocket                           |
| [@swtc/api](docs/swtcapi/)        | name: swtc_api<br>[unpkg](https://unpkg.com/@swtc/api)<br>[jsdelivery](https://cdn.jsdelivr.net/npm/@swtc/api)                         | SWTC 公链库, 基于 restapi                             |
| [@swtc/transaction](docs/swtctx/) | name: swtc_transaction<br>[unpkg](https://unpkg.com/@swtc/transaction)<br>[jsdelivery](https://cdn.jsdelivr.net/npm/@swtc/transaction) | 井通公链交易库, 支付/挂单/关系/合约                   |
| @swtc/serializer                  |                                                                                                                                        | 井通公链交易序列化库, 基于钱包                        |
| @swtc/utils                       |                                                                                                                                        | 井通公链 utility 库,基于钱包                         |
| [@swtc/wallet](docs/swtcwallet/)  | name: swtc_wallet<br>[unpkg](https://unpkg.com/@swtc/wallet)<br>[jsdelivery](https://cdn.jsdelivr.net/npm/@swtc/wallet)                | 井通公链钱包库, 支持所有联盟链                        |
| @swtc/keypairs                    |                                                                                                                                        | 公钥私钥                                              |
| @swtc/address-codec               |                                                                                                                                        | 编码解码                                              |
| @swtc/common                      |                                                                                                                                        | 基础信息                                              |

## 参与

1. fork and clone
2. 安装依赖 `npm install; npm run bootstrap`
3. 运行测试 `npm run test`
4. 编译 web 版本 `npm run build`
5. 列出管理的程序包 `npm run lerna -- list`
6. 执行某个包的 npm 脚本 `npm run lerna -- run tslint --scope @swtc/api`
7. 执行某个包的任意命令 `npm run lerna -- exec pwd --scope @swtc/wallet`
8. 编译某个包的 web dev 版本 `npm run lerna -- run build:dev --scope @swtc/lib`

<h2 align="center"><a href="https://swtcdoc.netlify.com">SWTCLIB 专为应用开发者打造</a></h2>

<p align="center">
	<a href="https://gitter.im/swtclib/community?utm_source=share-link&utm_medium=link&utm_campaign=share-link"><img alt="Gitter" src="https://img.shields.io/gitter/room/lospringliu/swtclib.svg" /></a>
	<a href="https://lerna.js.org/"><img src="https://img.shields.io/badge/maintained%20with-lerna-cc00ff.svg" alt="lerna" /></a>
	<a href="https://github.com/ellerbrock/typescript-badges/"><img src="https://badges.frapsoft.com/typescript/code/typescript.svg?v=101" alt="typescript" /></a>
	<br>
	<img src="https://img.shields.io/badge/ecmascript-6-green.svg" alt="es6" />
	<img src="https://img.shields.io/badge/browserify-ready-green.svg" alt="browserify" />
	<img src="https://img.shields.io/badge/webpack-ready-green.svg" alt="webpack" />
	<br>
	<a href="https://nodei.co/npm/@swtc/lib/"><img src="https://nodei.co/npm/@swtc/lib.png?compact=true" /></a>
	<br>
	<a href="https://nodei.co/npm/@swtc/api/"><img src="https://nodei.co/npm/@swtc/api.png?compact=true" /></a>
	<br>
	<a href="https://nodei.co/npm/@swtc/transaction/"><img src="https://nodei.co/npm/@swtc/transaction.png?compact=true" /></a>
	<br>
	<a href="https://nodei.co/npm/@swtc/wallet/"><img src="https://nodei.co/npm/@swtc/wallet.png?compact=true" /></a>
</p>

<h2 align="center">支持开源SWTCLIB 支持公链生态</h2>

<p align="center"> **金主** 经济支援单位。可以参与影响库规划, 享受专业支持</p>
<p align="center"> **赞助** 欢迎喜欢项目的个人捐助</p>
<p align="center"> **用户** 列出公司或者个人也是对项目的支持</p>

<a name="sponsors"></a>

<h3 align="center">
	金主
</h3>
<p align="center">
	<img align="center" src="https://raw.githubusercontent.com/swtcca/swtcdoc/master/images/swtcfdt.png" alt="SWTC基金会" height="100" />
	<img align="center" src="https://raw.githubusercontent.com/swtcca/swtcdoc/master/images/bizain.png" alt="商链" height="100" />
</p>

<a name="donate"></a>

<h3 align="center">
	赞助
</h3>
<p align="center">
	<img valign="middle" src="https://img.shields.io/badge/swtc-donate-blue.svg" alt="swtc-donate" /> jGxW97eCqxfAWvmqSgNkwc2apCejiM89bG
	<br><img align="center" src="https://raw.githubusercontent.com/swtcca/swtcdoc/images/donate.png" alt="捐助" />
</p>

<a name="users"></a>

<h3 align="center">
	用户
</h3>
<p align="center">
	CA节点 | 畅节点 | 至尚节点 | JSKY节点 <br>
	<img align="center" src="https://raw.githubusercontent.com/swtcca/swtcdoc/master/images/jccdex.png" alt="井畅" height="100" />
</p>