@adshares/ads

JavaScript ES2015 library for the ADS blockchain.

Usage no npm install needed!

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

README

Adshares

ADS JS Library

Report bug · Request feature · Wiki


ADS JS Library is an JavaScript ES2015 library for the ADS blockchain.

Install

npm install @adshares/ads

yarn add @adshares/ads

Usage

import { validateAddress, splitAddress, sign, decodeCommand } from '@adshares/ads';

const valid = validateAddress('0000-00000000-313E')
const parts = splitAddress('foo_address')

const secretKey = '9F7D754820842E3D141FA7BCF6A3BA731EFE77914AC67E00D1D223E7ADB6FA48'
const signature = sign(secretKey, '74657374')

const data = '0301000000000001000000A1679B5B010000'
const command = decodeCommand(data)

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