Skip to main content

bridge/interfaces/SolanaBridgeConfig.md

Configuration for Solana bridge strategy.

Properties​

PropertyTypeDescription
ethereumPrivateKeystringEthereum private key for EIP-712 signing (GalaChain uses Ethereum signatures)
galaChainWalletAddressstringGalaChain wallet address (eth|<40 hex>; eth|0x... is refused)
galaConnectClientGalaConnectClientGalaConnect API client
sleep?BridgeSleepHow the strategy waits (the backoff before a resend). Default: a timer.
solanaBridgeProgram?stringSolana bridge program ID (default: DEFAULT_SOLANA_BRIDGE_PROGRAM)
solanaConnection?ConnectionThe Solana connection to use (default: one to solanaRpcUrl, commitment confirmed)
solanaPrivateKeyBase58stringSolana private key in base58 format
solanaRpcUrl?stringSolana RPC URL (default: DEFAULT_SOLANA_RPC_URL); unused when solanaConnection is given
tokenConfigs?SolanaTokenConfig[]Token configurations (default: DEFAULT_SOLANA_TOKENS)