ERC20 Token Tutorial | Create Your Own Cryptocurrency

  Рет қаралды 123,302

Block Explorer

Block Explorer

Жыл бұрын

In this ERC20 token tutorial you will learn how to create your own cryptocurrency as an ERC20 token on Ethereum. We cover all of the steps from development and testing to deployment. Topics covered include testing in the Remix editor, creating a project with Hardhat, token design, ERC20 smart contract development, smart contract testing and deployment to Ethereum.
Project repo on GitHub:
github.com/jspruance/erc20-tu...
Ethereum ERC20 Standard:
ethereum.org/en/developers/do...
Open Zeppelin ERC20 Documentation:
docs.openzeppelin.com/contrac...
If you've created your own token, I'd love for you to send me some (if you want)!
My wallet address:
0x3B5c1926441EC9bE1FA179831f9E6ea9b9205b2f

Пікірлер: 440
@alexismollet6751
@alexismollet6751 Жыл бұрын
I loved this video very new to coding and got stuck on some coding errors, but your explaining was very detailed and I watched the whole thing anyway
@adityasingh11156
@adityasingh11156 Жыл бұрын
Thanks😊 for sharing it. Your teaching style is very good. I like how you explain in detail each related concept smoothly rather than rushing through topic fastly.
@BlockExplorerMedia
@BlockExplorerMedia Жыл бұрын
Thanks Aditya - I appreciate the feedback and glad you liked it.
@TRVLCreative
@TRVLCreative Жыл бұрын
Awesome video. Awesome teacher. Thank you for taking the time to teach the world about web3 effectively :)
@osempo
@osempo 6 ай бұрын
Amazing video, the best tutorial on how to create and deploy a token, I hope you keep uploading content more often!
@tokunbosuleimon4802
@tokunbosuleimon4802 Жыл бұрын
Thanks😊 for sharing it. Your teaching style is very good. I like how you explain in detail each related concept smoothly rather than rushing through topic fastly, and please can you do a front -end
@brunorocha9898
@brunorocha9898 Жыл бұрын
great teacher.. thank you
@suryarghyasaha4984
@suryarghyasaha4984 11 ай бұрын
I'm new to Blockchain Development and your videos helped me so much to grasp all the concepts so fast. You're an amazing teacher and I look forward to learning more and more from you. And since I recently made my own ERC20 token inspired by this tutorial, I sent some of them to the wallet address you mentioned in the descriptions. Thank You So Much man. Please keep up the good work.🙏🤝
@BlockExplorerMedia
@BlockExplorerMedia 7 ай бұрын
Thanks so much and congrats on your token. May I know the smart contract address so I can import the token in my wallet? Nice work : )
@somnathmondal5561
@somnathmondal5561 Жыл бұрын
Exited for this video ,, great work man 🤜🤛
@BlockExplorerMedia
@BlockExplorerMedia Жыл бұрын
Thanks Somnath! 🤛
@ivanlagade
@ivanlagade Жыл бұрын
Continue making valuable content sir. God bless you more.
@rosariosway
@rosariosway 9 ай бұрын
Thank you for this video! I have learned a lot of stuff through it, you did an excellent job! 👏
@AroseLove
@AroseLove 9 ай бұрын
Amazing great stuff a few additional errors here and there (my own doing as only downloaded visual studio code today so was mainly extension errors) Thank you so much for this tutorial, there isn’t another started tutorial I’ve seen as good as this. 🙏🏻
@UsmanKhan-nc2md
@UsmanKhan-nc2md Жыл бұрын
honestelly sir this is one of the best vidio
@GauravSinghnikumb
@GauravSinghnikumb 11 ай бұрын
the soidity version also takes into consideration the openzeppelin pragma solidity version , so keep that in mind
@paulgallant3675
@paulgallant3675 9 ай бұрын
Brilliant video thank you
@makindeoluwasegun4188
@makindeoluwasegun4188 Жыл бұрын
Thanks for this 🙏
@chams2385
@chams2385 Жыл бұрын
BRO , YOU ARE LEGEND
@danielasema5988
@danielasema5988 Жыл бұрын
great tutorial. Thanks so much
@srijanshovit844
@srijanshovit844 Жыл бұрын
thanks..I finished my own version of it
@abelasaya8709
@abelasaya8709 6 ай бұрын
Thanks a lot, i am grateful for the video. cheers
@UsmanKhan-nc2md
@UsmanKhan-nc2md Жыл бұрын
Thank You So much Sir I learned Alot
@thatwasgaming6225
@thatwasgaming6225 Жыл бұрын
thank you so much, this was an amazing video
@cryptotree999
@cryptotree999 Жыл бұрын
Very nice and wonder full video
@JohnDoe34548
@JohnDoe34548 27 күн бұрын
great video, sir.
@BillyBishop589
@BillyBishop589 Жыл бұрын
thanks for this great tutorial.. first tutorial in this blockchain space that worked.. everytime i write code i hit a brick wall with deprecated and outdated info.. thanks much when i go mainnet on polygon ill definitely will be sending a fat stack your way thanks again..
@kingcryptotv1539
@kingcryptotv1539 Жыл бұрын
Great Communication
@serjoka77
@serjoka77 Жыл бұрын
Great Tutorial, thanks for sharing! One question: just curious why didn’t use the ownable extension of OpenZeppelin instead of creating a custom access modifier?
@nosktech7818
@nosktech7818 Жыл бұрын
Can you show or direct me to adding the coding for a “creator reward” for receiving a percentage on every transaction , thank you great walk through 👍
@drakegao816
@drakegao816 Жыл бұрын
Derived contract must override function "_mint". Two or more base classes define function with same name and parameter types when I inherited those two contracts.
@spyboy3924
@spyboy3924 Жыл бұрын
thanks for the video 🙌🙌
@0cho8cho72
@0cho8cho72 Жыл бұрын
really nice tutorial !!!
@jacektrocinski6337
@jacektrocinski6337 5 ай бұрын
@47:00 I believe there's no need to duplicate the code in the _mint override of the token. Simply using super should suffice, as it will invoke the capped contract logic, which then triggers the ERC20 logic. This approach should maintain functionality without redundant code.
@geradinfotso
@geradinfotso Жыл бұрын
Thank you for your Usefull videos.
@MikeDougherty
@MikeDougherty 11 ай бұрын
It's been a while, so maybe you realized this already, but at 1:10:00 the explorer shows two transfers. One for the 1,000,000 and another to a different address for 50. I assume that is the blockReward you were trying to find toward the end, no?
@deekshanayak5688
@deekshanayak5688 Жыл бұрын
Sir, your explanations have that clarity. Can I print token name,symbol on console like how you've shown the deployed address on console?
@andrecastro7817
@andrecastro7817 Жыл бұрын
hey thanks alot for your video!! can this be deployed on the Binance Smart chian Network ? im trying to make one that taxes and gives reflections on each transactions.
@BlockExplorerMedia
@BlockExplorerMedia 7 ай бұрын
A lot of people have been asking how to deploy to mainnet. In retrospect, I should have had that in the video! First add a 'mainnet' configuration in hardhat.config.js, under 'networks'. Then add your mainnet endpoint from Infura to the 'url' field. Finally target that configuration when you issue the deploy command, like this: 'npx hardhat run scripts/deploy.js --network mainnet'. Hope this helps.
@bethchen87
@bethchen87 6 ай бұрын
@BlockExplorerMedia I was inplementing your code at 1:03:45, but got the error message: TypeError: oceanToken.deployed is not a function at main (C:\Projects\erc-20-tutorial\ocean-token\scripts\deploy.js:8:20) at processTicksAndRejections (node:internal/process/task_queues:95:5) What might be the problem? Can somebody figure it out?
@autoRevolutionHubs
@autoRevolutionHubs Жыл бұрын
thanks, bro, I created one token and I sent it to your wallet 1m also... thanks again
@motivationalwebsite7173
@motivationalwebsite7173 Жыл бұрын
Hello bhai
@elmergriffen3010
@elmergriffen3010 Жыл бұрын
How do i contact you?
@ride66
@ride66 11 ай бұрын
What is presale, private presale l, fairlaunch, stealth launch etc. Plz make a video on that sir! On all the launch types
@elmmacwebmobileapps
@elmmacwebmobileapps Жыл бұрын
Thanks for teaching master. I appreciate. Question is, how do you give or set a value to the token. say 1000000 tokens, have seen in the tutorial wher it say 1000000 and value $0.00 | so ho do i change or give value to the tokens.??
@telego1151
@telego1151 Ай бұрын
Hey, thank you for the video, super thorough and helpful! One quick question though, is the coding the same for minting and BlockRewards now that Ethereum has moved to Proof of Stake or should we do anything different?
@trihuynh5840
@trihuynh5840 Жыл бұрын
Awesome thanks
@REZAZIMohamedabdessamed
@REZAZIMohamedabdessamed Жыл бұрын
Thanks for the quality explanation. I've a question, on the Transfer method I checked the original ERC20 implementation and they didn't multiply the amount input with the decimals... however it is still working (the balance got updated correctly).. how is that
@katour001
@katour001 Жыл бұрын
i just want to say thank you You are a Hero
@BlockExplorerMedia
@BlockExplorerMedia Жыл бұрын
Thanks for the kind words!
@MichaelWongManTak
@MichaelWongManTak Жыл бұрын
Sir, thanks for your video. Is it possible to get support in real time guidance in setting up our token. ??
@williamwallace5707
@williamwallace5707 Ай бұрын
Very in-depth, great tutorial. I was wondering what type of environment you are coding in. Are you using Docker, a VM, cloud or your PC? I am new to coding, very basic understanding and am concerned about installing and experimenting with various scripts/software and blockchain based things.
@jcw1197
@jcw1197 Жыл бұрын
Your block reward was showing in the tx hash! Just FYI, 🙂
@astrofoundation
@astrofoundation Жыл бұрын
I love your videos mate! :) ...
@BlockExplorerMedia
@BlockExplorerMedia Жыл бұрын
Thanks Bela, glad they're helpful!
@KCryptoYT
@KCryptoYT Жыл бұрын
This is great!
@BlockExplorerMedia
@BlockExplorerMedia Жыл бұрын
Thanks Crypto Guy. Great work on your channel as well!
@SimonSpiteri-bo2ty
@SimonSpiteri-bo2ty Жыл бұрын
hey, this is fantastic. can we add eth reflections for things like a marketing wallet/treasury? can you do a little how to on those types of things? love your content
@MrPotatoHeadFX
@MrPotatoHeadFX Жыл бұрын
Thank you for this. I was reading the solidity lang documentation and noticed that for large numbers it is ok to use 10e6 instead of 10000000 but when watching this and other videos no one seems to be using that style. Is there a reason why? my coding background is in matlab so for me its much easier, and cleaner to use the 10e6 notation
@jhhnadkins5669
@jhhnadkins5669 Жыл бұрын
Hello, thanks very much for video. Process is same for bep20 token too? Can I find out? And can we add halving?
@kevinjurden9114
@kevinjurden9114 Жыл бұрын
Could you create a video showing how to create a Token, and instead of minting rewards to 'miners'. Create an Liquidity pool, and mint rewards to those who are staking? Could be implemented into a Defi/Dapp video
@franktimestamp
@franktimestamp Жыл бұрын
Nice Vijeo...
@armagosa2
@armagosa2 Жыл бұрын
Awesome Video, can you do one similar with a tax function opposed to a burn function?
@GLOBALTECHFUSION
@GLOBALTECHFUSION 27 күн бұрын
If you want to split the sale, First Pre-sale and after that the main one, how to be organized in the contract?
@24PetrocoinLLC
@24PetrocoinLLC 3 ай бұрын
can you include initial token pricing in the contract before deployment?
@mobiactive
@mobiactive 2 ай бұрын
Good morning, to create a BSC network, do I need to change the router or do I have to change something else in the code?
@jims7089
@jims7089 Жыл бұрын
Great video, very informative. You were showing the ICHC token at the end of the vid, how much did it cost to implement, i.e. website costs, costs to deploy on mainnet etc?
@BlockExplorerMedia
@BlockExplorerMedia Жыл бұрын
I don't remember the exact costs tbh but probably $1-2k when it was all said and done. Most expensive was the ERC20 contract deploy, followed by the liquidity pool. Website costs $0 (Netlify). Also, I deployed the smart contract twice because I made a fatal mistake the first time! Of course deployment costs should be much less now. Hope that helps.
@PavedSoundRecords
@PavedSoundRecords Жыл бұрын
@@BlockExplorerMedia What was the fatal mistake?
@iam1.
@iam1. 9 ай бұрын
do all those extras you say at the end of the video and in case you already made them at the time of writing , thank you and rest assure i will watch them
@SoftWorkDotNg
@SoftWorkDotNg Жыл бұрын
The correct link contains a subdirectory "blob", that was what you missed.
@hberrios23
@hberrios23 8 ай бұрын
do you have any videos on creating a coin on different block chain network or all of the are the same?
@BlockExplorerMedia
@BlockExplorerMedia 7 ай бұрын
So far I've only done Ethereum, but the code would be the same for any EVM-compatible chain (such as Polygon). You would just create a network config specific to that chain in the Hardhat config file and then target that for your deploy. For something like Solana it would be totally different code and process though.
@guillermobeitler5147
@guillermobeitler5147 9 ай бұрын
I think you do an amazing job with your content. Do you have a class where you teach blockchain? I would pay to learn if you teach a course.
@BlockExplorerMedia
@BlockExplorerMedia 7 ай бұрын
Thanks, I appreciate it! I don't have any courses at the moment but I've been thinking about creating one - will let you know.
@galeraonthebeat
@galeraonthebeat Жыл бұрын
Why do we need ERC20Capped if we created the same function (_mint) inside our token contract? We do not have a function that overrides cap value so we could just use our cap value that we could declare in constructor.
@SchnubiMedia
@SchnubiMedia 9 ай бұрын
Thanks for that Video How can i Pic Tax fees in this Contract? Thanks
@Bobbybaitz
@Bobbybaitz 29 күн бұрын
Hi, I'm running into this error: npm : The term 'npm' is not recognized as the name of a cmdlet, function, script file, or operable program. Check the spelling of the name, or if a path was included, verify that the path is correct and try again. At line:1 char:1 + npm init + ~~~ + CategoryInfo : ObjectNotFound: (npm:String) [], CommandNotFoundException + FullyQualifiedErrorId : CommandNotFoundE xception Any help?
@vaerube6670
@vaerube6670 9 ай бұрын
thanks for sharing... hi sir @BlockExplorerMedia i got a question, when I perform the npx hardhat test, it shows "0 passing (1ms) ". I notice your terminal using is "node" instead of "powershell", is that the problems ?& how to solve it? 🙏
@aayushchopra6080
@aayushchopra6080 2 ай бұрын
Same, unsure what's goin on
@ObscureOdysseys
@ObscureOdysseys 9 ай бұрын
Alright so after a lot of debugging I actually got it to work on sepolia, what a great feeling! But, you never went back and taught us how to deploy on mainnet. Is it simply changing the infura endpoint link to mainnet link?
@BlockExplorerMedia
@BlockExplorerMedia 7 ай бұрын
Yes, exactly. I pinned a comment to the top explaining. A lot of people have been asking this. Thanks!
@UCHIHA587
@UCHIHA587 Жыл бұрын
successfully create i send my coin for your address thanks for the great video .... and
@advikmarini
@advikmarini 9 ай бұрын
I am getting another error when I try to run "npx hardhat run --network rinkeby scripts/deploy.js" This is the error that I am getting: TypeError: no matching function (argument="key", value="deployed", code=INVALID_ARGUMENT, version=6.6.4) I understand that it has something to do with the ethers version that I am using, but I'm not quite sure what the substitute would be for "deployed" in the current version that I am using for ethers, and I haven't been able to find a substitute on the internet for this function. Thanks!
@ng8530
@ng8530 Жыл бұрын
Please, a tutorial to launch an ICO 🙏🙏🙏
@officialjobsdekho5426
@officialjobsdekho5426 Жыл бұрын
bro which code editor should I use to install hardhat? I am not familiar with visual code. If you can make a video about visual code for deploying the contract it would be easy to understand.
@VVAIBHAVTIWARI
@VVAIBHAVTIWARI Ай бұрын
vs code
@albechannel1
@albechannel1 Жыл бұрын
Thanks a lot for this! Just a question: now that Rinkeby has been deprecated, would you suggest (to a newby like me…) how to use another testnet?
@shjndohjkaru
@shjndohjkaru Жыл бұрын
you can using sepolia for same
@advikmarini
@advikmarini 9 ай бұрын
Rinkeby has now been turned into Sepolia by the same company “alchemy” so I just went ahead and used the sepolia test network
@jiaxunhoa4274
@jiaxunhoa4274 Жыл бұрын
how much gas in ether did you pay for this creating of erc20? Amazing tutorial!! I really like it.
@BlockExplorerMedia
@BlockExplorerMedia Жыл бұрын
I don't remember exactly but the fee for deploying to testnet is nominal, and uses test Ether only. Deploying to mainnet will be more expensive.
@CharlesBLim
@CharlesBLim Жыл бұрын
@@BlockExplorerMedia how about BEP20 is it the same with Erc20 in terms of the cost of deploying to the mainnet?
@TimKariuki
@TimKariuki Жыл бұрын
Is it possible to add custom metadata to a token?
@PulokPandit
@PulokPandit Жыл бұрын
what will be the procedure to deploy it to main net and does it gonna cost me something ??
@HarbingerOfDank
@HarbingerOfDank Жыл бұрын
Imagine the post office uses tokens/nfts to ship letters and such. It would include a built in tracking system. The nft could represent the Stamp and include to:/from: information. Or nfts that represent land in real world. Owners of the nft land could be incentivized by rental income, land development, etc. Or small business nft that would be backed by material or products. In lieu of rasing capital and giving away % in your company. Take a nft loan by backing your purchase orders with nfts designed to return a certain %.
@user-gr7ff2kz5c
@user-gr7ff2kz5c 8 ай бұрын
Hello thank you for the video, how can we deploy to main net, can you help with the configuration?
@BlockExplorerMedia
@BlockExplorerMedia 7 ай бұрын
I pinned a comment to the top of this video explaining how. Let me know if you have any other questions.
@HexElement
@HexElement Жыл бұрын
Hey bro I have a quick question. This is my first crypto Im messing around with and am a total noob. When it comes to the Capped supply vs the Max Total Supply, I want to own 80% of the token and have 20% on the market. I put the cap amount at 10 mill and my amount to send the owner 8 mil. Does this mean there is only 8 mil in existence and 2 more mil can be minted.... Or does it mean that 2 mill can be bought and or minted? I need there to be a max supply of 10 mil and 2 mil of that is ready to be traded by the public, but etherscan is only showing 8. I know this is a crazy noob question, but I appreciate your time bro! Awesome tutorial!
@BlockExplorerMedia
@BlockExplorerMedia Жыл бұрын
hey Hex - great question. so for the tokens that you want to make publicly available on the market, those should go to your wallet first (at the time of contract deployment) and then you would transfer those tokens from your wallet into liquidity pools, for example on Uniswap, to be made available for trading. the remaining 20% left unminted could be for miner rewards or any other utility that you can think of. at least that's how I've always done it. some tokens don't have any kind of time-based minting or mining rewards. so at the simplest, you could send yourself 100%, provide 20% of that as liquidity and keep the remaining 80%. hope this helps.
@HexElement
@HexElement Жыл бұрын
@@BlockExplorerMedia You just saved my life! Thats exactly what I was wanting to figure out. Thank you man, you got a subscriber!
@BlockExplorerMedia
@BlockExplorerMedia Жыл бұрын
You bet - thanks!!
@franklinokafor3229
@franklinokafor3229 9 ай бұрын
​@@HexElementcan you guys teach me i will pay.
@Globetrottersz1
@Globetrottersz1 9 ай бұрын
@@BlockExplorerMedia a quick one, have compiled as successful unfortunately on. Js test have only managed 3 passing and 4 failing. Where might I be wrong!!?. Thanks in advance
@JohnDoe34548
@JohnDoe34548 27 күн бұрын
but i'd like to see a video on how to orgaise an airdrop of your token, or even get it listed on binance or coinbase.
@TopMutt
@TopMutt Жыл бұрын
Does this tutorial cover whole process from start to end in complete?
@HexElement
@HexElement Жыл бұрын
I got my token launched on Ethereum and added liquidity! Thank you so much. If you ever have time to make a video about how to verify your contract on etherscan to claim ownership (you know with the solidity code input and all that) that would be the best thing ever as Im struggling with it. Anyway, thanks again for the awesome tutorial!
@BlockExplorerMedia
@BlockExplorerMedia Жыл бұрын
That's awesome...congrats!! I've been trying to think of ideas for some shorter videos - contract verification would be perfect. Will try to get that out soon!
@dannyellis971
@dannyellis971 Жыл бұрын
How did you launch your token on Ethereum? Did you use remix and how much did the gas cost? Thanks 🙏
@GOGABRIELLE
@GOGABRIELLE Жыл бұрын
I can help
@franklinokafor3229
@franklinokafor3229 9 ай бұрын
Sir can you teach me?
@Globetrottersz1
@Globetrottersz1 9 ай бұрын
@HexElement congrats on your project, I'm stuck and struggling with .js test. My results are 3 pass, 4 fail. Could you help me somehow on this, thanks inadvance.
@mikelac2
@mikelac2 Жыл бұрын
Will this work with prc-20?
@VUVANDUNG22
@VUVANDUNG22 2 ай бұрын
i have error please help me : Should set the max capped supply to the argument provided during deployment: TypeError: Cannot read properties of undefined (reading 'formatEther')
@thelegendjustice
@thelegendjustice 5 ай бұрын
it says "infinite gas" for me on creating the constructor, what did i do wrong ? thanks
@phredbitcoin
@phredbitcoin 9 ай бұрын
Awesone video..If possible I would like to interact with you, I need some kind advise on create my token
@BlockExplorerMedia
@BlockExplorerMedia 7 ай бұрын
Thanks my friend. Happy to try and help as time allows, feel free to contact via email.
@spadanaco.638
@spadanaco.638 10 ай бұрын
Hello. How to do that on iPhone? Does that work? Not sure why but whenever I get on remix I get an error message.
@sirnawaz
@sirnawaz Жыл бұрын
39:45. `block.coinbase`.. How does this field `coinbase` come from? Is it defined by (or related to) Coinbase Exchange? What is the type of `block`? Is it some `any` kind where arbitrary fields can be added by anyone?
@pantherverse
@pantherverse Жыл бұрын
Hey man, am getting this error 'aquaToken contract "before each" hook for "Should set the right owner": HardhatError: HH700: Artifact for contract "AquaToken" not found.' What might be the problem?
@mrcrazy3960
@mrcrazy3960 Жыл бұрын
Please I’m getting this error any help “Before each” hook for “should set the right owner”: HardhatError; HH700: Artifact for contract “sunToken” not Found
@digitalthoughts334
@digitalthoughts334 Жыл бұрын
Thanks for uploading this tutorial. Amazing work. I am facing issues at 36:56 and getting this error: TypeError: Derived contract must override function "_mint". Two or more base classes define function with same name and parameter types. Could you please suggest what could be causing these issues? I don't see you have any issues.
@drawcontent3664
@drawcontent3664 Жыл бұрын
This error occurs when a contract is derived from two or more base contracts that have a function with the same name and input parameter types. In your case, it seems that you have defined the _mint function in your derived contract and also inherited it from one or more base contracts. To resolve this error, you need to override the _mint function in your derived contract to ensure that it has the same function signature as the base contract(s). This means that the function name, input parameter types, and return type must be exactly the same. Here's an example of how you can override the _mint function in your derived contract: javascript Copy code function _mint(address account, uint256 amount) public onlyOwner { require(account != address(0), "ERC20: mint to the zero address"); _totalSupply += amount; _balances[account] += amount; emit Transfer(address(0), account, amount); } This adds the onlyOwner modifier to restrict minting to the contract owner, but you can modify it as per your requirements. Just make sure that the function signature is the same as the base contract(s) to avoid the error.
@kirazami2282
@kirazami2282 Жыл бұрын
Hi did you find solution ? thanks
@shachar991
@shachar991 Жыл бұрын
​ It happens because of multiple references to the ERC20 contract (ERC20Capped & ERC20Burnable). If are talking about the _mint function (defined in both ERC20 and ERC20Capped contracts), you should override the function in your Token contract (add override(ERC20, ERC20Capped) to the _mint() signature - the order doesn't matter) and call super._mint(). The code will use the ERC20Capped function since we are using super and it's "closer" in the inheritance chain (you can also just use ERC20Capped._mint() explicitly). Hope it helped.
@TreelandPlantation-oy5lc
@TreelandPlantation-oy5lc 8 ай бұрын
when im in visual studio and type npm init it gives an error and says npm term is not recognized as the name cmdlet and check the name and etc
@jeffman97
@jeffman97 8 ай бұрын
m.kzfaq.info/get/bejne/m8elhaialdzbcmQ.html&pp=ygUNbm9kZWpzIHZzY29kZQ%3D%3D
@BlockExplorerMedia
@BlockExplorerMedia 7 ай бұрын
Check to make sure you have NodeJS installed on your machine first - that's what will give you npm. nodejs.org/en/download
@Akhbash
@Akhbash Жыл бұрын
It does display the mining reward in rinkeby etherscan, but it is inside the same transaction. Look at 1:10:00, there are two token transfers ;D
@BlockExplorerMedia
@BlockExplorerMedia Жыл бұрын
Oh good catch! I wonder why the transaction is bundled like that. In the past the reward was always a separate transaction. Thanks for letting me know!
@beamzbysilva2928
@beamzbysilva2928 Жыл бұрын
Please can you clarify, why do we need the mining reward? Just a little confused about the need for that part of the code.
@BlockExplorerMedia
@BlockExplorerMedia Жыл бұрын
I want to be clear that the mining reward part is totally optional! It is just an example of one way of generating new token supply into circulation. There are many different options here and you could also not have any supply-generating mechanism and mint all tokens up front. It's really up to the developer. Hope that helps!
@indiuma
@indiuma Жыл бұрын
still get solidity version error tho it matches to hardhat file doesnt compile
@kruzoty929
@kruzoty929 3 ай бұрын
hello, how i can add a web site and a twitter account to my contract erc20 ? a specifical code lign ?
@f_ftactics7928
@f_ftactics7928 Жыл бұрын
for me somehow the initial balance is zero in my truffle test. I did use _mint function. Any ideas why? Thanks.
@EclipseEgg
@EclipseEgg 3 ай бұрын
will you get in trouble if you don't include MIT license statement?
@astrofoundation
@astrofoundation Жыл бұрын
Can you make a video where we create an ICO - full dApp ?
@BlockExplorerMedia
@BlockExplorerMedia Жыл бұрын
Yeah I've been thinking about something like that to follow this one up with - thanks for the suggestion.
@bobsanders2145
@bobsanders2145 Жыл бұрын
may you do a video on how to make a wallet in solidity? and multi sig wallet?
@BlockExplorerMedia
@BlockExplorerMedia Жыл бұрын
Added to my list of videos to research - thanks for the idea
@bobsanders2145
@bobsanders2145 Жыл бұрын
@@BlockExplorerMedia thank you! I can’t find how to do this anywhere! I don’t want to rely on meta mask lol
@BlockExplorerMedia
@BlockExplorerMedia Жыл бұрын
Understand that...multisig is much more secure!
@SuryaVino
@SuryaVino 2 ай бұрын
at 44.35 you dont have artifacts folder and then 44.41 artifacts is shown here how
@brenobertulucci134
@brenobertulucci134 Жыл бұрын
on minute 53 i received this error on 3 last test function: TypeError: Cannot read properties of undefined (reading 'address')
Faucet Smart Contract Tutorial | Solidity Tutorial
47:53
Block Explorer
Рет қаралды 13 М.
How to Become a Blockchain Developer
25:33
Block Explorer
Рет қаралды 52 М.
Why? 😭 #shorts by Leisi Crazy
00:16
Leisi Crazy
Рет қаралды 22 МЛН
GADGETS VS HACKS || Random Useful Tools For your child #hacks #gadgets
00:35
ERC20 tokens - Simply Explained
6:14
Simply Explained
Рет қаралды 422 М.
Web3 Tutorial Project | Build a Faucet dApp with Ethersjs & Reactjs
47:22
the new PS4 jailbreak is sort of hilarious
12:21
Low Level Learning
Рет қаралды 177 М.
Create ERC20 token on Ethereum (the EASY way)
22:07
EatTheBlocks
Рет қаралды 104 М.
How I used AI to make a $20M memecoin
36:58
Rhett Mankind
Рет қаралды 396 М.
How to Create Your Own Cryptocurrency
12:12
CoinMarketCap
Рет қаралды 70 М.
How about that uh?😎 #sneakers #airpods
0:13
Side Sphere
Рет қаралды 10 МЛН
СЛОМАЛСЯ ПК ЗА 2000$🤬
0:59
Корнеич
Рет қаралды 2,4 МЛН
Save Work Efficiently on Your Computer 18/05/2024
0:51
UNIQUE PHOTO EDITING
Рет қаралды 305 М.
Индуктивность и дроссель.
1:00
Hi Dev! – Электроника
Рет қаралды 1,1 МЛН
Apple Event - May 7
38:32
Apple
Рет қаралды 6 МЛН
Best Gun Stock for VR gaming. #vr #vrgaming  #glistco
0:15
Glistco
Рет қаралды 7 МЛН