Prerequisites
- Proto Signer
- Amino Signer
Use the Proto signer for transaction operations like sending tokens, staking, and IBC transfers.
Install
@getpara/react-sdk bundles @getpara/cosmjs-v0-integration — no separate integration package needed.Usage
- Hook (React)
- Direct (Non-React)
Use the hook to create a CosmJS
OfflineDirectSigner for your user’s Para embedded wallet or external wallet. The hook wraps signAndBroadcast in a React Query mutation.Wallet Resolution
When noaddress or walletId is passed, the hook resolves the wallet in this order:- Selected wallet — if the user selected a Cosmos wallet in the UI. If there is only one Cosmos wallet in the session, it is already selected by default
- First Cosmos wallet — the first available Cosmos wallet on the account