Dpm lacks the upload-dar command
- WallaceKellyOP
The legacy Daml Assistant had an
upload-darcommand. The new Daml Package Manager does not. The migration docs say:Use Declarative API – OR – JSON / gRPC API
Can you give me an example?
- WallaceKelly
From How to upload a DAR archive file:
curl --data-binary @.daml/dist/mymodel-1.0.0.dar http://localhost:7575/v2/packages - luca.campobasso
Please notice that
POST /v2/packageswill be deprecated in a future release.