While we're migrating into Matic chain (sidechain of Ethereum) we needed to make so specific changes so our payment system would be ready to cross chain transactions.
Important changes:
deployRegistry script will deploy smart contract into same address on any EVM compatible chain
registerIdentity call requires chainID so it would be not re-playable on another chain.
Added openConsumerChannel function so it would be possible to open consumer channel without its signature (for better user experience)
registry could have parent registry and can expose parents registered identities
Hermes smart contract exposes payAndSettle function which is needed for funds withdrawal (without hermes fee) it also will be used for cross chain transfers
While we're migrating into Matic chain (sidechain of Ethereum) we needed to make so specific changes so our payment system would be ready to cross chain transactions.
Important changes:
deployRegistry
script will deploy smart contract into same address on any EVM compatible chainregisterIdentity
call requireschainID
so it would be not re-playable on another chain.openConsumerChannel
function so it would be possible to open consumer channel without its signature (for better user experience)payAndSettle
function which is needed for funds withdrawal (without hermes fee) it also will be used for cross chain transfers