A TypeScript SDK for dApps: self-custodial accounts, signing, chain access and wallet modules on a headless wallet engine.
- Packages on npm:
@laceio/sdk: accounts, signing, chain access and wallet modules on the wallet engine@laceio/cardano: the Cardano domain layer@laceio/sdkbuilds on, which installs on its own@laceio/cardano-ledgerand@laceio/cardano-trezor: Cardano signing on Ledger and Trezor devices
- Documentation: the developer site
- Releases and their notes: GitHub releases
npm install @laceio/sdkThis repository is the published source of these packages. It is generated from Lace's development repository on each release, and holds the packages and the Lace packages they build from.
For suspected vulnerabilities, follow the process in SECURITY.md. Do not open a public issue for a security matter.
Each release is built and published by this repository's own workflow, from the commit its release tag points at:
- npm provenance links each version to that commit and workflow:
npm audit signaturesverifies an installed version. - A GitHub attestation covers every tarball a release builds, before any
publishes:
@laceio/sdkfor npm and@input-output-hk/lace-sdkfor GitHub Packages, and likewise for each Cardano package a release publishes (@input-output-hk/lace-cardanoand so on). - Builds are reproducible: the same source produces the same bytes, so a release can be rebuilt from this repository and compared.
- Every release is checked before it publishes: a release that breaks an export without the required version bump and prior deprecation stops. Releases and compatibility describes the guarantees in full.
The repository installs from public registries only.
git checkout lace-sdk@0.1.0 # the release to build
npm ci
npm run build # @laceio/sdk
npm run build:cardano # the Cardano packages
npm testEach release publishes every package on its channel, each at its own
version: a stable release on latest, a canary on canary.
apps/lace-sdk—@laceio/sdk; its README documents the API.apps/lace-cardano,apps/lace-cardano-ledgerandapps/lace-cardano-trezor— the Cardano packages.packages/— the Lace contracts, libraries and modules the packages build from, as Lace develops them.
Bug reports and feature requests are welcome: use the issue templates. Questions and ideas go to Discussions. Because this repository is generated, pull requests opened from forks are closed automatically with a pointer to CONTRIBUTING.md, which describes how a change reaches a release.
Licensed under the Apache License, Version 2.0. See LICENSE.