Getting Started
The UtyabSwap SDK is a library designed for TypeScript, providing smooth integration with the UtyabSwap Protocol. It facilitates operations with smart contracts, performs various calculations, includes the UtyabSwap API client, and more.
Installation:
npm install @utyablabs/sdk
Initialisation:
import { TonClient4 } from "@ton/ton";
import { Factory } from "@utyablabs/sdk";
const client = new TonClient4({
endpoint: "https://mainnet-v4.tonhubapi.com",
});
const factory = client.open(
Factory.createFromAddress(Factory.FACTORY_ADDRESS)
);
Last updated