UNPKG

@gorbchain-xyz/chaindecode

Version:

GorbchainSDK V1.3+ - Complete Solana development toolkit with advanced cryptography, messaging, and collaboration features. Build secure applications with blockchain, DeFi, and end-to-end encryption.

17 lines (16 loc) 632 B
let _config = { backendUrl: 'https://gorbscan.com', rpcUrl: 'https://rpc.gorbchain.xyz', programIds: { token2022: 'FGyzDo6bhE7gFmSYymmFnJ3SZZu3xWGBA7sNHXR7QQsn', ata: '4YpYoLVTQ8bxcne9GneN85RUXeN7pqGTwgPcY71ZL5gX', metaplex: 'BvoSmPBF6mBRxBMY9FPguw1zUoUg3xrc5CaWf7y5ACkc' } }; export function setGorbchainConfig(cfg) { _config = Object.assign(Object.assign(Object.assign({}, _config), cfg), { programIds: Object.assign(Object.assign({}, _config.programIds), cfg.programIds) }); } export function getGorbchainConfig() { return _config; } export const PROGRAM_IDS = _config.programIds;