Truffle Tutorial for Beginners | Compile, Test & Deploy Smart contracts to any EVM Blockchain

  Рет қаралды 82,021

EatTheBlocks

EatTheBlocks

Күн бұрын

Пікірлер: 120
@EatTheBlocks
@EatTheBlocks Жыл бұрын
FREE MASTERCLASS "Get Into Web3 In a Bear Market" 👉 Link: eattheblocks.com/masterclass 👉 Full roadmap to learn Web3 Development & get a 6 figure remote job 👉 EVEN during this bear market
@relaxwithmedia783
@relaxwithmedia783 3 жыл бұрын
Timestamps 0:00 Introduction 0:36 What is Truffle? 2:01 Installing Truffle 3:20 Setting up Project for Truffle 4:38 Compiling Smart Contracts 9:30 Checking / Quizzing Smart Contracts (Call it what you want] 14:00 Deploying Smart Contracts 23:39 Interacting With Smart Contracts ///// Good LLuck
@zes7215
@zes7215 2 жыл бұрын
vx wrg
@alicanalmacimeni8853
@alicanalmacimeni8853 3 жыл бұрын
I just searched truffle tutorial in your series, and you uploaded like 1 hour ago, looks like my wish 😄 I'm currently learning blockchain as a web developer, and your videos are great, thanks Julien, you are rock 🤜
@EatTheBlocks
@EatTheBlocks 3 жыл бұрын
Wonderful!
@sumesh7310
@sumesh7310 Жыл бұрын
It's been a year, I hope you are a blockchain Developer now !!
@nikimoretti4297
@nikimoretti4297 11 ай бұрын
Great tutorial! The clarity in explaining, its crucial for newcomers. I've been working on blockchain development for two years, and it's always inspiring to see content that eases the initial understanding.
@EatTheBlocks
@EatTheBlocks 11 ай бұрын
thanks for the support!
@michaelionita
@michaelionita 3 жыл бұрын
Very helpful, especially the part where you deploy and interact with the contract on BSC Testnet.
@1anre
@1anre 3 жыл бұрын
I feel happy that I was able to understand & predict what each of those actions will return, as most of what you explained in this Truffle video was covered when I watched your “deploying SmartContracts video to Binance SmartChain” video, made lots of notes, practiced and debugged all the issues I had when deploying to bscTestnet, as truffle had some system-level issues while I was trying it out on the local ‘develop’ environment that truffle provides for development. I know I don’t know much about Ethereum Development fully yet, but that video of yours allowed me to pick an interest in Blockchain Development on the EVM framework. Will watch the “building a Frontend for SmartContracts” video next, as that seems the next interesting thing to me to focus on next. Julien for president!
@EatTheBlocks
@EatTheBlocks 3 жыл бұрын
Congrats for your progress!
@forex_shark6042
@forex_shark6042 3 жыл бұрын
We need two videos.. Building migration scripts to deploy contracts with dependency contracts like safemath, ect.. It would also be cool to do a video on how to combined contracts into one big contract instead of using migration scripts to launch multiple dependent scripts. Great work
@coder8515
@coder8515 2 жыл бұрын
Thanks for another excellent video! You've the good "recipe": short videos full of info 👍
@ushrestha224
@ushrestha224 2 жыл бұрын
Which OS are you using ?? Can you make tutorial for windows?
@MikeLiteros
@MikeLiteros 3 жыл бұрын
Does this guy have a whole book on the ajax library?
@cosanostraytc1030
@cosanostraytc1030 2 жыл бұрын
Good tutorial man. Good work!!!
@EatTheBlocks
@EatTheBlocks 2 жыл бұрын
Appreciate it!
@zz6458
@zz6458 2 жыл бұрын
Hello eattheblocks! Thanks for creating this video I have a quick hopefully easy question, the vim truffle-config command provides an output in the terminal instead of sublime or other editor? how do i make this change? i also tried to go into the project file truffle config and updated it there. however when i tried to compile i still received the Error: Truffle is currently using solc 0.5.16, Thanks, Z
@silent_pooler
@silent_pooler 2 жыл бұрын
Julien is really TopTopTop the best of the Best!
@EatTheBlocks
@EatTheBlocks 2 жыл бұрын
Thanks!
@martatofan1089
@martatofan1089 2 жыл бұрын
Just AMAZING tutorial👏🏽👏🏽👏🏽 you save me a lot of time. Greta job!
@Ali_Murtaza_Memon
@Ali_Murtaza_Memon 2 жыл бұрын
Hi, This is really an amazing tutorial for beginners and I appreciate your work. I have a quick question, Can we remove the default created smart contract and migration file by truffle? and if not then please tell us the reason. Thank you!
@exeohe
@exeohe 2 жыл бұрын
@ 4:30 I also have options for "node_modules package-lock.json package.json public src" ???
@8h1n1e1e8
@8h1n1e1e8 3 жыл бұрын
I liked after 2minutes of upload
@PhoenixRebirthed
@PhoenixRebirthed 3 жыл бұрын
I liked instantly
@PhoenixRebirthed
@PhoenixRebirthed 3 жыл бұрын
@Michael Weis I invented the like button
@dfilion3
@dfilion3 2 жыл бұрын
This is all running on the developer machine. What would be the best way to do something similar for ci/cd on a build server ?
@DuskoRuzic
@DuskoRuzic 3 жыл бұрын
Hey love your videos! Are you able to do one on how to interact with smart contracts and call a burn function?
@CP-mb3jk
@CP-mb3jk 2 жыл бұрын
I’m trying to understand the use case of these smart contracts. Saw the test example of the pet shop on the truffle tutorial. But still don’t see the benefit of using this blockchain template as opposed to a traditional java/other website. Any thoughts or use cases u could point me to?
@alonadaphna
@alonadaphna 3 жыл бұрын
You're amazing. It was very easy to understand. Thank you!
@EatTheBlocks
@EatTheBlocks 3 жыл бұрын
Glad it helped!
@RENDAINFINITA369
@RENDAINFINITA369 3 жыл бұрын
THIS IS THE SAME OF CREATING A TOKEN OR THIS IS ONLY FOR SMART CONTRACT?
@kentf6805
@kentf6805 2 жыл бұрын
I i love you videos. Couldnt you make a video on how to do this on the cronos chain?
@faisalfarooquee
@faisalfarooquee 2 жыл бұрын
That's what I am looking for! 22:24 👨‍💻
@PAULTHEMAGNIFIK
@PAULTHEMAGNIFIK 2 жыл бұрын
Great video, thanks!
@EatTheBlocks
@EatTheBlocks 2 жыл бұрын
Glad you liked it!
@TheMonacoExpress
@TheMonacoExpress 2 жыл бұрын
what terminal is he using ? Not seen that syntax before
@benyaminlatifian3115
@benyaminlatifian3115 3 жыл бұрын
Thank you mr julian. Very good learn for guid.
@EatTheBlocks
@EatTheBlocks 3 жыл бұрын
Glad to hear that
@kjm144
@kjm144 3 жыл бұрын
Great video. I literally fck'ed up trying to make DAPP with my BSC contract functions on my website.... any easy guide will be published?
@MrSuperGerald
@MrSuperGerald 3 жыл бұрын
Could you please zoom in on your code? That would make it possible to watch your videos on a mobile.
@ragabnadim
@ragabnadim 2 жыл бұрын
thanks for the video
@henrytirla
@henrytirla 2 жыл бұрын
Great work and i have an input, I think doing a video using vs code is highly beginner friendly working from the terminal can scare off beginers.
@EatTheBlocks
@EatTheBlocks 2 жыл бұрын
Great suggestion!
@be.ttubee
@be.ttubee 3 жыл бұрын
How can i stop ganache? Web search does not give me the answer.
@EatTheBlocks
@EatTheBlocks 3 жыл бұрын
ctrl + c
@ca7986
@ca7986 3 жыл бұрын
You are amazing dude
@EatTheBlocks
@EatTheBlocks 3 жыл бұрын
thx!
@morankurdistan4716
@morankurdistan4716 3 жыл бұрын
you explain it like it's very simple thanks a Lot👍👌
@EatTheBlocks
@EatTheBlocks 3 жыл бұрын
Happy to help
@sco9114
@sco9114 2 жыл бұрын
Merci tu gères Julian :)
@EatTheBlocks
@EatTheBlocks 2 жыл бұрын
Merci :)
@baturegarbabadamasi8187
@baturegarbabadamasi8187 3 жыл бұрын
Hello man. i keep un recieving this error in truffle: Contract: simplestorage Should update data: TypeError: storage.UpdateData is not a function
@thiagoaugusto300
@thiagoaugusto300 3 жыл бұрын
Good content, thank you.👍🏽
@EatTheBlocks
@EatTheBlocks 3 жыл бұрын
Glad it was helpful!
@MillionaireTrader
@MillionaireTrader 3 жыл бұрын
Wow this was just so awesome Thank you so much :)
@EatTheBlocks
@EatTheBlocks 3 жыл бұрын
Glad you liked it!
@Gamesforyourmind
@Gamesforyourmind 3 жыл бұрын
You can do it!
@All3me1
@All3me1 Жыл бұрын
14:54 I got the migrations folder but not the 1_initial_migration.js file
@ivanf.santos3335
@ivanf.santos3335 3 жыл бұрын
Very good!!!!
@EatTheBlocks
@EatTheBlocks 3 жыл бұрын
Thanks!!
@alexurban12
@alexurban12 3 жыл бұрын
Top video. Can you do a tutorial on coding auto-compounding for a manual compounding pool?
@EatTheBlocks
@EatTheBlocks 3 жыл бұрын
Great suggestion!
@TheSumitBanik
@TheSumitBanik 3 жыл бұрын
Hi Julien, I wanted to move into blockchain development. I've graduated in 2020 and now I work in an MNC as an Automation Test Engineer. Can I make a switch as I don't have any professional experience? :( I just started my journey; following all the steps as you mentioned in your roadmap video. Thanks!
@EatTheBlocks
@EatTheBlocks 3 жыл бұрын
We all have to start somewhere. As long as you are learning and enjoy Blockchain dev, you can make it :-)
@harshdalwadi7544
@harshdalwadi7544 2 жыл бұрын
I am having issue with the deployment. The contracts are getting compiled but are not getting deployed, so the console is not showing any deployment info, how do I solve this?
@Ahmad_Faraz_web3Dev
@Ahmad_Faraz_web3Dev 5 ай бұрын
Yes same issue .
@gabriel_rivas
@gabriel_rivas 3 жыл бұрын
Hi Bro. You have 2 courses: DeFi Development Mastery and 6 Figures Blockchain developer. Both are updated? and Which must I take. I am a junior developer, but understand a lot, and I know full logical blockchain and how it works. I saw the description of both courses and both are good
@EatTheBlocks
@EatTheBlocks 3 жыл бұрын
Both are up-to-date yes. If you already know blockchain dev, take DeFi Dev Mastery :)
@romulogonzalez739
@romulogonzalez739 3 жыл бұрын
Hey, does the truffle compiler work with solidity 0.8, it takes too long, it doesn't compile , in the other hand when I use solidity 0.5 it does work .
@EatTheBlocks
@EatTheBlocks 3 жыл бұрын
Yes it does. Maybe a problem with your internet connexion.
@romulogonzalez739
@romulogonzalez739 3 жыл бұрын
@@EatTheBlocks thanks Julien you are the best , I think that could be the problem ,my internet connection is bad.
@angelomoon390
@angelomoon390 3 жыл бұрын
Hello, thank you for your amazing content. Do I need to know coding before taking your course ? Thank you
@EatTheBlocks
@EatTheBlocks 3 жыл бұрын
If you take the jumpstarter package, no need for coding background :) eattheblocks.com/6-figure-blockchain-developer/
@gregorystevens5173
@gregorystevens5173 3 жыл бұрын
Just curious, Julien, how do you define "Beginners"?
@EatTheBlocks
@EatTheBlocks 3 жыл бұрын
People who don't know Blockchain dev yet.
@curator8265
@curator8265 3 жыл бұрын
In my MacBook Air M1, I started installing truffle with the help of npm. To avoid version issue I installed nvm. But what I see is, I have to write every time the ‘npm install-g truffle’ command to see truffle is installed!! I mean with every time I close the terminal and open a new terminal I need to write ‘npm install -g truffle to see truffle version in terminal!! This is madness and something wrong!!
@EatTheBlocks
@EatTheBlocks 3 жыл бұрын
This doesn't seem specific to Truffle, and more likely related to your npm install. Maybe that you need to change something in your .bashrc so that your terminal can find automatically the globally installed libraries upon restart.
@curator8265
@curator8265 3 жыл бұрын
Thanks for replying. Need to check further.
@curator8265
@curator8265 3 жыл бұрын
I am a first time Mac user, when we set the directory to start truffle operation in Windows, is there a similar way to set path in MacBook or it is not required?
@philippalbrecht9023
@philippalbrecht9023 2 жыл бұрын
Hi I keep getting zsh: command not found: truffle
@ginux9847
@ginux9847 Жыл бұрын
thank you
@cuzzigcuzi9901
@cuzzigcuzi9901 Жыл бұрын
I like your video more than that diversity crap on KZbin thanks for the great walkthrough
@jackquan7839
@jackquan7839 3 жыл бұрын
Thank you bro
@EatTheBlocks
@EatTheBlocks 3 жыл бұрын
Welcome
@ronyjoseph7868
@ronyjoseph7868 3 жыл бұрын
I stuck, that is I don't know the concept of using solidity contract in a js file
@d2vin
@d2vin 3 жыл бұрын
Hello, On my mac and I can't use the truffle command. I keep getting zsh: command not found: truffle can someone please help?
@relaxwithmedia783
@relaxwithmedia783 3 жыл бұрын
need to download npm and do and npm install -g truffle or something along the lines of that if not you may have to look up how to add truffle to environment variables
@camerondavis2012
@camerondavis2012 3 жыл бұрын
you lost me after you typed in truffle init, where are you typing all this at, on the command on your desktop or are you in visual studio or remix.ethereum or what?
@EatTheBlocks
@EatTheBlocks 3 жыл бұрын
In the terminal.
@camerondavis2012
@camerondavis2012 3 жыл бұрын
@@EatTheBlocks in what terminal though is there a certain application
@relaxwithmedia783
@relaxwithmedia783 3 жыл бұрын
@@camerondavis2012 You can download microsoft terminal or Windows PowerShell and take it from there you need to have a few programs to do this type of work
@froote
@froote 3 жыл бұрын
Can you make a tutorial on cloning a IDO like polkastarter
@EatTheBlocks
@EatTheBlocks 3 жыл бұрын
Good idea!
@froote
@froote 3 жыл бұрын
@@EatTheBlocks thank you i was for help on how to build one but couldn't find it
@gamerteen4153
@gamerteen4153 3 жыл бұрын
GOOD SO FAR until 22.10
@ИльяБелоногов-х6э
@ИльяБелоногов-х6э 3 жыл бұрын
Спасибо большое!
@ronyjoseph7868
@ronyjoseph7868 3 жыл бұрын
Great
@abeeralfaifi3806
@abeeralfaifi3806 2 жыл бұрын
When I try to install truffle, this error is appeare: 'npm' is not recognized as an internal or external command, operable program or batch file. Does anyone know the solution?
@rockyrasakith
@rockyrasakith 2 жыл бұрын
Do you have node js installed on your computer?
@abeeralfaifi3806
@abeeralfaifi3806 2 жыл бұрын
Thank you, it's solved now
@SwoleDjoe
@SwoleDjoe 3 жыл бұрын
Can you do Truffle Vs Hardhat
@EatTheBlocks
@EatTheBlocks 3 жыл бұрын
I already did another video on Hardhat
@mrmocro
@mrmocro 3 жыл бұрын
@hathumkittitus9663
@hathumkittitus9663 3 жыл бұрын
Thanksssss
@w3mct
@w3mct 3 жыл бұрын
Cool
@schwarzchauhan
@schwarzchauhan Жыл бұрын
3:22
@zes7215
@zes7215 2 жыл бұрын
wrr, ts just toolx, no yesx oretc, nonerx
@benyaminlatifian3115
@benyaminlatifian3115 3 жыл бұрын
Thank you mr julian. Very good learn for guid.
@EatTheBlocks
@EatTheBlocks 3 жыл бұрын
Glad it was helpful!
@khangvutien2538
@khangvutien2538 3 жыл бұрын
Cool
Top 7 Smart Contract Security Vulnerabilities @QuickNode
15:01
EatTheBlocks
Рет қаралды 11 М.
coco在求救? #小丑 #天使 #shorts
00:29
好人小丑
Рет қаралды 18 МЛН
Hoodie gets wicked makeover! 😲
00:47
Justin Flom
Рет қаралды 137 МЛН
Симбу закрыли дома?! 🔒 #симба #симбочка #арти
00:41
Симбочка Пимпочка
Рет қаралды 4,9 МЛН
How I became millionaire with Solidity
11:21
EatTheBlocks
Рет қаралды 2,5 М.
Create ERC20 token on Ethereum (the EASY way)
22:07
EatTheBlocks
Рет қаралды 105 М.
Hardhat Tutorial | Smart contract framework (Truffle alternative)
34:08
Writing a dApp using Solidity, Truffle, Ganache, MetaMask | Part 1
24:15
🔴 Frontrunning trading bot - Coding tutorial
1:17:40
EatTheBlocks
Рет қаралды 3 М.
Truffle Tutorial 2023 | Code Eater - Blockchain | Hindi
59:44
Code Eater
Рет қаралды 12 М.