Introduction To ERC-20 Testing On Ethereum

Ata Tekeli
Dev Genius
Published in
2 min readNov 22, 2020

--

taken from blockgeeks.com

The most important phase of creating your own cryptocurrency.

Creating a token on ethereum is no easy job. But testing one is generally a hassle. Especially when it comes to functionality and security. Here, I’ll outline how the ERC20 token can be tested.

Prerequisites

A coding editor of your choice

If you start developing on ethereum, any coding editor of your choice can suffice if it supports solidity. But if you develop on different programming languages, highly streamlined and powerful text editors like VS Code definitely work even better. Especially if you have to use multiple blockchain platforms for developing an application. But don’t forget the

Full ethereum development environment

Ensure that you’ve installed all the development tools needed to create smart contracts on ethereum. The environment includes nodeJS, truffle, web3js, ganache, brew, and homebrew. If you checked with their appropriate codes, it’ll let you know its version if downloaded. You can upgrade the software if needed. But some of the tools can be directly downloaded like ganache. But if it doesn’t give you the version, you have to download them with instruction guides written on their website. You can download more dependencies if needed.

JavaScript knowledge

Before starting on being a blockchain developer, basic JavaScript knowledge is necessary to develop in ethereum and hyperledger. But, testing on ethereum requires purely JavaScript to ensure the functionality and security of the program. If all the testing is completed, then you can launch your token on the web. If not, you have to work on your code before launching on the web and test it again until all the test cases passed.

Other dependencies (if needed)

You might need to download other ethereum development packages depending on what you develop. And it can change if you’re building a Dapp, a token, or any different application built on an ethereum environment. So, testing can also require other packages to be downloaded on various grounds. But, the general ethereum development environment would suffice in most other settings.

Have you ever tested your ERC20 token? If you did, share your experiences in the comments section below.

--

--