digital-asset / daml

The Daml smart contract language
https://www.digitalasset.com/developers
797 stars 199 forks source link

`daml init` should create the daml/Main.daml file #14048

Open StephenOTT opened 2 years ago

StephenOTT commented 2 years ago

What is the problem you want to solve?

when you run daml init it creates a single daml.yaml file. But the yaml file references a Main.daml file that is not created.

What is the solution you would propose?

Create the daml/Main.daml file with a simple starter template. the yaml already references parties alice and bob.

If init is not supposed to be used as a jump-start, and it is supposed to be a empty skeleton, then it would make more sense to remove the parties from the yaml and create the Main.daml file.

stefanobaghino-da commented 2 years ago

@ray-roestenburg-da Makes sense, added to the backlog. Evaluate whether this could be a gardening topic.