Let's say that I want to deploy a decentralized system where I would like for data providers to be automatically awarded with tokens for each data packet provided to the system. How would this work with token creation? Who would theoretically be the one 'mining' or creating the tokens assuming that I would like to exclude Proof of Work protocol?

Every answer would be appreciated


The contract you write as the token-managing contract would be the one who controls how it's minted. Most basic token contracts/examples mint a certain number of coins at the beginning and then no more. The Unicorn token, by contrast, created no tokens when first created, and instead creates new tokens when someone donates to the Ethereum Foundation.

If you want to create a proof-of-work logic (e.g. SHA3 must be below some threshold difficulty, similar to Bitcoin), you'd need that as part of the token-managing contract, in the most basic setup, and then it would be the one "mining" (or "minting", whatever verb you want) the new tokens.

A more advanced setup would allow things to be changed down the road. The Unicorn token contract is not that smart in and of itself, but it has an owner that is another smart contract that is very complex. The owner of the Unicorn token contract is a DAO contract, where the Ethereum Foundation members can adjust the price per Unicorn, and it's actually that parent contract that you pay if you want a Unicorn, and the Unicorn token contract allows the parent to mint more tokens whenever the parent wants.

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.