Interface: EthereumBridgeConfig
GalaChain core SDK 1.0.0-rc.8 / bridge / EthereumBridgeConfig
Interface: EthereumBridgeConfig
Defined in: packages/gala-core-sdk/dist/bridge.d.ts:2188
Configuration for Ethereum bridge strategy.
Properties
ethereumBridgeContract
ethereumBridgeContract:
string
Defined in: packages/gala-core-sdk/dist/bridge.d.ts:2201
Ethereum bridge contract address: where inbound deposits (and their approvals and permits) go.
Required: there is no default (getEthereumBridgeContractByEnvironment gives the deployed one).
ethereumPrivateKey
ethereumPrivateKey:
string
Defined in: packages/gala-core-sdk/dist/bridge.d.ts:2194
Ethereum private key for signing
ethereumRpcUrl?
optionalethereumRpcUrl?:string
Defined in: packages/gala-core-sdk/dist/bridge.d.ts:2196
Ethereum RPC URL (default: DEFAULT_ETHEREUM_RPC_URL)
ethereumWalletAddress?
optionalethereumWalletAddress?:string
Defined in: packages/gala-core-sdk/dist/bridge.d.ts:2203
Ethereum wallet address (derived from private key if not provided)
galaChainWalletAddress
galaChainWalletAddress:
string
Defined in: packages/gala-core-sdk/dist/bridge.d.ts:2192
GalaChain wallet address (eth|<40 hex>; eth|0x... is refused)
galaConnectClient
galaConnectClient:
GalaConnectClient
Defined in: packages/gala-core-sdk/dist/bridge.d.ts:2190
GalaConnect API client
sleep?
optionalsleep?:BridgeSleep
Defined in: packages/gala-core-sdk/dist/bridge.d.ts:2207
How the strategy waits (the delay before an inbound registration). Default: a timer.
tokenConfigs?
optionaltokenConfigs?:EthereumTokenConfig[]
Defined in: packages/gala-core-sdk/dist/bridge.d.ts:2205
Token configurations (default: ETHEREUM_TOKENS_PROD)