plark-app / changelly-client

The JavaScript client for Changelly. TypeScript inside.

Home Page:https://plark.io

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

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

About

The JavaScript client for Changelly. TypeScript inside.

https://plark.io


Languages

Language:TypeScript 62.9%Language:JavaScript 37.1%