What is ERC20 Token? In full Ethereum Request for Comment, the 20 is just a standard number that was proposed. It is a guideline to create a token in the Ethereum network.

Little ERC20 history.

ERC20 came about because everyone who needed to write a token had to write their own templates which brought about so much confusion as one had to read the whole documentation of each different token that was created. To make it easier for the community, the users standardized ERC20 as the token that would be used to guide all other tokens across the world. As of 2015 reports.

The code itself…


Solidity is an Object-Oriented, high-level programming language for implementing Smart Contracts.

Smart Contracts are programs that govern the behavior of accounts within the Ethereum state.

A collection of code(functions) and data(state) that resides at a specific address on the Ethereum blockchain is considered a Contract in the sense of Solidity.

In this article, we will focus on the basic structures of a contract. But before that, let's learn a thing or two about Ethereum which I mentioned above.

So what is Ethereum? By a simple definition, it is a decentralized cryptocurrency with smart contract functionality. When working with Ethereum, you…


By definition destructuring refers to the way of extracting multiple values from data stored in objects and arrays(usually nested).

I will start by writing simple object examples so we can easily understand how destructuring works.

const names = { first: ‘John’, last: ‘Doe’ };const books = { title: ‘Burgy’, author: ‘Jane Mercy’ };// these two objects can easily be destructured as follows…const { first, last } = names;const { title, author } = books;// and will produce the same result as the first two objects respectively.
example of another destructure from https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Operators/Destructuring_assignment

There are two parties to look out for when…


Testing is a mechanism almost no developer gets away with. And in this article I will talk about testing with RSpec on Rails which differ slightly with plain Ruby. I will be writing for plain Ruby in my next article so be sure to look out for that.

There are different tools used in testing but will focus on one. So what is RSpec? It is a Domain Specific Language testing tool specifically written in Ruby to test Ruby code. …


We often think we know enough about HTML and CSS.(Well I thought). This MarkUp language is the best to use but it may need some help from CSS. Writing HTML without CSS can be a bit tricky as there is so much effects when it comes to ‘prettifying’ the page.

Other than the basic CSS’s, there are a few more CSS concepts that can be very helpful, especially with your UI. Some of them include:-

  • Box models
  • Floats and Positioning
  • Backgrounds and Gradients

Box Models

This is ‘like' a box that wraps all the HTML elements we know of eg…


Artificial Intelligence: The Next Human Evolution.

What comes in your mind when your hear “Highly advanced robot”?
Intelligence by wikipedia “A very general mental capability that, among other things, involves the ability to reason, plan, solve problems, think abstractly, comprehend complex ideas, learn quickly and learn from experience.”
It is further divided into different forms among them, emotional intelligence, logical intelligence which are mostly related to Humans. Here comes Artificial Intelligence which simply means computers being able to handle everything a human is capable of.

AI was founded in the 1950s and among the founders was John McCarthy who was computer scientist. They argued that a…


Artificial Intelligence: The Next Human Evolution.

What comes in your mind when your hear “Highly advanced robot”?
Intelligence by wikipedia “A very general mental capability that, among other things, involves the ability to reason, plan, solve problems, think abstractly, comprehend complex ideas, learn quickly and learn from experience.”
It is further divided into different forms among them, emotional intelligence, logical intelligence which are mostly related to Humans. Here comes Artificial Intelligence which simply means computers being able to handle everything a human is capable of.

AI was founded in the 1950s and among the founders was John McCarthy who was computer scientist. They argued that a…


My (OOP)

To be a programmer, you don’t just wake up and do it. It entails a lot of devotion, hard work and above all one who is ready to learn every single minute. I thought I was ready for the world until I was given some assessments only to find out there is a lot I had not learnt.

There was so much for me to learn in a given time and put them to practice. You learn one thing and by the time you are implementing it, you realise there is another challenge/error where you have to pause your current…


“What happens when you have negative thoughts?” I have been a victim of this “unwanting” world.

I took a leap of faith and joined in the road to success. It does not come easy. But for one to succeed you must have a dream. You are your own driver. Most of us wish we lived a free life but do not want (even if we do), we are just playing by the cards and get a salary at the end of the day. It is not bad as well. But how many people have quit their jobs to be their…

Grace Mugoiri

Get the Medium app

A button that says 'Download on the App Store', and if clicked it will lead you to the iOS App store
A button that says 'Get it on, Google Play', and if clicked it will lead you to the Google Play store