Learn how to create and manage pregenerated wallets for users with Para’s SDK
getUserShare
method:
UserShare
, it’s important that you take extra care with how you store this information.
If you ever face a situation where data becomes compromised across your systems, reach out to the Para team so we can
work on possible key rotation. However, keep in mind that Para does not store backups of this share in case of data
loss.
To mitigate this category of risks, we’ve compiled a few best practices:
UserShares
in-transit and at-rest.UserShare
from your secure storage and load it into Para using the setUserShare
method:
@getpara/server-sdk
@alpha or @getpara/react-sdk/@alpha@getpara/web-sdk
@alpha depending
on your application architecture. The Para client that has the user share loaded is the one that can perform signing
operations.userShare
is set, your Para client functions like any standard wallet. You can now easily integrate with
popular blockchain libraries to perform transactions and other operations.
For detailed integration guides with blockchain ecosystems, see:
fetchPregenWalletsOverride
userShare
associated with the passed pregenId
from your backend.
fetchPregenWalletsOverride
as a field in opts
to the paraClientConfig
userShare
for claiming when the user is first creating an account through the modal flow.
UserShare
from your server to the client. Once received, load it into the Para client:
App-specific vs. Cross-app Usage
UserShare
. After a user claims the wallet, it becomes part of their Para account, allowing them to use it across different Para-integrated applications. This transition from app-managed to user-managed is a key consideration in your implementation strategy.Identifier Management
Secure Storage Practices
User Experience Design
Wallet Type Considerations
Server vs. Client Operations