Bitcoin Forum
May 06, 2024, 11:07:48 AM *
News: Latest Bitcoin Core release: 27.0 [Torrent]
 
   Home   Help Search Login Register More  
Pages: [1]
  Print  
Author Topic: Can I implement a Dpos mechanism on ERC20 tokens?  (Read 191 times)
legendsneednotags (OP)
Newbie
*
Offline Offline

Activity: 86
Merit: 0


View Profile
April 25, 2019, 02:25:38 PM
 #1

I have been thinking of creating an ERC20 standard token for token generation event, and eventually move to a mainnet.

Let's assume I want to implement a DpoS consensus mechanism for my project. I initially want to have a circulating supply of 1 Billion which will then increase to 2 Billion over the course of time. The consensus mechanism being Dpos.

So can I implement Dpos before mainnet launch so that delegates can benefit by staking tokens when the tokens are still in ERC20 format which can be later swapped for a 1:1 at mainnet launch ( includes the staked tokens ).
 
Or would I have to switch to mainnet to implement any consensus mechanism? Does that mean the supply cannot increase ( no staking mechanism )  after creating ERC20 token?

Please help.

 

 
Advertised sites are not endorsed by the Bitcoin Forum. They may be unsafe, untrustworthy, or illegal in your jurisdiction.
CjMapope
Legendary
*
Offline Offline

Activity: 1820
Merit: 1092


~Full-Time Minter since 2016~


View Profile WWW
April 25, 2019, 03:10:32 PM
 #2

this prob belongs in altcoin discussion not mining Wink

anyways, of course you can do that AFAIK, it would be the same as an independent chain PoS
you would just code into the smart contract conditions in which the coins are paid out
pos style: a user hodls 35000 tokens, code that if they continue to hold them, they receive say 2% over 3 months or w.e you want
the contract then pays itsef out

PoS could be coded in easily into an ec20 token imo if you know solidarity, just make sure to test it! dont want another DAO haha


~Got this girl in my bed, a roof over my head, i mint a couple coins a week, and thats how i make bread~
~On the 12th day of Hatzvah, OGminer said to me: "compute root of the merkle hash tree!"~
Prohashing  -- Simply the best Multipool!
||bit
Hero Member
*****
Offline Offline

Activity: 924
Merit: 506


View Profile
April 25, 2019, 03:24:20 PM
 #3

Pos coded before for ethereum network but nobody tried dpos so far (as far as i know)

It would be interesting but at some point it is meaningless too. Because validators won't forge anything really so people would vote just by popularity? That doesn't make any sense but it can be a nice experiment.
viljy
Hero Member
*****
Offline Offline

Activity: 1750
Merit: 874



View Profile
April 25, 2019, 04:11:58 PM
 #4

In principle, many things can be imitated using smart contracts. Recently there was an imitation of mining: Sound Money Coin. Imitation POS was also a long time ago: POStoken, Rebellious, Minereum. You can simulate masternode, read the information of the early period about Elixir (ELIX), when he discussed the loan chain. In a token environment, these loan chains would perform the same economic function as a conventional masternode. That is, from the point of view of the economy, the masternode freezes (withdraws from circulation) part of the coins and generates profit. But each of them belongs to one owner. I believe that it is possible to make such a smart contract, even without loan chains, when the tokens of participants will be frozen on their addresses with the condition of providing "votes" to some Central address that will generate for them the payments in tokens specified in the contract in advance. There can be several such simulation centers if you specify them in the smart contract.
Only all these projects are dead, because these are just fun, but really no one needs. However, study Elixir, maybe it will help you, as it is the closest to what you want to do.
shiming
Full Member
***
Offline Offline

Activity: 798
Merit: 101



View Profile
April 27, 2019, 11:38:18 AM
 #5

POStoken,I remembered this project. It was very hot at the beginning. I voted for it last year. I have already participated. It seems to have disappeared. It is very frustrating. There are still many similar cryptocurrencies, but basically failed.

libert19
Hero Member
*****
Offline Offline

Activity: 2492
Merit: 942



View Profile WWW
May 16, 2019, 04:53:46 AM
 #6

I don't think dpos consensus is possible on ethereum tokens but you can use PoS algorithm from postoken to do what you want. Here is github of PoSToken.

https://github.com/PoSToken


███████████████████████████
███████▄████████████▄██████
████████▄████████▄████████
███▀█████▀▄███▄▀█████▀███
█████▀█▀▄██▀▀▀██▄▀█▀█████
███████▄███████████▄███████
███████████████████████████
███████▀███████████▀███████
████▄██▄▀██▄▄▄██▀▄██▄████
████▄████▄▀███▀▄████▄████
██▄███▀▀█▀██████▀█▀███▄███
██▀█▀████████████████▀█▀███
███████████████████████████
.
.Duelbits.
..........UNLEASH..........
THE ULTIMATE
GAMING EXPERIENCE
DUELBITS
FANTASY
SPORTS
████▄▄█████▄▄
░▄████
███████████▄
▐███
███████████████▄
███
████████████████
███
████████████████▌
███
██████████████████
████████████████▀▀▀
███████████████▌
███████████████▌
████████████████
████████████████
████████████████
████▀▀███████▀▀
.
▬▬
VS
▬▬
████▄▄▄█████▄▄▄
░▄████████████████▄
▐██████████████████▄
████████████████████
████████████████████▌
█████████████████████
███████████████████
███████████████▌
███████████████▌
████████████████
████████████████
████████████████
████▀▀███████▀▀
/// PLAY FOR  FREE  ///
WIN FOR REAL
..PLAY NOW..
KryptoKai
Full Member
***
Offline Offline

Activity: 630
Merit: 100



View Profile
May 16, 2019, 06:39:56 AM
 #7

It might be easier to fork a coin that is already pos and then rebrand it to your needs. lisk is dpos and was forked by onzcoin so it is possible, but depends on your coding skills

FoBoT
Sr. Member
****
Offline Offline

Activity: 658
Merit: 250



View Profile
May 16, 2019, 08:10:10 AM
 #8

I belief everything is achievable provided you have the right knowledge and the will to pursue it.
Dpos can be possible on the ethereum network but it shall be easier to implement this on the main net, users shall be paying for network fees which might be very discouraging.
You can get expert on this forum by creating request in the service section if you do not have the knowledge.
Pages: [1]
  Print  
 
Jump to:  

Powered by MySQL Powered by PHP Powered by SMF 1.1.19 | SMF © 2006-2009, Simple Machines Valid XHTML 1.0! Valid CSS!