The t402Client instance to register schemes to
Configuration for TON client registration
The client instance for chaining
import { registerExactTonScheme } from "@t402/ton/exact/client/register";
import { t402Client } from "@t402/core/client";
import { TonClient } from "@ton/ton";
const tonClient = new TonClient({ endpoint: "..." });
const wallet = WalletContractV4.create({ ... });
const client = new t402Client();
registerExactTonScheme(client, {
signer: toClientTonSigner(wallet, tonClient),
getJettonWalletAddress: async (owner, master) => {
// Derive Jetton wallet address
return jettonWalletAddress;
}
});
Registers TON exact payment schemes to an t402Client instance.
This function registers: