3Upload .dars

If you have a method of connecting to the Canton Console then you can use the upload command (documentation herearrow-up-right) to easily upload .dar files:

canton.dars.upload(“my.dar”)

Otherwise, you can adapt the following shell script:

chevron-rightShell Scripthashtag

https://gitlab.com/obsidian.systems/cantonswap-docs/-/blob/main/upload-dar.sharrow-up-right

curl https://gitlab.com/obsidian.systems/cantonswap-docs/-/raw/main/upload-dar.sh
1

Upload the Tradecraft .dar File

Download the Tradecraft .dar file and upload it to your participant node:

https://s3.us-east-2.amazonaws.com/tradecraft.dar/tradecraft-0.0.12.dararrow-up-right

2

Upload the Utility App .dar Files

The Utility App .dar files need to be installed on your validator for certain trades to work.

Download the entire bundle and upload each .dar to your participant node:

Only the .dar files need to be uploaded, you do not need to install the UI.

Last updated

Was this helpful?