CosmJS v0
ParaProtoSigner.signDirect
Signs a protobuf Cosmos SignDoc with the selected Para wallet.
Documentation Index
Fetch the complete documentation index at: /llms.txt
Use this file to discover all available pages before exploring further.
Signs a protobuf Cosmos SignDoc with the selected Para wallet.
import type { Para as ParaServer } from '@getpara/server-sdk';
import { createParaProtoSigner } from '@getpara/cosmjs-v0-integration';
import type { SignDoc } from 'cosmjs-types/cosmos/tx/v1beta1/tx';
declare const para: ParaServer; // An authenticated Para Server client with a loaded Cosmos wallet.
const signer = createParaProtoSigner({ para, prefix: 'cosmos' });
declare const signDoc: SignDoc;
const response = await signer.signDirect(signer.address, signDoc);