Contract base staking guide for small QKC stakers

bukum86
3 min readFeb 13, 2020

--

QKC DEVs have finally created smart contract which will allow small staker to stake their QKC native coins and earn back some interest. Contract code can be found on their github page on following link:

https://github.com/QuarkChain/quarkchain-contracts/blob/master/contracts/StakingPool.sol

QKC POWS RENT deployed contracts, at the time of writing, on chain 1 and chain 2 with following wallet addresses:

Chain1

0xDe04A5a1723c835e4245E33E91325a0831233bCc00015707

Chain2

0x89E880840dC1278351345ADf31c7377C898B016200025707

Chain3

0xDd9Db87AF14076abE0751DBD8BF216FFAc58699900036a28

More contracts might be created based on users feedback

Staker can send their QKC to above mentioned contract wallets in minimal amounts of 20k QKC for chain1 and 40K QKC for chain2, using gas limit of 200,000. Coins and contract have to be on same chain (if you wish to stake coins on chain2 contract, move coins to chain2 before sending them to contract address otherwise transaction will fail). At the time of writing chain2 have much lower mining difficulty and it is more favorable for mining. Please feel free to join our Telegram group and ask admin which chain is most favorable at the moment.

BEFORE SENDING BIGGER AMOUNTS OF QKC TO CONTRACT MAKE SURE YOU UNDERSTAND HOW TO USE IT!

To access functions of contract (withdraw stakes, check balance of your stake etc.), go to DApps in your qPocker wallet and go to Mainnet wallet. Contract can be accessed in same way via webwallet (using Metamask).

In top right corner access the menu and click on contract

Choose the right chain of your wallet (from which you sent stakes), paste contract address and ABI / JSON interface from following link http://tny.im/kjA . Click on Access. You should see Select a function drop down menu.

To check your current balance, deposit + earnings from staking choose calculateStakesWithDividend, paste your coinbase address (address without last 8 digits) and press read.

To withdraw your stake go to withdrawStakes, enter amount which you would like to withdraw (please noted that 20k QKC is 20000e+18) and press Write. Click Ok and enter your wallet password. Scroll down to the bottom of the page and Submit transaction.

In the same way you can explore other parts of the contract like poolsize, total stakes, miner rewards etc.

If you wish to stake bigger amounts of QKC (several millions of coins) please contact our admins on telegram group https://t.me/QKCPOSWPOOL and we will mine directly to your wallet.

DO NOT SEND QKC TO OTHER ADDRESSES EXCEPT ABOVE MENTIONED CONTRACT ADDRESSES. Someone can pretend to be part of QKCPOSWPOOL team and ask you otherwise! Stay safe, stay smart! New contracts which might be added will be announced on our Telegram group.

Current ROI for QKC staker is ~1.8% per month. ROI is adjusted based on mining difficulty and QKC/ETH price levels.

Best regards from

QKCPOSWPOOL team

--

--