Hey folks, been working on a pretty unique token contract that's gotten to a point where I'd like to share. It's a "merged mining Proof Of Stake" ERC20 token that allows per-block coin-minting and claiming of your staked coins. Merged mining is done via coinbase accounts submitting block headers from blocks they mine to a vaildator contract, which can in turn mint new tokens. The merged mining contract part is not quite yet complete, but is functional. Feel free to roast/critique my idea and point out anything that you think is wrong! Not yet fully tested and not safe for deployments on mainnet. All gas fees are paid by the end user, and it is theoretically possible to do an entire stake with only ever submitting 3 transactions

https://github.com/RTradeLtd/RT-Contracts/blob/master/MergedMinerValidator.sol
https://github.com/RTradeLtd/RT-Contracts/blob/master/Stake.sol

Jul 9, 2018, 4:06 PM

© 2024 Draquery.com All rights reserved.