Create a token on Binance Smart Chain | Beginner Tutorial
HTML-код
- Опубликовано: 7 фев 2025
- BLOCKCHAIN DEVELOPER ROADMAP
👉 Link: eattheblocks.c...
👉 Includes the full roadmap of what to learn for Blockchain development
👉 And how to get your first Blockchain job
In this video we will create a BEP20 token on the Binance Smart Chain.
It's a great way to write your first smart contract with Solidity, the programming language for Blockchain.
We will use Remix, an online code editor for Solidity. You don't need to install anything on your computer. Everything will be in your browser.
EATTHEBLOCKS BLACK FRIDAY 2021 (70% off!!!)
👉 Get 70% off for the Lifetime Pass (access to ALL my courses forever)
👉 Register here: mailchi.mp/eattheblocks/black-friday-2021
👉 You will get access to Black Friday AND Cyber monday if you miss Black Friday
If someone wanted to hire you to create a cryptocurrency for them are you available for these regards? How would someone get in touch with you.
Hii am here to help you can contact me for that
Do you have a telegram or email that i can contact you directly thanks
You are the first person who actually explained the smart contract process in a way that I finally get it. Thanks
glad you enjoyed the vid :)
Did you create contract and give us?
true
Did u created ur own token??
@@EatTheBlocks help to deploy contract
You are the best man, this is my first time of coding and it was successfully done.
Thank you very much and i will continue to introduce people to this channel to learn from the best instructor.
Glad to hear that
Hello, I don’t mean to intrude, but might I get your help?
Man, 3min in your video and I love it - you explain straight ahead, it's concise, all the information needed nothing more, nothing less. You understand what we want - you're great ! I subscribe.
thx Romain!
I'm software architect/ fullstack developer and i discover the development of a smart contract in order to create a token on the BSC.
I'm impressed by the simplicity of development even taking into account the optimization for the reduction of the cost of gas or other functionalities (burn, mint, ...).
Is there really nothing more to do than that to launch a new token ?
Come to think of it, the BSC could become the cryptocurrency wordpress...
its is, and the exchanges like pancake swap warn you about that
Sir, that was the best tutorial I've ever seen in my life. Good work!
Wow, thanks!
@@EatTheBlocks hello i get parser error function variable struct or modifer declaration expected.
Token sol 6 5?
What is this? Help please
I get this when i try to compile token
hi rug pullers
Lol
😂😂😂😂😂
Hi 🙋♂️
😂😂😂
lol🤣🤣🤣
this video deserves way more views. You explained things really clearly, good job!
thanks!
More rugpullers? no Hahah
@@rl3608 not everyone who looks into deploying a token is a rugpuller come on. Gotta say the situation got quite out of hand recently on bsc due to the low fees
@andrea collela hey do you know how we can use the token we create with binance smart chain for nft transactions?
Excellent Julien!! Thank you for breaking it down in a simple way 👌 best of luck to you sir and we appreciate your sharing of knowledge!
My pleasure!
You just gave me my first 6 figure in a Token creation project i got last week.
let us in
@@mortimersanchez5407 Your mom let me in.
How did you add a logo
@@user-gw2mb2ck4m true , I was there
What is the token name ? I want in !
thank you for the help in the video, it took me a few tries to get the contract written out correctly with a couple of alterations needing to be made to compile but i soon got those sorted out after going back over the video to add ) and ; in the right places :)
Glad I could be helpful!
Thanks for this video. It helped answer some basic questions I had, since blockchain and solidity are both new to me from a programming perspective. A walk-through step-by-step was most insightful. Thanks again. I did subscribe by the way, and am looking forward to more tutorials you do.
Best token of the year! #lzn #Luzionprotocol
🚀 Massive 383,125.80% APY
💯 Fully Doxed Team and KYC.
🔥 2% Auto Black Hole (Actual dEAd address)
🟢 4%-5.3% BUSD..
🔒 Audited, Safe and Secure (ZERO Team Token)...
Absolutely well explained and understandable. Honestly the 1st video that explains everything in understandable way. Congrats @EatTheBlocks
thanks!
@@EatTheBlocks hello..pls I need help
You have any idea if I can create a token using ur tutorials on my Android phone! I don't have a computer! And if so can I also use trust wallet instead of metamask ?
@@EatTheBlocks can u make block chain in dynamics algorithm pls🤕😢🙋🏻
@@EatTheBlocks you are a great and thank you for your video. I have a question, but what kind of token is this you created? Could you specify the few words please?
Finally someone used BSC, I like bsc because the gas fee is really cheap
@@eattheblocks2651 My problem is , after i create the token and create a custom token of it in trust wallet, when i send the token to trust wallet i will recieve success message in trust wallet , but still the quantity won't increase.
Dropped a follow and probably going back to school for coding 😂 unless I just learn from you teach 🎉
@EatTheBlocKs scammer right here!!!Do not contact these people
This is probably something you'd see in more complete token contracts versus an example? But the approve function as is:. If you approve address x to spend 5000 from your address. After that money is sent (0-5000) using the transferFrom function, it doesn't decrement the amount approved as is. So you can keep transferring more tokens as many times as you want, as long as the amount each time is 5000 or less.
Great tutorial. How do you actually change the logo of your token. Could you please explain. Thanks in advance.
You open it on back scan, the you have to approve, that you Are the creator. The you go on 3 dots and add al the Details and upload a PNG image as the logo.
@@andrija3216 whats the compiler type and the open source license type? i need all the details that this guy didnt even provide. we cant get far with the source code for our tokens if we cant verify our contracts smh
IMPORTANT: I am NOT on Whatsapp. Don't be fooled by the scammers/impersonators in the comments.
The only way to buy my courses is to follow the link mentioned in the description.
Hey thanks for the vid, is it difficult to add functionality to this contract to make it capable of exchanging through pancakeswap?
I am new to contract creation, thank you for making these. Do any of your tutorials mention the implementation of a buy/sell tax in the contract code? I am struggling with this part and would like to know what to add into the code.
Best token of the year! #lzn #Luzionprotocol
🚀 Massive 383,125.80% APY
💯 Fully Doxed Team and KYC.
🔥 2% Auto Black Hole (Actual dEAd address)
🟢 4%-5.3% BUSD..
🔒 Audited, Safe and Secure (ZERO Team Token)...
Did you find a answer
Excellent stuff & well explained! This is what RUclips should be for - quality content! Thanks
Wow, thanks!
Can you make a tutorial on how to make a token on the Vechain network? There are no tutorials on it anywhere. We are willing to pay you for helping us.
@EatTheBlócks HA GAYYYYY
@EatTheBlócks SCAM ALERT
bloke
I have no idea how to code but this tutorial ❤
Your tutorials are so good, we need a tutorial about
"How to build own blockchain?"
Great suggestion!
@@EatTheBlocks So when we will watch that tutorial?
yeas own block chain then smart contract in the block chain the make a token of the block chain inter operable with other block chain.
My first try and %100 success!!! Thanks man you re amazing
how did you launch it? i cant seem to compile the code
How can I contact you?
I subscribed your channel because I need technical knowledge of creation and working algorithm of crypto
Can I use Remix to edit a contract I created by using your token generator?
Great video. I have a question, but this Token created in the video, what kind of token is it? Could you please specify the few words for me?
Hey man, thanks for this - Can you do a part 2 showing the interaction with Metamask? - I'd like to see the tokens I create inside my wallet. What does the 10 at the end of the "transfer from" mean? Is that a fraction metric or a whole number? Also how to burn tokens, Timelock, minting blocks, that would be great to go deeper on those. Would love to know how add a logo to the token also
add a custom token to metamask and paste your token address
Best token of the year! #lzn #Luzionprotocol
🚀 Massive 383,125.80% APY
💯 Fully Doxed Team and KYC.
🔥 2% Auto Black Hole (Actual dEAd address)
🟢 4%-5.3% BUSD..
🔒 Audited, Safe and Secure (ZERO Team Token)...
Thank you so much for this lesson!
Great video.
Can you make a a video teaching how to burn tokes?
Yo don’t fucking pull out early I know you created that Hugo coin bitch
good idea :)
@@EatTheBlocks Yes uploud new sub!
@@EatTheBlocks would be nice, i also want to learn
very good idea!!
Deployed and Tested, Thank you
Great to hear!
Great video ETB! I was wondering whether you could explain how to create an Automated Liquidity Pool where for every transaction a % goes to the LP. It would be extremely useful. Thank you very much!
@Binance Australia ?
Did you get a solution for it ?
Do you know how? I have the same question
Thank you so much for your help. I need to watch a few more times to get a better handle thanks again..
hi bro , i hope you're doing well ! One thing i want to know after successful creation of the token and adding liquidity to set the price up , how would you provide the full token to pancakeswap and lock it as after setting the price ,it's asking for 6000 bnb !! To provide full token liquidity, thank you
Dude you've been working on your accent...I switched videos and thought it was a different person ha ha nice one :)
Pleas learn us how to list it on pancakeswap and how to burn, add liq, etc
@@eattheblocks251 SCAMMM!! ō
did you find out how to do these things wout?
@@eattheblocks251 You are not the owner of the channel. Good attempt.
It's about time I learn how to create my token it's been way to long..
Hey we went through the video and followed all the code. Was wondering why it still says uncompleted contract. If you could help that would be great.
Did you get it right?
go to compiler tab in remix thinger and compile the code after setting up wallet intergration
Great, thanks! Learned a bit of Solidity 👍
I would like to see how to create a token like safemoon. Can you do a video like that?
Interesting suggestion!
thats want all people I think
Please do thanks in advance
@@EatTheBlocks Please don't
Yes make a video on it
I really like that pacman guy behind you. He is with you on every video I watch
yes, I love it too :)
Hey I'm missing something. I followed this guide and it worked in testnet just like you ran it. But when I deploy it bscscan shows 0 tokens and my wallet shows the token but shows a 0 balance. How do I mint my initial supply?
@@eattheblocks6772 Hello
Can I get your email address please ?
u need to deploy on mainnet but its gonna cost u some BNB
you are doing some amazing work for people brother honestly just excellent.
After deployment, how do I list it on pancakeswap?
Yeah that's what I was talking abou
Can we see this token on bsc
Hey andrew did i created ur own token right now??
i know how!!!!!!!
Amazing innovation. This project on another level. So much growth ahead.
I learned a lot here, that I would need to hire a coder.
Thank you. I'm learning a lot with your videos.
Glad to help
can u teach us how to burn liquidity pool of our own tokens please?
@EatTheBlocks, this also interests me, but I think you can just ship them to 0x000 address?
just send your liquidity pool token to dead address which is 0x000000000000000000000000000000000000dEaD, its counted as burn
Can be done manualy done from metamask, pin me if need more info
@@ivanortega1055 come posso fare ad aggiungere la modalità earning by holding and burn? grazie mille
@@relaxsound7019 spanish or English bro
Your videos are great, really educational. I have learned a lot. I just want to let you know I made a contract and couldn't get the balances to show up on bscscan. It bugged me for days! Anyway it turns out that the balancesOf function in my contract was balancesof. It just goes to how how exact you need to be!
You can specify the symbol in MetaMasks connection settings so it will display BNB instead of ETH. Otherwise superb video !
@@eattheblocks251 imagine imitating eattheblocks
to finish that sentence;).. it simply does not stay on the wallet confirmation pop up, it bounces back after a milisecond..The code is exactly as you have demonstrated! Contract: 0x276a4ea22917288256291d199C4f928C7E54eEDf (Testproject). So what is wrong then
Yo da man. I've been walking in darkness for a long time now...but thanks to you , I will from now on surfing blockchains enlighted...not so much for the tutorial...for the simple explaination what a "node" actually is. I have wonder for a long time now, so I have been afraid to ask....more then Google, but I didn't got wiser that time
Only one word : GREAT !
thx!
Please make a tutorial about,
"How can you verify token logo in explorer?"
you have to make a request to bsc scan team. nothing done in code
^^^^^^^^^^ don't rugpull Daniel
Thank you for the video, I am just a bit confused. 1 When you deploy it, where do it give you the new address for the token. 2. Do you send every thing to the owner address or do you leave it in the new token address.
BSC will be a great test network for Ethereum hahaha
haha
is that all for a Coin or give more coding?
tenho interesse em seu curso porém com dificuldades ainda no inglês, pode ligar a tradução nos videos ?
Excellent video! I'm from Brazil and learned a lot! Thx
Glad to hear that!
Boa noite Frederico, tranquilo irmão? Eu estou na dúvida, não sei se você aprendeu nesse ou em outro vídeo... De como eu faço a distribuição de exemplo.: 2% de cada transação para queima, 4% para o pool de liquidez, 4% para o devs/marketing etc...
Você sabe como fazer?
This is an amazing tutorial! I'm getting errors when I try to compile a contract, though. I can't get the contract to show up in the deploy and run transactions tab...
You probably have typos
Thank you for the swift reply! I will go back and check that later, been toying around all day with this stuff. 😁
@@EatTheBlocks hey man, im 10 mins into this, its super informative, thanks alot... i have some questions i'd love to ask if your willing to answer ?
wow your video is so educative but pls i have a question if i wanted to add parentage to the token like
15% of total token for ico
5% of total token for referral bounties
10% of total token for charity / marketing
how will i go about that thanks....
hi, amazing video, do you know how I can create a token with 3% self-burning and share 2% for everyone ?
Would love to know this
@@eattheblocks2651 smell scam
@@eattheblocks2651 scam whatsapp
Hi need to ask some question.. hope you able to response.. the coin you make it under which compiler type?
1. Solidity ( single file )
2. Solidity ( Multi-part file )
3. Solidity ( Standard -Json -Input )
4. Vyper (experimental )
Thank you very much for feedback
Hey man
How do you view the code of an existing bsc token?
git hub or reddit
ce puissant accent Français fait plaisir a entendre merci pour la video
haha :)
Was there with Safemoon since first wk. It’ll be around for the long haul. Next up: ECLIPSE. Mark my words. 🚀 🚀 🚀
It feels interesting, mate. Btw, I want to notice you that this JustBet product is genuinely cool. I rarely see casino that are 100% licensed and with programs to stake and mining
@@botovod1589 will check it out. Thanks!!
how did you found out about these amazing projects so early
Wenmoon is also doing great 1 week old project.
This video is pure gold ❤❤
thanks!
You can communicate Mrs Aurora Hazel for investment through teIegram using her username
@investwithAurora1
I cannot find the code in github :(
Where can i find the code used in this tutorial?
Thanks
me too
stfu and go to school dumb kids
pragma solidity ^0.8.2;
contract Token {
mapping(address => uint) public balances;
mapping(adrss => mapping(address => uint)) public allowance;
uint public totalSupply = 10000 * 10 ** 18;
string public name = "HerresToken";
string public symbol = "HTN";
uint public decimals = 18;
event transfer(address indexed from, adress indexed to, uint value);
event approval(address indexed owner, address indexed spender, uint value);
constructor() {
balances[msg.sender] = totalSupply;
}
function balance0f(adress owner) public view returns(uint) {
return balances[owner];
}
function transfer(address to, uint value) public returns(bool) {
require(balance0f(msg.sender) >= value, 'balance too low');
balances[to] += value;
balances[msg.sender] -= value;
emit transfer(msg.sender, to, value);
return true;
}
function transferfrom(address from, address to, uint value) public returns(bool) {
require(balance0f(from) >= value, 'balance too low';
require(allowance[from][msg.sender] >= value, 'allowance too low');
balances[to] += value;
balances[from] -= value;
emit transfer(from, to, value);
return true;
}
function approve(address spender, uint value) public returns(bool){
allowance[msg.sender][spender] = value;
emit approval(msg.sender, spender, value);
return true;
}
@@Tradezo I need this
@@Tradezo doesnt working
Merci bro, great tutorial and very easy to understand, much appreciated :)
Glad it helped!
Great tutorial! I was following it along but got 'no contract compiled yet'
any ideas? Thanks
@EatTheBlócks I think this guy is a Scammer
I think the guy who replied about his whatsapp number is a scammer
go to solidity compiler tab after setting up metamask
Ctrl+s to save and compile
@@ogcontraband i am getting an error Warning: SPDX license identifier not provided in source file... any ideas why that is?
Hey are we aloud to use this code for our own token? If so, which open source license type would we select?
loved your video. However how do I associate a Logo with the BSC we created?
You need to make at first a Logo on Photoshop or XD as Png the save it, when need to add logo then you will need to upload your logo that you just did
@@raitasorin water is wet
julian! Love your videos
thanks for your support!
Did we need some fee for making it?
If yes how much is cost?
Please answer me and i will subscribe 👍
LOL lighlty entitled
Excellent tutorial. Thank you so much!
You're very welcome!
Hi Rio, it's true that this crypto market is unstable but that's also what makes for great opportunities with the risks that come with them. I see more and more on the networks the Checoin appearing. Have you ever heard of it? What does it inspire you?
this coin look very good, perfect start and stability so let's rock
I couldn't learn this sober so I'm trying crossfaded and definitely still failing :(
Same here bro!
May I ask a question? When setting the price with the inaugural liquidity pool, is it necessary to deposit 100% of the circulating supply? Why/why not?
after watching the video, a lot of people want to be crypto scammers 😀 Oh my God
lol. "sir plz rug pull function"
HI, can you tell about the next stepts, where to lsit your coin, which is the first platfrom to list it on
Which colorful extension you are using?
Hello, you just earned me as a subscriber to your channel. However, you didn't show us how to get the private key, enrolling to add token images and securing for theft. I will be glad you do that.
Seriously! So simple!
Thanks so much sir! You're the man!
thx!
You are truly great and your explanations are perfect. Thanks so much!
Glad you think so!
But how can be the fees cheaper on binance when its just a copy and a token from ethereum? And shouldn´t rise the price of ether proportional to ether because its part of the same chain?
what about if want to use bsc no the test net ?? what would be the difference??
Can I set an initial price for each BSC Smatchain Network Token? If possible, please help me how to do it
Cool stuff... very straight to the point
@EatTheBlocks fantastic tutorial, I’m just wondering how we can set the tax & liquidity percentages within the contract?
If you still need to help about this, I can
Which complier we use
Hey man. Little bit of help. What to change so when people buy coin they can't sell it. How to do that? When i put liquidity on pancakeswap, I want to block coin so people wont be able ti sell it. Can you teach. E to do that?
just a clarification, since testnet is a simulation of mainnet - then how transactions are verified in testnet ? is that just an automated message ?
where did you learn to program cryptocurrency? 🙏🙏🙏🙏
this video is awesome, thanks so much!
great video. I did not understand however what kind of Token is this?
I'm pretty sure I found a major security flaw.
In the transfer from function the allowance doesn't decrease. The line missing:
allowance[from][msg.sender] -= value;
Yeah I think you're right. I'm glad I read the comments as I didn't find it on my own
Which number of line to paste?
what do you think line 34 is for ?
Very well made tutorial, I have one question: i deployed this same contract on remix but i made a mistake and sent some tokens to the token contract address thinking i'm putting them into circulation, is there any way to recover them by calling functions of this contract?
Hi Julien, I have an important question, I have an idea of a business that will benefit many people around the world and want to create a coin for it. Would you rather suggest to make an ERC-20 or BEP-20 coin? Your very insightful and professional advice would be much appreciated. Thank you
Depends whether you want a transaction fee of $100 USD in ETH for each transaction, or $0.40 in BNB? Transaction fees on the ERC-20 network make it almost unusable right now for anyone but the super rich that can afford to burn $SS on every transaction.
Thank you, very helpful!