Photo by Jievani Weerasinghe on Unsplash

Creating Your Own Crypto Tokens

--

Within the Ethereum blockchain, we can record transactions and run smart contracts. These things allow us to run DApps (decentralized applications) and which can support the running of the infrastructure in return for some payment (Ether). A DApp can also create tokens for new currencies, shares in a company or to prove the ownership of an asset. ERC-20 is a standard that allows for the sharing, transfer and storage of tokens.

Making some tokens

Now, let’s say that you want to create some crypto tokens for student work, and where they could be rewarded for their good work. So, let’s create a token named “ENUToken”. First, we open up remix.ethereum, and enter the following Solidy contract [code]:

When you create your own contract, make sure you change the public constructor() with: the symbol, the name, and the wallet ID:

constructor() public {
symbol = "ENUToken";
name = "ENU Token";
decimals = 18;
_totalSupply = 100000000000000000000000000;
balances[0xbB15B38e4ef6aF154b89A2E57E03Cd5cbD752233] =…

--

--

Prof Bill Buchanan OBE FRSE
ASecuritySite: When Bob Met Alice

Professor of Cryptography. Serial innovator. Believer in fairness, justice & freedom. Based in Edinburgh. Old World Breaker. New World Creator. Building trust.