@wuwei-labs/srsly
Version:
TypeScript SDK for SRSLY
16 lines • 1.53 kB
TypeScript
/**
* @purpose Utility functions and helpers
* @module utils
*/
export { setSdkConfig, getSdkConfig, clearSdkConfig, mergeConfig, getAddresses, getAffiliateConfig, getRpcUrl, detectProgramSet, type SdkConfig, type PublicKeyConstructor, type AffiliateConfig, } from './config';
export { getProgramAddresses, getNetworkAddresses, isValidProgramSet, isValidNetwork, resolveGenesisHash, MAINNET_GENESIS, DEVNET_GENESIS, ATLASNET_GENESIS, MAINNET_ADDRESSES, ATLASNET_ADDRESSES, type ProgramSet, type ProgramSetAlias, type ProgramAddresses, type NetworkAddresses, } from './addresses';
export { toTransactionSigner, validateAddress, isWeb3jsSigner, isKitSigner, isAddressString, type UniversalSigner, } from './signer';
export { toWeb3Instruction, toAddress, type KitInstruction, type Web3jsInstructionWithStrings, type Web3jsInstructionWithPublicKeys, } from './web3js';
export { prepareInstructions, type PrepareInstructionsOptions } from './instructions';
export { InstructionResult, type LegacyInstruction } from './instructionResult';
export { createRpc, setRpcDebug, isRpcDebugEnabled } from './rpc';
export { fetchLookupTable, getLookupTableAddress, type AddressLookupTableData, } from './lookupTable';
export { hasActiveRental, hasQueuedRental } from './rental';
export { computeMinimumBid, getMinimumBid, type MinimumBid } from './bidMath';
export { createDiscount, deserializeDiscountAuth, type CreateDiscountParams, type SerializedDiscountAuth, type MessageSigner, } from './discountAuth';
//# sourceMappingURL=index.d.ts.map