User story / Problem statement
Currently wallet-service lives inside this monorepo, but three consumers need it: local
development here, the devnet droplet's container, and cn-darkpools. Each runs its own
forked copy. The droplet's Canton Coin faucet is broken today for exactly that reason.
One canonical repo removes that class of bug.
Expected outcome
wallet-service ships from BootNodeDev/canton-wallet-service and this repo consumes it
as a git dependency pinned to a ref. No npm publish yet. Behaviour is unchanged: this
issue moves the code and nothing else. It ends with the local loop working again.
Acceptance criteria
New repo — BootNodeDev/canton-wallet-service
This repo
End-to-end
Technical notes
- Outside the workspace the
pnpm-workspace.yaml overrides are gone and ^1.1.0 resolves to 1.4.0
- pnpm builds git dependencies on install, so
prepare is what makes dist/ exist
- The Dockerfile's six
COPY <path>/package.json lines exist only to satisfy the monorepo lockfile
- The image is not needed to close this issue, but the file should be correct
- Deleting
canton-barebones/ is a separate follow-up issue
User story / Problem statement
Currently wallet-service lives inside this monorepo, but three consumers need it: local
development here, the devnet droplet's container, and cn-darkpools. Each runs its own
forked copy. The droplet's Canton Coin faucet is broken today for exactly that reason.
One canonical repo removes that class of bug.
Expected outcome
wallet-service ships from
BootNodeDev/canton-wallet-serviceand this repo consumes itas a git dependency pinned to a ref. No npm publish yet. Behaviour is unchanged: this
issue moves the code and nothing else. It ends with the local loop working again.
Acceptance criteria
New repo —
BootNodeDev/canton-wallet-servicecanton-barebones/wallet-service, behaviour unchangedpnpm installbinentrycanton-wallet-servicepoints atdist/server.js, entry carries a shebangpreparescript builds it, so installing produces adist/engines.nodeand.nvmrcmirror this repo's>=24.15.0COPY package.json@canton-network/wallet-sdkpinned to1.3.1,@canton-network/core-acs-readerto1.12.0This repo
canton-barebones/wallet-service/deletedgit+ssh://git@github.com/BootNodeDev/canton-wallet-service.git#<ref>pnpm-workspace.yamlpackage entry removed, SDK overrides no longer needed herebiome.jsonoverride and thewallet-service:devscript removedwallet-serviceservice block removed fromcanton-barebones/docker-compose.yamlscripts/dev-stack.shstarts it withpnpm exec canton-wallet-servicearchitecture.mdand root README drop or repoint the wallet-service rowscanton-barebones/otherwise untouchedEnd-to-end
@bootnodedev/canton-barebonestoolTechnical notes
pnpm-workspace.yamloverrides are gone and^1.1.0resolves to 1.4.0prepareis what makesdist/existCOPY <path>/package.jsonlines exist only to satisfy the monorepo lockfilecanton-barebones/is a separate follow-up issue