Skip to content

Conversation

@ultraviolet10
Copy link

@ultraviolet10 ultraviolet10 commented Apr 9, 2025

TL;DR

Integrated Happy Wallet for session key management, replacing the custom session account implementation.

What changed?

  • Replaced the custom session key generation and management with Happy Wallet's requestSessionKey functionality
  • Updated the UI text and tooltips to reflect the new Happy Wallet integration
  • Added a new storage prefix HAPPY_STORAGE_PREFIX to track whether the player has registered session keys
  • Removed unused private key generation and validation code
  • Updated the session key detection logic to use the new Happy Wallet storage format

Copy link
Author

ultraviolet10 commented Apr 9, 2025

@ultraviolet10 ultraviolet10 changed the title feat: integrate happy session keys mvp integrate happy session keys Apr 9, 2025
@ultraviolet10 ultraviolet10 force-pushed the aritra/integrate-session-keys branch 2 times, most recently from eec16f5 to b2d04f1 Compare April 10, 2025 10:57
@ultraviolet10 ultraviolet10 force-pushed the aritra/happy-primodium-client branch 2 times, most recently from f480155 to 2cbc62d Compare April 10, 2025 11:27
@ultraviolet10 ultraviolet10 force-pushed the aritra/integrate-session-keys branch from b2d04f1 to cf608ca Compare April 10, 2025 11:27
@ultraviolet10 ultraviolet10 force-pushed the aritra/happy-primodium-client branch from 2cbc62d to 70afda9 Compare April 10, 2025 12:12
@ultraviolet10 ultraviolet10 force-pushed the aritra/integrate-session-keys branch from cf608ca to 5efc8e1 Compare April 10, 2025 12:12
@ultraviolet10 ultraviolet10 self-assigned this Apr 10, 2025
@ultraviolet10 ultraviolet10 marked this pull request as ready for review April 10, 2025 13:47
toast.success(`Session account detected! (${sessionAccount.address.slice(0, 7)})`);
}, [sessionAccount]);
if (!isSessionRegistered(playerAddress)) return;
toast.success(`Session account detected! (${playerAddress.slice(0, 7)})`);
Copy link

Choose a reason for hiding this comment

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

nit: keep the terminology consistent: account -> key

@ultraviolet10 ultraviolet10 force-pushed the aritra/happy-primodium-client branch from 70afda9 to 511d8f9 Compare April 11, 2025 07:10
@ultraviolet10 ultraviolet10 force-pushed the aritra/integrate-session-keys branch from 87f014a to ef64724 Compare April 11, 2025 07:10
@ultraviolet10 ultraviolet10 force-pushed the aritra/happy-primodium-client branch from 511d8f9 to 35a200b Compare April 15, 2025 08:01
@ultraviolet10 ultraviolet10 force-pushed the aritra/integrate-session-keys branch from ef64724 to 62b9e0f Compare April 15, 2025 08:01
@ultraviolet10 ultraviolet10 changed the base branch from aritra/happy-primodium-client to graphite-base/4 April 15, 2025 08:14
@ultraviolet10 ultraviolet10 force-pushed the aritra/integrate-session-keys branch from 62b9e0f to 4102a6b Compare April 15, 2025 08:14
@ultraviolet10 ultraviolet10 changed the base branch from graphite-base/4 to 04-15-add_deployed_indexer_url April 15, 2025 08:14
@ultraviolet10 ultraviolet10 force-pushed the aritra/integrate-session-keys branch from 4102a6b to 0c7164e Compare April 15, 2025 08:17
@ultraviolet10 ultraviolet10 force-pushed the 04-15-add_deployed_indexer_url branch from 0157002 to ee3f89c Compare April 15, 2025 09:10
@ultraviolet10 ultraviolet10 force-pushed the aritra/integrate-session-keys branch from 0c7164e to 03ef470 Compare April 15, 2025 09:10
@ultraviolet10 ultraviolet10 force-pushed the aritra/integrate-session-keys branch from 03ef470 to 36fe8b7 Compare April 21, 2025 17:42
Base automatically changed from 04-15-add_deployed_indexer_url to aritra/happy-primodium-client April 22, 2025 16:31
@ultraviolet10 ultraviolet10 changed the base branch from aritra/happy-primodium-client to graphite-base/4 April 23, 2025 11:05
@ultraviolet10 ultraviolet10 changed the base branch from graphite-base/4 to 04-15-add_deployed_indexer_url April 23, 2025 11:05
@ultraviolet10 ultraviolet10 changed the base branch from 04-15-add_deployed_indexer_url to aritra/happy-primodium-client April 30, 2025 11:15
@ultraviolet10
Copy link
Author

changes tracked in #7 instead

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.

3 participants