/bytecoin-js

Primary LanguageTypeScriptApache License 2.0Apache-2.0

bytecoin-js npm version

Development

$ npm install
$ npm run build
$ npm run test

Usage

With npm/webpack:

$ npm install @bcndev/bytecoin
import {checkAddressFormat} from "@bcndev/bytecoin";

With plain HTML/JS (via bytecoin.js):

<script src="dist/bytecoin.js"/>
<script>
  alert(bcn.checkAddressFormat("21UQFLdH7WvPZEd8HNwXncHtDwFvv4GRqaN3R4cWyuw2TRZxRtRPb7FFTxfcwwQsqYSD2EqhgVCLsGdRdejAoHFHAHJrxxo"));
</script>