Tutorial

Transferring Tokens with Canton Daml: State and Authorization Compared with Solidity

Transferring Tokens with Canton Daml: State and Authorization Compared with Solidity

When Alice sends all 100 token units to Bob, Bob becomes the person who can spend them next. The Solidity example updates balances by address; the Daml example for Canton consumes Alice’s holding contract and creates Bob’s. They express the same transfer outcome with different units of state and different authorization checks.

Read More
Tags