@tonfura/adapter
v0.0.1
Published
Tonfura adapter is an easy integration tool with popular ton client library. ([@ton/ton](https://github.com/ton-org/ton) and [tonweb](https://github.com/toncenter/tonweb))
Downloads
7
Keywords
Readme
@tonfura/adapter
Tonfura adapter is an easy integration tool with popular ton client library. (@ton/ton and tonweb)
Usage
Before using it, you will need to get a key from Tonfura.
ton/core
import { ToncoreAdapter } from "@tonfura/adapter";
const client = new ToncoreAdapter({
network: "mainnet",
apiKey: "YOUR_API_KEY",
});
tonweb
import { TonWebAdapter } from "@tonfura/adapter";
const client = new TonWebAdapter({
network: "mainnet",
apiKey: "YOUR_API_KEY",
});