Skip to content

Conversation

@ultraviolet10
Copy link

@ultraviolet10 ultraviolet10 commented Apr 4, 2025

Integrate HappyWallet into Primodium Client

This PR adds support for HappyWallet integration:

  • Added happy.tech dependencies (@happy.tech/core and @happy.tech/react)
  • Wrapped the app with HappyWalletProvider in the main index.tsx
  • Added HappyWallet icon to the connectors list
  • Updated default chain ID in .env.example to "happyChainSepolia"
  • Added HappyWallet icon asset

Copy link
Author

ultraviolet10 commented Apr 4, 2025

This stack of pull requests is managed by Graphite. Learn more about stacking.

@ultraviolet10 ultraviolet10 changed the title feat: integrate happy wallet into primodium client happy wallet 🤝🏻 primodium/client Apr 4, 2025
@ultraviolet10 ultraviolet10 requested review from aodhgan and norswap April 4, 2025 09:15
@ultraviolet10 ultraviolet10 self-assigned this Apr 4, 2025
@ultraviolet10 ultraviolet10 marked this pull request as ready for review April 4, 2025 09:15
@ultraviolet10 ultraviolet10 force-pushed the aritra/happy-primodium-core branch from b9a3c9c to a2e22e8 Compare April 10, 2025 10:19
@ultraviolet10 ultraviolet10 force-pushed the aritra/happy-primodium-client branch 4 times, most recently from 2cbc62d to 70afda9 Compare April 10, 2025 12:12
@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/happy-primodium-core branch from 9c094d5 to 32364c4 Compare April 11, 2025 07:10
@ultraviolet10 ultraviolet10 changed the base branch from aritra/happy-primodium-core to graphite-base/3 April 15, 2025 08:01
@ultraviolet10 ultraviolet10 force-pushed the aritra/happy-primodium-client branch from 511d8f9 to 35a200b Compare April 15, 2025 08:01
@ultraviolet10 ultraviolet10 changed the base branch from graphite-base/3 to main April 15, 2025 08:01
try {
const txHash = await txPromise;
// await waitForTransaction(txHash); // doesn't work
await waitForTransaction(txHash);
Copy link
Author

Choose a reason for hiding this comment

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

this was earlier commented out since it was giving an error for not being able to fetch a receipt → the fix here (made earlier but untested for this flow) to initialise the publicClient in createNetwork using a custom connector with the happyProvider

Copy link
Author

Choose a reason for hiding this comment

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

@ultraviolet10 ultraviolet10 requested a review from aodhgan April 15, 2025 09:13
@ultraviolet10 ultraviolet10 force-pushed the aritra/happy-primodium-client branch from 285c8d9 to 317fa92 Compare April 23, 2025 11:05
@aodhgan aodhgan merged commit 5aff3c4 into main May 13, 2025
1 of 3 checks passed
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