UNPKG

fbonds-core

Version:

Banx protocol sdk

17 lines (16 loc) 716 B
import { web3 } from '@coral-xyz/anchor'; export declare const createKeypairFromFile: (filePath: string) => Promise<web3.Keypair>; type CreateAndSendTxnParams = { connection: web3.Connection; instructions: web3.TransactionInstruction[]; signers: web3.Signer[]; }; export declare const createAndSendTxn: ({ connection, instructions, signers, }: CreateAndSendTxnParams) => Promise<string | undefined>; export declare const wait: (time: number) => Promise<unknown>; type WriteJsonParams = { input: unknown; filePath?: string; }; export declare const writeJson: ({ input, filePath }: WriteJsonParams) => Promise<void>; export declare const readJson: (filePath: string) => Promise<string>; export {};