Skip to content

feat(core): implement unified Web3 EIP-712 session lifecycle #1612

Closed
AbhilashG12 wants to merge 5 commits into
pmxt-dev:mainfrom
AbhilashG12:feat/web3-auth-lifecycle
Closed

feat(core): implement unified Web3 EIP-712 session lifecycle #1612
AbhilashG12 wants to merge 5 commits into
pmxt-dev:mainfrom
AbhilashG12:feat/web3-auth-lifecycle

Conversation

@AbhilashG12

Copy link
Copy Markdown
Contributor

Resolves #1606.

Context

The core sidecar previously lacked a unified EIP-712 authentication flow. This resulted in broken sessions, middleware hangs during high traffic, and forced Web3 venues (like Probable) to rely on static, out-of-band API keys instead of programmatic wallet logins.

Architectural Changes

  1. Defined Unified Contract: Added standard Web3 session methods (getAuthNonce, loginWithSignature, logout) to BaseExchange and types.ts.
  2. Probable Implementation: Wired Probable's generated auth endpoints (postAuthLogin, etc.) into the new unified methods via callApi.
  3. SDK Propagation: Exposed the lifecycle methods in openapi.yaml and regenerated the Python and TypeScript SDKs.
  4. Test Coverage: Added isolated unit tests for the Probable auth mapping using mocked API calls.

Next Steps

Once this architectural pattern is reviewed and approved, I plan to implement the exact same interface for Limitless (Resolves #1589) in a follow-up PR to completely eliminate the remaining session-flow gaps.

@AbhilashG12 AbhilashG12 deleted the feat/web3-auth-lifecycle branch July 10, 2026 13:26
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

1 participant