Local signing

Session Keys

Create and manage a browser-local signing key for fast delegated flows. This is application state, separate from contract method inspection and solver API reads.

Wallet
Not connected
Local session key
Generate or load a browser-local session key for Instant Layer signatures. The private key is encrypted in localStorage.
owner
Connect wallet
session key
Not initialized
expires
Not initialized
private key
Not loaded

Replace the current local session key with a private key from another device.

Sign a plain text message with the loaded session key.

This key cannot sign Instant Layer operations until it is delegated. Grant it below — one wallet prompt, relayed, no native gas.
Gasless session-key authority
Delegate trading and account-management authority to the local session key. Granting is relayed, so it costs no native gas — and because only the account owner may grant, this is the one wallet prompt the key ever needs. Every action it signs afterwards is promptless.
session key
Not initialized
status
Missing 3 of 3
delegation expires
No live grant
scope
3 selectors — trade only (this chain has no gasless account management)

Not delegated yet

3 selectors

Trade lifecycle · 3

  • addMarginToNextVAfunds the margin of the position being opened
  • sendQuoteopens a position
  • requestToClosePositioncloses a position

Revocation cannot be relayed — both steps are wallet transactions that cost native gas. Starting a revoke does not take authority away immediately: the key keeps signing for the full cooldown, and stops by itself when the ETA passes — no second transaction required. Clearing the stored grant afterwards is optional bookkeeping, permissionless, and unnecessary before re-granting — a new grant wipes the stale schedule on its own.

Gasless feecomplete the inputs to estimate