@plark/changelly-client
TypeScript icon, indicating that this package has built-in type declarations

1.3.0 • Public • Published

Make it possible to exchange cryptocurrency via Changelly or ChangeHero services in your application, based on JavaScript

Current library provide your with Changelly Client on JavaScript for Browser or NodeJS.

Works well with ChangeHero and Changelly.

Current library is used at Plark Wallet

import ChangellyClienty from '@plark/changelly-client';

const client = new ChangellyClienty('<API KEY>', '<SECRET KEY>');
client.createTransaction({
    from: 'btc',
    to: 'ltc',
    amount: 2.14,
    address: 'Lapj4BwSx5bTCD3R8L4J3MAxUsFP2s4VGe',
}).then(
    transaction => {
        console.log(transaction); // show your transaction
    }
);

Make with by Plark Team

Package Sidebar

Install

npm i @plark/changelly-client

Homepage

plark.io/

Weekly Downloads

5

Version

1.3.0

License

none

Unpacked Size

30.6 kB

Total Files

10

Last publish

Collaborators

  • eropi4
  • m.tymchyk