UNPKG

@bridgesplit/rwa-token-sdk

Version:

RWA Token SDK for the development of permissioned tokens on SVM blockchains.

19 lines (18 loc) 936 B
/// <reference types="@coral-xyz/anchor/node_modules/@solana/web3.js" /> import { PublicKey } from "@solana/web3.js"; import { Program, type Provider } from "@coral-xyz/anchor"; import { AssetControllerIdlTypes } from "../programs"; export declare const assetControllerProgramId: PublicKey; /** * Returns the asset controller program as a typed anchor program. * @param provider - Solana anchor provider. * @returns Typed solana program to be used for transaction building. */ export declare const getAssetControllerProgram: (provider: Provider) => Program<AssetControllerIdlTypes>; /** * Retrieves the asset controller's public key for a specific asset mint. * @param assetMint - The string representation of the asset's mint address. * @returns The asset controller's pda. */ export declare const getAssetControllerPda: (assetMint: string) => PublicKey; export declare const getAssetControllerEventAuthority: () => PublicKey;