Decentralized staking

Decentralized staking

DIGEX

How decentralized staking of DIGEX tokens works via a smart contract

You may need decentralized staking via a smart contract if you have purchased DIGEX tokens on a third-party exchange, for example, Mercatox, VinDax, Exrates, Catex, Alterdice, IndoEx, ProBit etc., where there is no built-in staking, as in Digex.io exchange. The advantage of decentralized staking is that only you can control your tokens, no intruder can steal them without access to your ETH wallet, even if he can access your exchange account, all data is stored in the Etherium blockchain and completely transparent. In addition, you can quickly withdraw tokens to your wallet at any time and transfer them to any third-party exchange for sale. The current staking percentage is the same as on the Digex exchange: 0.5% per day, it will decline regularly for 1-2 years.

In order to put DIGEX tokens for decentralized staking through a smart contract, you first need to withdraw the tokens from a third-party exchange to your own ETH wallet, for example, at https://www.myetherwallet.com or at https://metamask.io

In order to see the DIGEX tokens in your wallet, at https://www.myetherwallet.com you need to click the "Custom tokens" button, enter the address of the token contract 0x763f8b4fb067190e739ed6acb12f40f2f3890840, the DIGEX token symbol, 0 decimals and click "save". In case of using MetaMask Eth wallet, you need to click the "Add token" button, select the "Custom token" tab and enter the address of the token contract.

From your ETH wallet, you can transfer tokens to the staking smart contract: 0x8581b6dd38823c23a2640ac8a5f1016287bc401a

Before transferring, make sure that your ETH wallet has some ETH to pay for the transaction fee, for example, $5-10 (the transaction speed depends on the transfer cost).

At any time you can check the balance of your staking funds. To do this, at https://etherscan.io/address/0x8581b6dd38823c23a2640ac8a5f1016287bc401a click "Contract" - "Read contract" (info functions) and check what deposit you have (getDeposit) and how much interest has been added (getDividends) or check the amount of the deposit and accrued interest (getAvailable). In the same place, by clicking the "Write contract" button, you can order withdrawal of interest (withdrawDeposit) and deposit (withdrawDividents) or the entire amount at once (withdrawAll). It is not necessary to interact with a smart contract in this way; a withdrawal from staking can also be requested in a simpler way, which is described below.

To receive tokens accrued as interest, you can send to staking smart contract 0x8581b6dd38823c23a2640ac8a5f1016287bc401a 0 (zero) eth from your wallet where you sent tokens for staking from. If you specify your own eth-address in the HEX DATA of transaction, then you will receive not only interest, but also the entire deposit. You can send a transfer through MetaMask, it automatically calculates the required transfer fee. Your ETH wallet must have funds to pay for the transaction fee (for example, $10).

If you are not sure if you figured it out, you can test with a small amount - the minimum deposit for staking is 50000 tokens, interest is added every second.

IMPORTANT: do not transfer tokens from the exchange directly to the staking smart contract, only to your ETH wallet, because a withdrawal from staking can only be requested by the ETH account, from which the deposit was made.

For security purposes, keep the seed for your ETH wallet off-line on paper (do not store it on your computer or the Internet) or use a hardware wallet. If you lost access to your ETH wallet after sending funds for staking, then restore access to the ETH wallet using the seed phrase recorded on paper and send 0 ETH from this wallet to the staking smart contract to receive your tokens.

The smart contract has publicly viewable source code and is verified: https://etherscan.io/address/0x8581b6dd38823c23a2640ac8a5f1016287bc401a

Smart contract security audit: https://digex.io/docs/staking_eng.pdf

Report Page