Skip to content

Conversation

gabrieltemtsen
Copy link

  • Added para wallet implementation
  • Added an example transaction to transfer/sign a Transaction

Copy link

vercel bot commented Jul 17, 2025

@gabrieltemtsen is attempting to deploy a commit to the Primitives Team on Vercel.

A member of the Team first needs to authorize it.

Comment on lines +18 to +25
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]);
Copy link

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?

Copy link
Author

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.

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.

2 participants