![]() The watcher identifies when ledgers go out-of-sync. When the channel is settled on all targeted ledgers, all funds have been paid out. The contracts identify which assets reside on the same ledger and only payout the corresponding assets. Settling įor settling a channel, the final state is registered on all targeted ledgers. The off-chain update protocol is the same as for single-ledger channels. The funding is complete if the accumulated funding across all ledgers matched the targeted funding balance defined at channel opening. Channel participants must check the funding on all corresponding ledgers. Looking at the Ledger identifier of an asset, the funding component identifies to which ledger the funding transaction must be sent.Ĭheck balance. Funding įor funding a multi-ledger channel, the funding component needs to be capable of communicating with all supported ledgers.įund. ![]() The Perun smart contract must be deployed on all target ledgers. This value uniquely identifies the asset within the namespace of the given ledger. This value identifies the ledger of the asset.Īsset address. We require that an asset is uniquable identifiable across all targeted ledgers.Ī multi-ledger asset generally consists of the following components: For example, if a client detects that a channel is registered only on Ledger A but not on Ledger B, while assets from Ledger A and Ledger B are concerned, then the client will also register the same channel state on Ledger B. If an honest client detects that contracts on different ledgers are out-of-sync, then it must send the corresponding transactions to make the state consistent again. They must ensure that the state of the contracts on different ledgers is kept in-sync. The Perun contract must be deployed on all of them.Ĭlients dispatch on-chain calls on all ledgers identified by the channel assets. The idea behind multi-ledger channels is that assets are uniquely identifiable across targeted ledgers. The ledgers are of the same type (e.g., two EVM-compatible blockchains). Payment channels only (i.e., no forced-execution style app channels). Here, we focus on the following restricted setting: ![]() Multi-ledger channels are channels whose assets can reside on different networks.
0 Comments
Leave a Reply. |