UNPKG

@vaulverin/orca-sdk

Version:

Typescript SDK for the Orca protocol.

15 lines (14 loc) 467 B
"use strict"; Object.defineProperty(exports, "__esModule", { value: true }); exports.getOrca = void 0; const __1 = require(".."); const orca_impl_1 = require("../../model/orca/orca-impl"); /** * Retrieve an instance of the Orca SDK * @param connection Solana connection class * @returns An instance of Orca SDK */ function getOrca(connection, network = __1.Network.MAINNET) { return new orca_impl_1.OrcaImpl(connection, network); } exports.getOrca = getOrca;