@superstateinc/allowlist
Version:
TypeScript library for interacting with the Superstate Allowlist program on Solana
37 lines • 1.77 kB
JavaScript
;
/**
* @superstateinc/allowlist
*
* TypeScript library for interacting with the Superstate Allowlist program on Solana.
* This library provides utilities for creating instructions, deriving PDAs, and working
* with allowlist functionality for SPL Token 2022 mints.
*/
var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {
if (k2 === undefined) k2 = k;
var desc = Object.getOwnPropertyDescriptor(m, k);
if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) {
desc = { enumerable: true, get: function() { return m[k]; } };
}
Object.defineProperty(o, k2, desc);
}) : (function(o, m, k, k2) {
if (k2 === undefined) k2 = k;
o[k2] = m[k];
}));
var __exportStar = (this && this.__exportStar) || function(m, exports) {
for (var p in m) if (p !== "default" && !Object.prototype.hasOwnProperty.call(exports, p)) __createBinding(exports, m, p);
};
Object.defineProperty(exports, "__esModule", { value: true });
exports.TransactionInstruction = exports.PublicKey = void 0;
// Export all types
__exportStar(require("./types"), exports);
// Export all constants
__exportStar(require("./constants"), exports);
// Export PDA derivation functions
__exportStar(require("./pda"), exports);
// Export instruction builders
__exportStar(require("./instructions"), exports);
// Re-export commonly used Solana types for convenience
var web3_js_1 = require("@solana/web3.js");
Object.defineProperty(exports, "PublicKey", { enumerable: true, get: function () { return web3_js_1.PublicKey; } });
Object.defineProperty(exports, "TransactionInstruction", { enumerable: true, get: function () { return web3_js_1.TransactionInstruction; } });
//# sourceMappingURL=index.js.map