Skip to main content

EtherPortal

The EtherPortal allows anyone to perform transfers of Ether to a dApp while informing the off-chain machine.

depositEther()

function depositEther(address _dapp, bytes _execLayerData) external payable

Transfer Ether to a dApp and add an input to the dApp's input box to signal such operation.

All the value sent through this function is forwarded to the dApp.

Parameters

NameTypeDescription
_dappaddressThe address of the dApp
_execLayerDatabytesAdditional data to be interpreted by the execution layer

On this page

Useful resources to learn more

© 2024 Cartesi Foundation Ltd. All rights reserved.

The Cartesi Project is commissioned by the Cartesi Foundation.

We use cookies to ensure that we give you the best experience on our website. By using the website, you agree to the use of cookies.