hive-engine / hivesmartcontracts

Hive-Engine node software
https://hive-engine.com
MIT License
13 stars 9 forks source link

Bee Dollar Stablecoin Contract #76

Closed bt-cryptomancer closed 2 months ago

bt-cryptomancer commented 2 months ago

This PR adds the beedollar smart contract to support BEE -> BEED conversions as part of the Bee Dollar stablecoin project. Some changes are also made to the tokens contract so that BEED can be bootstrapped into existence with null as the token owner, and to allow the beedollar contract to issue new BEED.

Rishi556 commented 2 months ago

Any reason to not just use HBD for this?

bt-cryptomancer commented 2 months ago

Any reason to not just use HBD for this?

Aggroed wants a native stablecoin for the Hive Engine platform, which you can only get by burning BEE in a conversion process to mint new BEED (Bee Dollars). As we can't simply mint new SWAP.HBD out of thin air without having underlying HBD to back it up, a new token is required. This is intended to be a product backed stablecoin in much the same way as DEC is for Splinterlands, and the BEE -> BEED conversion process mirrors the SPS -> DEC conversion process, but in smart contract form.

RivalzZz88 commented 2 months ago

How do you want to make BEED stabile when you reffering on SPS and DEC?