Canton-deploy: Deploy Daml packages to a Canton validator directly from your Daml project
- makeavishOP
Hey Canton builders!
I’m Vishwas, Co-Founder of LYNC.
If you’ve deployed a Daml package to a validator, you know the process: dpm build, find the DAR, push it over the Admin API, vet it, allocate the parties, create the user, grant rights, then check it actually landed. Everything manually, every time, on every network.
We built canton-deploy to make that one command.
It’s a DPM component, so it lives in yourdaml.yamland runs from your project root:dpm add component ghcr.io/lync-world/canton-deploy:0.1.1 dpm install package dpm canton-deploy init dpm canton-deploy deploy --network localnetWhat can you do with it?
deploybuilds, uploads, vets, allocates your parties and onboards your users in one go.
The rest of the CLI covers the things you’d otherwise open a console for:status,dars,packages,parties,users,contracts,runfor Daml Scripts.
Network profiles (localnet / devnet / your own) live in one config file.Getting started
Read the documentation and try canton-deployHow does it work with your project?
Tell us what worked, where you got stuck, or what’s missing from your deployment workflow. A short reply with your setup and feedback would be really helpful.
If you know another team building on Canton, please share this with them. We’d love to connect!