Skip to content
CCPEDIAby Unity Nodes
App Development

Daml Hub Does Not See Templates

2 posts325 views2 likesLast activity Dec 2022

  1. VictorShneerOP

    Here is my daml.yaml

    # for config file options, refer to
    # https://docs.daml.com/tools/assistant.html#project-config-file-daml-yaml
    
    sdk-version: 2.4.0
    name: models
    source: daml
    version: 0.0.1
    dependencies:
      - daml-prim
      - daml-stdlib
      - daml-script
    data-dependencies:
      # INTERFACE DEPENDENCIES
      - .lib/daml-finance-interface-holding-0.1.3.dar
      - .lib/daml-finance-interface-instrument-base-0.1.3.dar
      - .lib/daml-finance-interface-settlement-0.1.3.dar
      - .lib/daml-finance-interface-types-0.1.3.dar
    
    codegen:
      java:
        output-directory: ../../../../build/generated/main/java
        verbosity: 2
    
    start-navigator: no
    
    module-prefixes:
      daml-stdlib-2.4.0: STD
    
    build-options:
      - --target=1.15
      - --package=daml-finance-interface-util-0.1.3
    
    
    

    When I build and load dar to the damlhub I don’t see templates in the inspector (LiveData/Add Contract). Why? What can be wrong with the dar that cause this problem?

  2. cocreature 2

    See Hosting Daml Finance App on Daml Hub - #2 by cocreature. You cannot use LF 1.15 on Daml Hub in SDK 2.4.0. This should change with SDK 2.5.0