-
Notifications
You must be signed in to change notification settings - Fork 12
Para Integration #8
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
base: main
Are you sure you want to change the base?
Conversation
gabrieltemtsen
commented
Jul 17, 2025
- Added para wallet implementation
- Added an example transaction to transfer/sign a Transaction
@gabrieltemtsen is attempting to deploy a commit to the Primitives Team on Vercel. A member of the Team first needs to authorize it. |
if (isParaConnected && paraAddress) { | ||
setWalletAddress(paraAddress); // Use Para address if connected | ||
} else if (authenticated && ready && user?.wallet?.address) { | ||
setWalletAddress(user.wallet.address); // Fallback to Privy | ||
} else { | ||
setWalletAddress('') | ||
setWalletAddress(""); | ||
} | ||
}, [user, authenticated, ready]) | ||
}, [isParaConnected, paraAddress, user, authenticated, ready]); |
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.
are we making privy the fallback on purpose?
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.
in cases where Para wallet isn't connected- Yes.