DAML on Avalanche
Fuji Testnet
Home
Playground
RPC Docs
DAML Editor
Upload DAR
Parties & Wallet
Templates
Create Contract
Exercise Choice
Active Contracts
DAML Editor
Write DAML source, compile to Canton templates, and deploy to the L1.
Bond.daml
editor
module Bond where template Bond with issuer : Party owner : Party name : Text amount : Int64 currency : Text where signatory issuer observer owner choice Transfer : ContractId Bond with newOwner : Party controller owner do create this with owner = newOwner choice Settle : () controller issuer do return ()
Compile