Para Server SDK seamlessly integrates with Cosmos-based blockchains through the CosmJS library. Once you’ve set up and authenticated your Para Server client, the Cosmos integration works identically to the client-side implementation.
Before using this integration, ensure you’ve completed the server setup by importing a client session or creating a pregenerated wallet. See the for details.
The Para Cosmos integration supports various Cosmos-based chains. You can specify the chain when creating the signer:
Copy
Ask AI
// For Cosmos Hubconst cosmosSigner = new ParaProtoSigner(paraServer, "cosmos");// For Osmosisconst osmosisSigner = new ParaProtoSigner(paraServer, "osmosis");// For other supported chainsconst otherChainSigner = new ParaProtoSigner(paraServer, "chainName");