zebec-instant-card-sdk
Version:
An sdk for interacting with zebec instant card program in solana.
15 lines (14 loc) • 612 B
TypeScript
/// <reference types="@coral-xyz/anchor/node_modules/@solana/web3.js" />
import { Provider } from "@coral-xyz/anchor";
import { Connection } from "@solana/web3.js";
/**
* Zebec connection provider implements provider interface provided anchor. It only encapsulate solana web3 connection.
*
* @example
* const connection = new Connection(process.env.RPC_URL || clusterApiUrl("mainnet-beta"));
* const connProvider = new ZebecConnectionProvider(connection);
*/
export declare class ZebecConnectionProvider implements Provider {
readonly connection: Connection;
constructor(connection: Connection);
}