@adshares/ads-client

JavaScript ES2015 client for the ADS blockchain API.

Usage no npm install needed!

<script type="module">
  import adsharesAdsClient from 'https://cdn.skypack.dev/@adshares/ads-client';
</script>

README

Adshares

ADS JS Client

Report bug · Request feature · Wiki


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