1.0.2 • Published 2 years ago

@adshares/ads-client v1.0.2

Weekly downloads
-
License
GPL-3.0
Repository
github
Last release
2 years ago

ADS JS Client is an JavaScript ES2015 client for the ADS blockchain API.

The module can be used to send basic transactions. ADS JS Client is a free, open-source npm module. It supports both mainnet and testnet.

Install

npm install @adshares/ads-client

or

yarn add @adshares/ads-client

Usage

All methods return Promises.

import AdsClient from '@adshares/ads-client';

// pass true to enable testnet
const adsClient = new AdsClient(false);

adsWallet.getInfo().then(info => {})
adsWallet.getNodes().then(nodes => {})
adsWallet.sendTransaction(_DATA_, _SIGNATURE_).then(response => {})

Contributing

Please follow our Contributing Guidelines

Versioning

We use SemVer for versioning. For the versions available, see the tags on this repository.

Authors

See also the list of contributors who participated in this project.

License

This project is licensed under the GNU General Public License v3.0 - see the LICENSE file for details.

More info