Skip to content

Conversation

@taekyunggg
Copy link
Contributor

No description provided.

@taekyunggg taekyunggg force-pushed the tkyng/external-signer branch from 6c895d4 to 12f912b Compare December 4, 2025 19:35
@taekyunggg taekyunggg marked this pull request as ready for review December 8, 2025 16:49
@taekyunggg taekyunggg force-pushed the tkyng/external-signer branch 8 times, most recently from 75359cb to b4efa15 Compare December 9, 2025 20:15
@taekyunggg taekyunggg force-pushed the tkyng/external-signer branch 4 times, most recently from 9d41632 to ee9385a Compare December 9, 2025 22:01
expiry,
appControllerAddress: this.config.appControllerAddress as Address,
publicClient,
signMessage: this.signMessage,
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

we need to rethink how we handle authenticated requests when using a browser wallet. currently this requests a signature on every call (every 5 seconds in watchUntilRunning). we should cache the signature until expiry and bump the expiry to something longer. should also look into sign-in sessions for the best UX

@taekyunggg taekyunggg force-pushed the tkyng/external-signer branch 2 times, most recently from 3423c4f to 8e453c6 Compare December 10, 2025 18:51
@taekyunggg taekyunggg force-pushed the tkyng/external-signer branch from 8e453c6 to f35c9f1 Compare December 11, 2025 21:39
interface WalletClientModeOptions extends BaseOptions {
walletClient: WalletClient;
publicClient: PublicClient;
privateKey?: never;
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

what does never mean?

Comment on lines +62 to +63
// const userApiClient = new UserApiClient(environmentConfig, privateKey, rpcUrl, clientId);
// const { environmentConfig, appId, rpcUrl } = options;
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

remove?

// rpcUrl: string;
// environmentConfig: EnvironmentConfig;
// appId: Address;
// clientId?: string;
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

remove comments

Comment on lines +178 to +179
// const userApiClient = new UserApiClient(environmentConfig, privateKey, rpcUrl, clientId);
// const { environmentConfig, appId, rpcUrl } = options;
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

remove

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants