fbpx

How to transfer ERC20 tokens with Solidity?

Julien Klepatch

ERC20 tokens allow you to create your own coin inside Ethereum.  They are used in many projects to represent financial assets, in-game assets, collectible, and other kind of assets.

At some point in your project, you will probably need to interact with them. And most often, you will need to transfer tokens.

There are 2 ways to do this:

  • with the `transfer()` function. That’s a simple transfer from A to B
  • with the `transferFrom()` function. That’s a delegated transfer, where an operator (or spender) transfer token from A to B on behalf of A

Watch this 10mins video and you will become a pro at this 🙂

To watch the whole tutorial series on Solidity, follow this link.

0 Comments

Leave a Reply

More great articles

Solana explained in 2 mins

Solana has been described as the next Ethereum killer.

 In 2021, the price of Solana skyrocketed. 

Even Celebrities are jumping…

Read Story

What to build on Ethereum? Dapp ideas

So, you are thinking of building a Dapp on Ethereum, but you are still not sure what to build? In…

Read Story

Avalanche explained in 2 mins

Avalanche is a new Blockchain that became very popular in 2021. 

It claims to be a better Ethereum, with more…

Read Story

Never miss a minute

Get great content to your inbox every week. No spam.
[contact-form-7 id="6" title="Footer CTA Subscribe Form"]
Arrow-up