Skip to main content

SDK Plugin Config

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

FieldTypeRequiredDescription
chainIdbigintyeschain (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

Import deployment pins from @tenebra/shared/constants/tenebrae-sdk/tenebrae-sdk-lab-sepolia.constants — do not hardcode gateway or token addresses in integrator apps.

import {
TENEBRAE_SDK_LAB_SEPOLIA_CHAIN_ID,
TENEBRAE_SDK_LAB_SEPOLIA_EURC,
TENEBRAE_SDK_LAB_SEPOLIA_GATEWAY,
TENEBRAE_SDK_LAB_SEPOLIA_USDC,
} from '@tenebra/shared/constants/tenebrae-sdk/tenebrae-sdk-lab-sepolia.constants';

const TENEBRAE_INDEXER_URL = 'https://indexer.re2.xyz';

const config = {
chainId: TENEBRAE_SDK_LAB_SEPOLIA_CHAIN_ID,
tenebraeIndexerUrl: TENEBRAE_INDEXER_URL,
tenebraeGatewayContractAddress: TENEBRAE_SDK_LAB_SEPOLIA_GATEWAY,
supportedTokens: [
{ chainId: TENEBRAE_SDK_LAB_SEPOLIA_CHAIN_ID, contract: TENEBRAE_SDK_LAB_SEPOLIA_USDC },
{ chainId: TENEBRAE_SDK_LAB_SEPOLIA_CHAIN_ID, contract: TENEBRAE_SDK_LAB_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: TENEBRAE_SDK_LAB_SEPOLIA_USDC,
};

Next