🎩 You're Invited:Meet the Socket team at Black Hat in Las Vegas, August 3-6.RSVP
Sign In

@canton-network/core-signing-lib

Package Overview
Dependencies
Maintainers
4
Versions
60
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@canton-network/core-signing-lib

Core library for signing driver implementations

latest
Source
npmnpm
Version
1.8.0
Version published
Weekly downloads
91K
7.99%
Maintainers
4
Weekly downloads
 
Created
Source

signing-lib

This library provides:

  • The OpenRPC typing and controller code generated from api-specs/openrpc-signing-api.json
  • A standard interface for signing drivers to implement:
export interface SigningDriverInterface {
    partyMode: PartyMode
    signingProvider: SigningProvider
    controller: (authContext: AuthContext | undefined) => Methods
}

The controller function should be an implementation of buildController from ./src/rpc-gen/index.ts which takes an optional AuthContext.

To see a simple example of a signing driver, see core/singing-internal.

Important Note

Other than the optional internalTxId parameter in signTransaction, ALL instances of txId refer to the TransactionID given by the signing provider, not the Wallet Gateway.

While some signing providers allow an external transaction to be stored with the transaction, this cannot be relied upon, therefore in order to lookup specific transactions, the Wallet Gateway must store and use the transaction ID given by the signing provider (which is returned by the signTransaction method).

FAQs

Package last updated on 08 Jul 2026

Did you know?

Socket

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts