Selling a token

Now that we have a token, it's time to sell the coins. We want to sell our custom token for ethers. A crowdsourcing token is very easy do create on the Ethereum platform compared to the Bitcoin platform. You already know how to create a method in a smart contract to accept ethers. You also know how to increase the token balance of some accounts. To sell tokens, you must combine those two things. That's all.

This is the core of the Initial Coin Offering (ICO). The currency of Ethereum is valuable. Although the price of ether fluctuates, 1 ether is valued at around USD 100. People would pay real money for some ethers, but not our custom token. To make our custom token worthy, we have to make it useful first, or at least make ...

Get Hands-On Blockchain for Python Developers now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.