Skip to content

LocalNet testing

HardlyDifficult edited this page Jul 17, 2026 · 3 revisions

LocalNet testing

Consumers can use the published launcher without reaching into node_modules internals:

npx @fairmint/canton-node-sdk start
npx @fairmint/canton-node-sdk verify
npx @fairmint/canton-node-sdk stop

Repository contributors use the pinned quickstart submodules and package scripts:

git submodule update --init --depth 1 libs/splice
git submodule update --init --recursive libs/cn-quickstart
npm install
npm run localnet:verify

bin/canton-localnet, scripts/localnet, and package.json define current containers, ports, readiness, and teardown behavior.

LocalNet mutates Docker state and local volumes. Use the wrapper instead of reusing containers from a different package line, and stop the environment after verification.

Clone this wiki locally