New:Microsoft Teams Notifications Are Now Available in Socket.Learn more
Get Started

@canton-network/core-signing-store-wxt

Package Overview
Dependencies
Maintainers
5
Versions
4
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@canton-network/core-signing-store-wxt

WXT implementation of the Store API

latest
Source
npmnpm
Version
1.2.2
Version published
Maintainers
5
Created
Source

@canton-network/core-signing-store-wxt

A WxtStore is a browser-extension implementation of the SigningDriverStore interface from @canton-network/core-signing-lib backed by @wxt-dev/storage.

This store persists signing keys, signing transactions, and per driver configuration in the extension's local storage area.

The extension is single-user, so all data for a given record type is kept in a single flat array under one storage key rather than one storage imem per record plus separate lookup indexes.

DataStorage keyShape
Signing Keyslocal:signingKeysSigningKeyRecord[]
Signing Transactionslocal:signingTransactionsSigningTransactionRecord[]
Driver configlocal: signingDriverConfigItemSigningDriverConfigRecord

Usage

import { WxtStore } from '@canton-network/core-signing-store-wxt'

const userId = 'myUser'
const store = new WxtStore(userId)
await store.setSigningKey(userId, {
    id: 'key1',
    name: 'pkey1',
    publicKey: '...',
    privateKey: '...',
    createdAt: new Date(),
    updatedAt: new Date(),
})

const key = await store.getSigningKeyByName(userId, 'pkey1')
const allKeys = await store.listSigningKeys(userId)

FAQs

Package last updated on 17 Sep 2026

Related posts