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
Currently, WFLOW is blocked from being bridged to Cadence since it only exists as an ecosystem primitive in EVM without analogous use case in Cadence. Additionally, moving FLOW between VMs via the bridge is only allowed en route to EVM and is blocked on the route back to Cadence. This is a fragmented pattern and can create unclear edge cases.
Proposed solution
Since there exists a native interface for depositing & withdrawing FLOW between VMs without reliance on the bridge, the proposed solution involves treating requests to move FLOW between VMs via the bridge as requests to wrap & unwrap FLOW.
Moving FLOW from Cadence -> EVM: Wraps FLOW and deposits in EVM to the named recipient
Moving FLOW from EVM -> Cadence: Unwraps FLOW from the calling COA returns a FlowToken Vault
The only caveat here is to check with Flow Wallet and Flow Port to ensure that they use the intended interface to bridge FLOW - via EVM.EVMAddress.deposit() and are not using the bridge to deposit FLOW to EVM recipients. This is likely to be true, but deserves a quick discovery.
The text was updated successfully, but these errors were encountered:
Issue To Be Solved
Currently, WFLOW is blocked from being bridged to Cadence since it only exists as an ecosystem primitive in EVM without analogous use case in Cadence. Additionally, moving FLOW between VMs via the bridge is only allowed en route to EVM and is blocked on the route back to Cadence. This is a fragmented pattern and can create unclear edge cases.
Proposed solution
Since there exists a native interface for depositing & withdrawing FLOW between VMs without reliance on the bridge, the proposed solution involves treating requests to move FLOW between VMs via the bridge as requests to wrap & unwrap FLOW.
Moving FLOW from Cadence -> EVM: Wraps FLOW and deposits in EVM to the named recipient
Moving FLOW from EVM -> Cadence: Unwraps FLOW from the calling COA returns a FlowToken Vault
The only caveat here is to check with Flow Wallet and Flow Port to ensure that they use the intended interface to bridge FLOW - via
EVM.EVMAddress.deposit()
and are not using the bridge to deposit FLOW to EVM recipients. This is likely to be true, but deserves a quick discovery.The text was updated successfully, but these errors were encountered: