Kreivo Pass Signer
The KreivoPassSigner is the bridge between an Authenticator (SubstrateKey, WebAuthn) and the Polkadot API.
Usage
ts
const kreivoPassSigner = new KreivoPassSigner(sk);
const accountId = ss58Encode(kreivoPassSigner.publicKey, 2);
const remark = Binary.fromText('Hello, Kreivo!');
const tx = api.tx.System.remark_with_event({ remark });
const txHash = await tx.signAndSubmit(kreivoPassSigner);