1.4.0
Released on July 8th, 2026- Optional validatorUrl in the token and amulet namespaces
- Function for retrieving validator party
- Export custom logger types.
- Bug fix: Filter holdings by instrument when creating a transfer.
Documentation Index
Fetch the complete documentation index at: /llms.txt
Use this file to discover all available pages before exploring further.
Wallet SDK 1.4.0 release notes.
import { SDK } from '@canton-network/wallet-sdk'
const sdk = await SDK.create({
auth: {
method: 'self_signed',
issuer: 'unsafe-auth',
credentials: {
clientId: 'ledger-api-user',
clientSecret: 'unsafe',
audience: 'https://canton.network.global',
scope: '',
},
},
ledgerClientUrl: localNetStaticConfig.LOCALNET_APP_USER_LEDGER_URL,
token: {
registries: [
new URL('http://localhost:2000/api/validator/v0/scan-proxy'),
],
auth: {
method: 'self_signed',
issuer: 'unsafe-auth',
credentials: {
clientId: 'ledger-api-user',
clientSecret: 'unsafe',
audience: 'https://canton.network.global',
scope: '',
},
},
},
amulet: {
scanApiUrl: 'http://scanapi:8080',
auth: {
method: 'self_signed',
issuer: 'unsafe-auth',
credentials: {
clientId: 'ledger-api-user',
clientSecret: 'unsafe',
audience: 'https://canton.network.global',
scope: '',
},
},
registryUrl: 'http://registry:8080',
},
})
import { getValidatorParty } from '@canton-network/wallet-sdk'
const validatorParty = await getValidatorParty(
new URL('http://validatorurl'),
{
method: 'self_signed',
issuer: 'unsafe-auth',
credentials: {
clientId: 'ledger-api-user',
clientSecret: 'unsafe',
audience: 'https://canton.network.global',
scope: '',
}
)