2.4.13 • Published 14 hours ago

@tensferhq/tensfer-js v2.4.13

Weekly downloads
-
License
MIT
Repository
github
Last release
14 hours ago

Tensfer SDK

TensferJs is a safe and secure web drop-in module and this library provides a front-end web for account, authentication, balance and transaction retrieval across multiple CEX/DEX.

Try the demo

Checkout the widget flow to view how the Tensfer Widget works. Click "See How it Works"

Getting your keys.

Before you can use any Tensfer SDK, you'd need a tensfer account, head on to Tensfer Dashboard and create your account.

Installation

You can install Tensfer in your web application using npm or yarn.

using npm:

npm install '@tensferhq/tensfer-js'

using yarn:

yarn add '@tensferhq/tensfer-js'

using CDN:

<script src="https://unpkg.com/@tensferhq/tensfer-js"></script>

Usage

For JS frameworks import it and use

import Tensfer  from "@tensferhq/tensfer-js";

Tensfer.linkWithOptions({
    publicKey: "", //Your public key from the Tensfer dashboard,
    payment: [
        {
            type:  // withdrawal or deposit
            address: //wallet address ,
            network: // e.g BNB Smart Chain,
            currency: //currency or token to transfer to
            amount: //amount
        },
    ],
    onSuccess: function (data) {
        console.log("Success!", data);
    },
    onError: function (data) {
        // an error occured
        console.log("Error!", data);
    },
    onClose: function (data) {
        // user closed widget
        console.log("user closed widget", data);
    },
});
2.4.13

14 hours ago

2.4.12

2 days ago

2.4.11

11 days ago

2.4.10

12 days ago

2.4.9

23 days ago

2.4.8

23 days ago

2.3.8

29 days ago

2.3.7

29 days ago

2.3.6

29 days ago

2.3.5

2 months ago

2.2.5

6 months ago

2.2.4

6 months ago

2.1.4

9 months ago

2.1.3

9 months ago

2.1.2

9 months ago

2.1.1

9 months ago

2.0.1

10 months ago

1.0.5

10 months ago

1.0.4

10 months ago

1.0.3

10 months ago

1.0.2

10 months ago

1.0.1

10 months ago

1.0.0

10 months ago