Gas, Ether and Wei explanation
Imagine a taxi driver and 2 riders, that have to go to the downtown to buy some stuff to make a dinner (smart contract). Each one of them wants to go in different places - bakery, grocery shop, butchery (transactions) etc. so we cant really estimate amount of kilometers that every Rider will ride.
Rider A offers a higher price (gasPrice) per km (1GAS) than Rider B. Taxi driver will choose Rider A, even if the distance (nGAS) will be shorter, because driver is sure
that just after he will find another ride.
Every Rider has a limited amount of money (gasLimit) in wallet to spend for this ride, and if he runs out of money, he will
be thrown out of the car and he will return home and wont be able to prepare a dinner. So money will be lost.
GAS * gasPrice [wei] = totalPrice [wei], where GAS < gasLimit, totalPrice in wei is a fraction of ether
Great post @spontando thanks for joining the Steemit Platform post enjoy and explore thanks.@garrettwallace
Congratulations @spontando! You have received a personal award!
Click on the badge to view your Board of Honor.
Do not miss the last post from @steemitboard:
Congratulations @spontando! You received a personal award!
You can view your badges on your Steem Board and compare to others on the Steem Ranking
Vote for @Steemitboard as a witness to get one more award and increased upvotes!