-
Notifications
You must be signed in to change notification settings - Fork 144
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
Added okxwallet #910
Added okxwallet #910
Conversation
@Emmanex01 is attempting to deploy a commit to the LFG Labs Team on Vercel. A member of the Team first needs to authorize it. |
WalkthroughThe changes introduce a new wallet connector, Changes
Assessment against linked issues
Possibly related PRs
Suggested reviewers
Thank you for using CodeRabbit. We offer it for free to the OSS community and would appreciate your support in helping us grow. If you find it useful, would you consider giving us a shout-out on your favorite social media? 🪧 TipsChatThere are 3 ways to chat with CodeRabbit:
Note: Be mindful of the bot's finite context window. It's strongly recommended to break down tasks such as reading entire modules into smaller chunks. For a focused discussion, use review comments to chat about specific files and their changes, instead of using the PR comments. CodeRabbit Commands (Invoked using PR comments)
Other keywords and placeholders
CodeRabbit Configuration File (
|
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Actionable comments posted: 0
🧹 Outside diff range and nitpick comments (1)
app/provider.tsx (1)
40-40
: Consider optimizing wallet connector order.The OKX wallet is positioned between Argent X and Web Wallet. Consider grouping similar wallet types together (e.g., all injected wallets) for better UX.
Consider this ordering:
new InjectedConnector({ options: { id: "braavos", name: "Braavos" } }), new InjectedConnector({ options: { id: "argentX", name: "Argent X" } }), + new InjectedConnector({ options: { id: "keplr", name: "Keplr" } }), new InjectedConnector({ options: { id: "okxwallet", name: "Okx Wallet" } }), new WebWalletConnector({ url: getCurrentNetwork() === "TESTNET" ? "https://web.hydrogen.argent47.net" : "https://web.argent.xyz/", }), new ArgentMobileConnector({ dappName: "Starknet Quest", url: process.env.NEXT_PUBLIC_APP_LINK as string, chainId: constants.NetworkName.SN_MAIN, icons: ["https://starknet.quest/visuals/starknetquestLogo.svg"], }), - new InjectedConnector({ options: { id: "keplr", name: "Keplr" } })
📜 Review details
Configuration used: CodeRabbit UI
Review profile: CHILL
📒 Files selected for processing (1)
- app/provider.tsx (1 hunks)
🔇 Additional comments (1)
app/provider.tsx (1)
40-40
: Implementation looks good, but needs runtime verification.The OKX wallet integration follows the correct pattern using
InjectedConnector
. However, we should ensure proper error handling when the wallet is not available.Let's verify the wallet integration pattern across the codebase:
The latest updates on your projects. Learn more about Vercel for Git ↗︎
|
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Lgtm!
I addded an okxwallet
Please add the labels corresponding to the type of changes your PR introduces:
Resolves: #908
Other information
Summary by CodeRabbit