Deposit
Last updated
Was this helpful?
Last updated
Was this helpful?
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.
Required:
Ropsten ETH - request from some known faucet, for example, use this .
Go to portal and recover/create an account.
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.
Using you can write a script in a preferred language, or using , or even use any other wallet with support of transaction encoding.
Just send an ethereum transaction to Bridge contract address with ETH and signature/parameters of in Bridge contract.
Parameters of exchange function:
_currencyId - you can query from contract, or use 0 for ETH.
_recipient - your "wallet1..." address converted in right format. how convert address in the same repository.
_amount - amount of coins/tokens.
Currenty deployed Bridge contract can be found by address: .