Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Refactor wallets connection #835

Merged
merged 6 commits into from
Oct 18, 2024
Merged

Refactor wallets connection #835

merged 6 commits into from
Oct 18, 2024

Conversation

JayJay1024
Copy link
Collaborator

@JayJay1024 JayJay1024 commented Oct 9, 2024

Close #633, close #658, close #787

PR-Codex overview

This PR focuses on replacing the RainbowProvider with WalletConnectProvider, updating the dependencies and making various adjustments to integrate the new provider for wallet connectivity and transaction handling.

Detailed summary

  • Removed RainbowProvider and added WalletConnectProvider.
  • Updated .env to include VITE_WALLET_CONNECT_PROJECT_ID.
  • Changed imports from wagmi to viem for wallet client functionality.
  • Adjusted transaction methods to use publicClient.simulateContract.
  • Updated various components to accommodate the new wallet provider.
  • Modified package.json to remove @rainbow-me/rainbowkit and add @reown/appkit and @tanstack/react-query.
  • Updated hooks and components to ensure compatibility with the new wallet provider.

The following files were skipped due to too many changes: pnpm-lock.yaml

✨ Ask PR-Codex anything about this PR by commenting with /codex {your question}

Copy link

changeset-bot bot commented Oct 9, 2024

⚠️ No Changeset found

Latest commit: 36875b0

Merging this PR will not cause a version bump for any packages. If these changes should not result in a new version, you're good to go. If these changes should result in a version bump, you need to add a changeset.

This PR includes no changesets

When changesets are added to this PR, you'll see the packages that this PR includes changesets for and the associated semver types

Click here to learn what changesets are, and how to add one.

Click here if you're a maintainer who wants to add a changeset to this PR

@JayJay1024 JayJay1024 marked this pull request as ready for review October 18, 2024 04:44
@JayJay1024 JayJay1024 merged commit cc59b19 into main Oct 18, 2024
2 checks passed
@JayJay1024 JayJay1024 deleted the jay/refactor-wallets-connect branch October 18, 2024 04:49
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