UNPKG

zebec-instant-card-sdk

Version:

An sdk for interacting with zebec instant card program in solana.

17 lines (16 loc) 586 B
"use strict"; Object.defineProperty(exports, "__esModule", { value: true }); exports.ZebecConnectionProvider = void 0; /** * 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); */ class ZebecConnectionProvider { constructor(connection) { this.connection = connection; } } exports.ZebecConnectionProvider = ZebecConnectionProvider;