open-index/open-npm huggingface dataset:
npm package: @plark/changelly-client
Description: The JavaScript client for Changelly Exchange. TypeScript inside.
Latest version: 1.3.0

# 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](https://changehero.io) and [Changelly](https://changelly.com).

_Current library is used at [Plark Wallet](https://plark.io)_

```javascript
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](https://plark.io)
npm package: @plark/wallettopup
Description: The JavaScript client for WalletTopUp redeeming
Latest version: 1.1.0

# WalletTopUp API Client

[![npm version](https://badge.fury.io/js/%40plark%2Fwallettopup.svg)](https://badge.fury.io/js/%40plark%2Fwallettopup)

### Install

```bash
npm i @plark/wallettopup
# or
yarn add @plark/wallettopup
```


### Example

**Redeem voucher**

```javascript
import WalletTopUp from '@plark/wallettopup';

const voucher = 'wtubch-7f86204d-c1f6-445d-ba58-b57529090f35';
const myBitcoinAddress = 'my-bitcoin-address!';

function async doSomethingUsefull() {
    const client = new WalletTopUp();
    
    const result = await client.redeem(voucher, myBitcoinAddress);
    
    console.log(result.txid); // Bitcoin TXID: 0ccf60c2f7ba0fba2adec158ba534d69f035974853ae217c9a176907b2b1efb2
}
```

---

Make with ❤ by [Plark](https://plark.io) & [WalletTopUp](https://wallettopup.co.uk) teams