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

Onramp support any network #2029

Draft
wants to merge 3 commits into
base: main
Choose a base branch
from
Draft

Conversation

rustam-cb
Copy link
Contributor

What changed? Why?

  • Added walletAddress and walletNetwork props to FundCard and FundButton` components to enable these components for any network.

Notes to reviewers

How has it been tested?

@github-actions github-actions bot added documentation Improvements or additions to documentation pkg: wallet pkg: fund labels Feb 21, 2025
Copy link

vercel bot commented Feb 21, 2025

The latest updates on your projects. Learn more about Vercel for Git ↗︎

Name Status Preview Comments Updated (UTC)
onchainkit-coverage ✅ Ready (Inspect) Visit Preview 💬 Add feedback Feb 21, 2025 0:05am
onchainkit-playground ✅ Ready (Inspect) Visit Preview 💬 Add feedback Feb 21, 2025 0:05am

@@ -25,6 +25,8 @@ import type {
type FundCardContextType = {
asset: string;
currency: string;
walletAddress?: string;
walletNetwork?: string;
Copy link
Contributor

Choose a reason for hiding this comment

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

shouldn't you be able to get the address and network from wagmi if you set this up with the solana wagmi connector? or does wagmi not work properly?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
documentation Improvements or additions to documentation pkg: fund pkg: wallet
Development

Successfully merging this pull request may close these issues.

2 participants