In this documentation explained how to deposit testnet ropsten ETH from your account to dfinance.
Important: use only ropsten ETH, as all mentioned contracts deployed in ropsten ethereum testnet, and this is experimental software, you can lose your ETH.
Then click on "Transfer" button to transfer ETH from your Metamask account to dfinance blockchain.
After 100+ confirmations you ETH will appear on your account in dfinance.
Parameters of exchange function:
- _currencyId - you can query from contract, or use 0 for ETH.
- _amount - amount of coins/tokens.