UNPKG

@lucoadam/zebec-wormhole-sdk

Version:

This sdk can be use to transfer assets across chains and to interact with the Zebec's xchain bridge smart contracts for passing message from EVM chain to solana specially to utilize the features of Zebec Streaming and Zebec Multisig Streaming protocol.

12 lines (11 loc) 710 B
import { Connection, PublicKey, Transaction, TransactionInstruction } from "@solana/web3.js"; export declare function parseSolPubKey(address: string): PublicKey; export declare function logTransaction(transaction: Transaction): void; export declare function logInstruction(ixn: TransactionInstruction): void; /** * Gets decimal value of given mint * @param mintAddress mint address of solana token * @returns */ export declare function getDecimals(mintAddress: string): Promise<number>; export declare function sendAndConfirmTransaction(connection: Connection, signTransaction: (transaction: Transaction) => Promise<Transaction>, transaction: Transaction, maxRetries?: number): Promise<string>;