UNPKG

kamino-sdk-beta

Version:

Typescript SDK for interacting with the Kamino Liquidity (kliquidity) protocol

15 lines 880 B
"use strict"; Object.defineProperty(exports, "__esModule", { value: true }); exports.setRaydiumProgramId = exports.PROGRAM_ID = exports.RAYDIUM_PROGRAM_ID = exports.PROGRAM_ID_CLI = void 0; const web3_js_1 = require("@solana/web3.js"); // Program ID passed with the cli --program-id flag when running the code generator. Do not edit, it will get overwritten. exports.PROGRAM_ID_CLI = new web3_js_1.PublicKey("CAMMCzo5YL8w4VFF8KVHrK22GGUsp5VTaW7grrKgrWqK"); // This constant will not get overwritten on subsequent code generations and it's safe to modify it's value. exports.RAYDIUM_PROGRAM_ID = exports.PROGRAM_ID_CLI; exports.PROGRAM_ID = exports.PROGRAM_ID_CLI; const setRaydiumProgramId = (programId) => { exports.RAYDIUM_PROGRAM_ID = programId; exports.PROGRAM_ID = programId; }; exports.setRaydiumProgramId = setRaydiumProgramId; //# sourceMappingURL=programId.js.map