@lelantos-org/sdk / index / ChainOptions
Type Alias: ChainOptions
ts
type ChainOptions =
| Only<{
chain: ChainAdapter;
}, ChainKeys>
| Only<{
reader: ChainReader;
}, ChainKeys>
| Only<{
readOnly: true;
}, ChainKeys>
| Only<{
signer: EthSigner;
}, ChainKeys>
| Only<{
address: EvmAddressLike;
provider: Eip1193ProviderLike;
}, ChainKeys>
| Only<{
privateKey: Hex;
}, ChainKeys>;Defined in: @lelantos-org/sdk/dist/wallet/connect/options.d.ts:70
How the wallet reads the chain and, where it can, signs as an EOA. Exactly one.
Only deposits (and cancel / allowance setup) need an EOA. Transfers, withdrawals and swaps are authorised by the proof and broadcast by the relayer, so a readOnly or reader wallet spends normally; capabilities.deposit is false for it.