widget icon indicating copy to clipboard operation
widget copied to clipboard

Allow ContractCalls in default/split subvariants

Open smartchainark opened this issue 3 months ago • 0 comments

Currently, contractCalls only work in custom subvariant (see useRoutes.ts:276). This limits flexibility for integrators who want to:

  1. Track on-chain transaction data
  2. Use default UI/UX
  3. Avoid custom mode's layout constraints

Proposed Solution: Add a config option to enable ContractCalls in all modes:

config: {
subvariant: 'default',
contractCalls: [...],
enableContractCallsForAllModes: true
}

smartchainark avatar Oct 01 '25 13:10 smartchainark