forked from wormhole-foundation/wormhole
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathdaml.yaml
More file actions
37 lines (37 loc) · 1.84 KB
/
Copy pathdaml.yaml
File metadata and controls
37 lines (37 loc) · 1.84 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
# Example package: the Wormhole token-bridge "lock-and-attest" send path on the
# Canton Network Token Standard (CIP-0056). NOT part of the production
# wormhole-core DAR. Contains a minimal in-repo token registry (token +
# TransferFactory) implementing the standard's Holding/TransferInstruction
# interfaces, the TokenBridge orchestrator, and Daml Script tests.
#
# Vendored standard DARs live under .lib/ (see .lib/THIRD_PARTY.md for pinned
# versions and provenance). It data-depends on the built wormhole-core DAR for
# the Emitter / PublishMessage primitive.
sdk-version: 3.5.1
name: wormhole-token-bridge-example
version: 0.1.0
source: daml
dependencies:
- daml-prim
- daml-stdlib
- daml-script
data-dependencies:
- ../../core/.daml/dist/wormhole-core-0.2.0.dar
- .lib/splice-api-token-metadata-v1-1.0.0.dar
- .lib/splice-api-token-holding-v1-1.0.0.dar
- .lib/splice-api-token-transfer-instruction-v1-1.0.0.dar
# Allocation interface for the CN Token Standard message-fee payments that
# wormhole-core 0.2.0 threads through PublishMessage. Referenced from the
# shared ../../dars/ copy (not .lib/) so its package-id is identical to the one
# wormhole-core was built against — a different copy would produce a
# conflicting DALF at link time (see ../../dars/README.md).
- ../../dars/splice-api-token-allocation-v1-1.0.0.dar
build-options:
# Daml-LF 2.3 (Protocol Version 35), matching wormhole-core. LF 2.3 enables the
# contract key this example keeps on 'TokenBridge'; wormhole-core itself no
# longer uses keys (identity is registry-derived — see the core README §4).
- --target=2.3
# This is an example package that intentionally bundles its Daml Script tests
# with the templates; it is never uploaded to a participant, so the
# script-in-template-package warning does not apply.
- -Wno-template-interface-depends-on-daml-script