UNPKG

@bridgesplit/rwa-token-sdk

Version:

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

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