Skip to main content

SDK Plugin Config

Same required pins as Sandbox · SDK Plugin Config (Sepolia · indexer · Gateway contract · Circle USDC + EURC).

FieldTypeRequiredDescription
chainIdbigintyesHost chain (Sepolia: 11155111n)
tenebraeIndexerUrlstringyesNon-empty indexer base URL; trailing slash normalized
tenebraeGatewayContractAddressAddressyesTenebrae protocol on-chain entry point
supportedTokens{ chainId, contract }[]yesAllowlisted ERC-20 rows for this host

Sepolia product pins

const SEPOLIA_CHAIN_ID = 11155111n;
const SEPOLIA_USDC = '0x1c7D4B196Cb0C7B01d743Fbc6116a902379C7238';
const SEPOLIA_EURC = '0x08210F9170F89Ab7658F0B5E3fF39b0E03C594D4';
const SEPOLIA_TENEBRAE_GATEWAY_CONTRACT = '0x0ccD57716A706Fe02294C61936D6aE4ACcF58543';
const TENEBRAE_INDEXER_URL = 'https://indexer.re2.xyz';

const config = {
chainId: SEPOLIA_CHAIN_ID,
tenebraeIndexerUrl: TENEBRAE_INDEXER_URL,
tenebraeGatewayContractAddress: SEPOLIA_TENEBRAE_GATEWAY_CONTRACT,
supportedTokens: [
{ chainId: SEPOLIA_CHAIN_ID, contract: SEPOLIA_USDC },
{ chainId: SEPOLIA_CHAIN_ID, contract: SEPOLIA_EURC },
],
};

Asset id

Use this shape in balance / prepare verbs after initialize. Amount wrapping lives on Methods.

FieldTypeDescription
__type'erc20'Asset kind
contractAddressToken contract
const ASSET_TOKEN_USDC: AssetId = {
__type: 'erc20',
contract: '0x1c7D4B196Cb0C7B01d743Fbc6116a902379C7238',
};

Next