Create a Cryptocurrency - Crash Course | Part 1 - Deploy ERC-20 Token

cryptoKoki
18 Feb 202406:40

Summary

TLDRThis video script provides a step-by-step tutorial on how to create your own ERC-20 token on the blockchain using Remix IDE. It covers setting token metadata like name, symbol, decimals and supply, optimizing the smart contract code, deploying to testnet networks in MetaMask, and checking the success on a block explorer. The next video will detail verifying the contract post-launch to build trust. The goal is to make launching a crypto token accessible for anyone willing to learn.

Takeaways

  • 😀 The tutorial shows how to create your own ERC-20 token step-by-step using Remix IDE
  • 💡 You need the ERC-20 token source code which is available for free download
  • 📝 Remix IDE is the workspace for creating and managing your token smart contract
  • ⚙️ Set the token metadata like name, symbol, decimals and total supply
  • ✅ Compile and optimize the smart contract before deploying to save on gas fees
  • 🔗 Connect your MetaMask wallet to deploy the contract on the blockchain network
  • 🚀 After successful deployment, your token will appear on blockchain explorers
  • 👍 Getting your token verified builds more trust for investors
  • 📈 Additional steps like listing on exchanges increases visibility and access
  • 🎥 Subscribe for more tutorials on launching your own crypto token

Q & A

  • What is the first thing needed to create your own cryptocurrency?

    -The first thing you need is the source code for the Standard ERC-20 Token that will be used during the crash course. It can be downloaded for free from the provided website or GitHub repository.

  • What four options are there for setting the token decimal places?

    -There are generally four accepted options for the decimal places: 18, 9, 6 and 3. The default is 18.

  • What networks can you deploy the token to from Remix IDE?

    -From Remix IDE, you can deploy the token to networks like Ethereum, Binance Smart Chain, Avalanche, Pulse Chain, Arbitrum, Polygon or any other EVM-compatible network by simply switching in Metamask.

  • Why is it important to optimize the smart contract?

    -Optimizing the smart contract allows you to reduce the cost of token deployment by reducing the gas fees. This prevents you from going bankrupt due to high gas prices.

  • What menu item in Remix IDE is used to deploy the token?

    -The Deployment & Run Transactions menu item in Remix IDE is used to deploy the token and make it appear on the blockchain.

  • What do you need to do before clicking the Deploy button?

    -Before clicking deploy, you need to connect your Metamask wallet to Remix IDE, select the correct network, ensure your wallet has enough funds for gas, and select the smart contract name to deploy.

  • Where can you check to see that your token was successfully deployed?

    -After successful deployment, the token's address will display in the Deployed Contracts section of Remix IDE. You can copy this address and check for the token in a block explorer/scanner for confirmation.

  • What important next step is mentioned at the end of the video?

    -The video mentions that the next important step after deploying your token is to ensure more trust from investors, but does not provide specifics. This would likely involve auditing and verifying the token contract.

  • What resources are mentioned for learning more?

    -The video mentions subscribing to their YouTube channel and visiting their website cryptokoki.com to keep up with the latest updates and products for creating your own cryptocurrency.

  • What previous knowledge is required for following this tutorial?

    -The video states that no coding experience, blockchain knowledge or need to read articles is required. All that is needed is a little diligence to follow the tutorial carefully step-by-step.

Outlines

00:00

😊 Introducing the Crash Course on Creating Your Own Cryptocurrency

The first paragraph introduces the crash course on how to create your own cryptocurrency. It mentions that no programming skills or blockchain knowledge is required. The key things needed are the free source code for a standard ERC-20 token, a course outline PDF, and following the step-by-step video lessons.

05:03

👨‍💻 Walkthrough of Remix IDE and Configuring Token Metadata

The second paragraph provides a walkthrough of Remix IDE, which is the development environment used to create and manage the cryptocurrency token. It explains the different panels like file explorer, code editor, compiler, etc. The paragraph then covers setting the token metadata like name, symbol, decimals and total supply.

Mindmap

Keywords

💡source code

The source code refers to the code for the ERC-20 token standard that will be used to create the cryptocurrency token. It is a key building block provided for free to allow anyone to create their own token. The script mentions downloading it from the CryptoKoki website or GitHub repository.

💡Remix IDE

The Remix IDE is an online IDE for developing and deploying smart contracts. It is where the token contract will be created and managed. The script provides the web address to access Remix and outlines the key parts of its interface like the file manager, code editor, console etc.

💡metadata

The metadata refers to the basic properties of the token that need to be set including its name, symbol, decimals and total supply. These allow the token to establish its unique identity.

💡deployment

Deployment refers to the process of deploying the smart contract token on the blockchain. This brings the token into existence so it can be traded. The script outlines connecting Metamask to Remix and choosing the network for deployment.

💡gas

Gas refers to the fee needed to perform transactions on Ethereum and other blockchains. The script recommends optimizing contracts to reduce gas costs for token deployment.

💡block explorer

A block explorer allows checking and verifying transactions on the blockchain. The script mentions using it to check if the newly created token contract has been successfully deployed.

💡trust

Building trust with investors is mentioned as an important goal post token deployment. This suggests the need for transparent and ethical practices.

💡updates

The video creator encourages viewers to subscribe to receive latest updates about building their own cryptocurrency. This allows continued education.

💡testnet

A testnet refers to a test blockchain environment for experimentation. The script shows the creator using the Binance Smart Chain testnet.

💡web3

While not explicitly mentioned, the video broadly relates to web3 - creating decentralized apps by giving viewers the tools to build their own cryptocurrency.

Highlights

This is a crash course on how to create your own cryptocurrency

All you need is a little bit of diligence and follow this course carefully

The first thing you will need - is the source code for the Standard ERC-20 Token

RemixIDE is where your token will be created and managed

Set basic properties of token: contract name, token name, symbol, decimal and total supply

Optimize smart contract to reduce cost of deployment

Connect Metamask wallet to Remix IDE environment for deployment

Make sure you have enough funds for gas spendings

Click deploy button and sign transaction in Metamask to deploy token

Successful transaction message and token interface indicates deployment

Copy token address and validate in block explorer

You successfully deployed first crypto token

Next lesson covers important step after deployment for investor trust

Go to website for more on creating your cryptocurrency

Thanks for watching!

Transcripts

play00:03

Hello again!

play00:04

This is the first lesson of a crash course on how to create your own cryptocurrency.

play00:08

Here we are going to show you step-by-step how to launch your token.

play00:12

nd NO! You don't need to be a cool programmer,

play00:15

or read a tons of articles about blockchain to do this.

play00:18

All you need is a little bit of diligence and follow this course carefully.

play00:23

Are you ready? Then here we go!

play00:25

The first thing you will need - is the source code.

play00:28

This is the code for the Standard ERC-20 Token,

play00:31

that we will be used during the crash course,

play00:34

and most importantly

play00:35

we have made it free for everyone!

play00:37

Download it on our website or from the CryptoKoki GitHub repository.

play00:41

We already talked about this in our last video,

play00:44

the hint will be in the corner!

play00:45

In addition to the source code,

play00:47

you get a crash course outline in PDF.

play00:50

All links will be in the description!

play00:52

Now let's get to the lesson.

play01:00

And the first thing we will get acquainted with - is Remix IDE.

play01:03

This is where your token will be created and managed.

play01:06

You can get here by following this web address.

play01:09

All useful links is always will be in the description.

play01:12

And here is the RemixIDE workspace let's see what is what.

play01:16

First of all - the main menu.

play01:18

This is where you switch between the main toolbars needed for deployment and contract management.

play01:23

Here is the workspace of each of the menu items.

play01:27

This is where you will spend the most time.

play01:29

Right now we are in the file manager

play01:31

for managing our project files.

play01:33

Next - is the code editor.

play01:35

This is where the smart contract code is written and edited.

play01:38

But right now this is just the home tab; you can close it.

play01:42

And below that is the console.

play01:44

The console displays all transactions launched from Remix IDE.

play01:48

This is very important to understand which transactions were successful and which failed.

play01:53

Now I will close home tab and create a new file.

play01:56

You can give it any name you want but I will name it token,

play02:00

it will contain a token smart contract for deployment.

play02:03

Now I will put the source code of the Starter ERC-20 Token in this file.

play02:07

As a reminder you can get it completely for free from our website or GitHub.

play02:12

Links in the description.

play02:15

Now you need to set the basic properties of token

play02:18

they are also called metadata.

play02:20

They include contract name, token name, token symbol, it's decimal and total supply.

play02:27

Let's break them down in order!

play02:29

Contract name is the name of the smart contract that will only appear on the blockchain scanner.

play02:34

As an example, I will name it after this channel - CryptoKokiContract.

play02:39

Token name and its symbol of exactly the name and the abbreviation of your token

play02:43

which will represent it and which will be remembered by investors.

play02:47

I will also name it after the channel

play02:49

CtyptoKoki and symbol - KOKI.

play02:55

Decimal determines the number of decimal places in your token.

play02:59

The default value is 18.

play03:01

But also there are three generally accepted options:

play03:04

18, 9, 6 and 3, but we will leave the default value.

play03:09

Total supply is the number of tokens that will be issued with token deployment.

play03:14

Let's specify the amount of 150 million tokens.

play03:18

Great! Now that we have specified the token metadata,

play03:22

we can start compiling.

play03:23

For this, we go to the corresponding menu item.

play03:27

Here we are offered to choose the compiler version,

play03:30

to find out the version we need,

play03:32

let's go to the beginning of the smart contract

play03:35

and here we see versions 0.8.19.

play03:38

We choose it from the drop-down list then clicks "Compile".

play03:41

If there are errors or warnings in the contract they will be displayed below.

play03:45

Now an important step, that will be useful

play03:48

for those who deploy token in the Ethereum network -

play03:51

is to optimize the smart contract.

play03:53

It allows you to reduce the cost of token deployment.

play03:56

And it will allow you not to go bankrupt due to high gas price!

play04:00

To do this, you need to open the advanced configuration tab

play04:05

and check the "Enable optimization" checkbox.

play04:07

After that, compile the smart contract again and now it is optimized!

play04:13

Next, let's move on to deploying the token.

play04:16

This is the part in which it will appear in the blockchain.

play04:19

To do this go to the next menu item - Deployment & run transactions.

play04:24

Now you need to connect your Metamask to the Remix IDE.

play04:28

To do this select Metamask from the environment drop-down list.

play04:32

Now it is important to make sure, that you are using the exact network

play04:36

on which you plan to deploy the token.

play04:38

This is the network that is active in your Metamask interface and is shown here.

play04:43

At the moment I use the Binance Smart Chain Testnet,

play04:46

But you can choose any other EVM-compatible network such as:

play04:50

Ethereum, Binance Smart Chain, Avalanche, Pulse Chain, Arbitrim, Polygon and others

play04:56

simply by switching it in Metamask.

play04:58

Below you will see the address of the connected wallet and it's balance.

play05:02

Make sure it has enough funds for gas spendings.

play05:05

In the drop-down list select the name of the smart contract you want to deploy.

play05:10

You will need to choose the name you specify earlier,

play05:13

and I have to set CryptoKokiContract.

play05:16

Great! Everything is ready to deploy the token.

play05:19

To do this, you need to click the deploy button.

play05:22

If you have done everything correctly,

play05:24

you will be prompted to sign the transaction in Metamask.

play05:33

After that, a message about successful transaction will appear in the console.

play05:40

And in the deployed contract section,

play05:42

you will be able to see the interface of your token.

play05:46

For now let's copy its address and check it in the block scanner.

play05:53

And yes! Your token has appeared on the blockchain!

play05:59

Today you successfully deployed your first crypto token,

play06:02

but this is just the beginning!

play06:04

In the next lesson,

play06:05

we will look at an important step after token deployment,

play06:09

to ensure more trust from investors.

play06:11

Subscribe to the channel, to keep up with the latest

play06:14

updates and also go to our website.

play06:16

More products we creating your own cryptocurrency on cryptokoki.com

play06:21

Thanks for watching!