You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository was archived by the owner on Aug 24, 2023. It is now read-only.
Bi-directional bridging of assets between Native & Meta Chain. Essentially a trustless bridge between the 2 chain within the same ecosystem. This requires understanding of the current trustless bridging design that earmark to be documented in #8.
Introduction of 2 Smart Contract (DfTX & EVM Contract). All supply of DFI comes from the Native Chain. Burning on Native = minting on Meta and vice-versa.
This requires the relevant Transactions to be performed and exchanged between chains. The transaction must be interpolated from 2 chains.
Native DfTx.Meta.send(pubKey, AccountDFI.Amount), burn from Account, claim on EVM
Meta Contract.send(pubKey, EVMNativeDFI.Amount), burn from Contract, claim on Native Account
Implementation on Native DMCHandler() and Meta Connect/Mint Handler
The proposed use of a global counter on both Native and Meta to track balance movement to set governance limits.
RPC metaConsensusRpc_mintBlock and handled on Native DMCHandler():
Extract "DfTx.Meta.send" on Native and pass it as structured request params when minting block on MetaChain. MetaChain will automatically include "minting" transaction crediting to the respective address.
RPC metaConsensusRpc_connectBlock and handled on Native DMCHandler():
Extract "Meta Contract.send" on Meta and return it as a structured response for DMCHandler() to process "bridging claims" on the Native layer via DMCHandler(). Burn Meta > Mint Native.
What would you like to be added:
Bi-directional bridging of assets between Native & Meta Chain. Essentially a trustless bridge between the 2 chain within the same ecosystem. This requires understanding of the current trustless bridging design that earmark to be documented in #8.
Introduction of 2 Smart Contract (DfTX & EVM Contract). All supply of DFI comes from the Native Chain. Burning on Native = minting on Meta and vice-versa.
This requires the relevant Transactions to be performed and exchanged between chains. The transaction must be interpolated from 2 chains.
DfTx.Meta.send(pubKey, AccountDFI.Amount), burn from Account, claim on EVMContract.send(pubKey, EVMNativeDFI.Amount), burn from Contract, claim on Native AccountImplementation on Native
DMCHandler()and MetaConnect/MintHandlerRPC
metaConsensusRpc_mintBlockand handled on NativeDMCHandler():Extract "
DfTx.Meta.send" on Native and pass it as structured request params when minting block on MetaChain. MetaChain will automatically include "minting" transaction crediting to the respective address.RPC
metaConsensusRpc_connectBlockand handled on NativeDMCHandler():Extract "
Meta Contract.send" on Meta and return it as a structured response forDMCHandler()to process "bridging claims" on the Native layer viaDMCHandler(). Burn Meta > Mint Native.