2.0.7 • Published 5 months ago

@tonx/adapter v2.0.7

Weekly downloads
-
License
-
Repository
-
Last release
5 months ago

@tonx/adapter

The TONX.js Adapter allows for an easy transition from popular TON client libraries like @ton/ton, TonWeb, and TonClient4. With minimal code changes, you can migrate your project to the TONX API effortlessly.

Already using existing TON APIs like Ton Center? Migrate to TONX API effortlessly.

P.S. Our RESTful migration API is also coming soon—contact us if you'd prefer to migrate that way.

Features

Usage

Before using it, you will need to get a key from TONX API.

ton/core

import { ToncoreAdapter } from "@tonx/adapter";

const client = new ToncoreAdapter({
  network: "mainnet",
  apiKey: "YOUR_API_KEY",
});

tonweb

import { TonWebAdapter } from "@tonx/adapter";

const client = new TonWebAdapter({
  network: "mainnet",
  apiKey: "YOUR_API_KEY",
});

TonClient4

import { TonClient4Adapter } from "@tonx/adapter";

const client = new TonClient4Adapter({
  network: "mainnet",
  apiKey: "YOUR_API_KEY",
});

Documentation & Resources

2.0.7

5 months ago

2.0.6

6 months ago

2.0.5

7 months ago

2.0.4

7 months ago

2.0.3

7 months ago

2.0.2

7 months ago

2.0.1

8 months ago

2.0.0

8 months ago

1.3.0

8 months ago

0.1.0

9 months ago