---
stages:
# let's first provision a user account on our first ledger
- send:
source:
account:
id: "world"
ledger: "flows-demo-001"
destination:
account:
id: "users:42"
ledger: "flows-demo-001"
amount:
asset: "USD/2"
amount: 100
# now let's transfer that value to our second ledger
- send:
source:
account:
id: "users:42"
ledger: "flows-demo-001"
destination:
account:
id: "users:42"
# note that we're sending to a different ledger
ledger: "flows-demo-002"
amount:
asset: "USD/2"
amount: 100