How To Code Your First Ethereum Smart Contract

  Рет қаралды 173,694

Dapp University

Dapp University

Күн бұрын

🤑Learn how to become a highly paid blockchain dev:
www.dappuniversity.com/bootcamp
🔴Subscribe to this channel: / @dappuniversity
Follow me on Twitter (@DappUniversity): / dappuniversity
Email me: gregory@dappuniversity.com

Пікірлер: 112
@marcbechamp
@marcbechamp 2 жыл бұрын
2 years later and the tutorial worked flawlessly. Just a few differences in the Solidity UI. This is exactly what I needed to get started immediately. No Git, no Node, no npm, just code and debugging. Thanks a million. Thumbs up & suscribed.
@tankstechtutorials5721
@tankstechtutorials5721 3 жыл бұрын
nice, I was looking for something quick like this to get me started
@codysatornino8162
@codysatornino8162 3 жыл бұрын
This was the first thing I watched where I could understand a little bit of it. I don't know what exactly I just did, but I followed your instructions and it was working. I just don't know where to look from here to learn more about it all lol thanks for this video
@solvability2782
@solvability2782 2 жыл бұрын
thanks. simple, short, sweet. appreciate it bro
@pvitto98
@pvitto98 2 жыл бұрын
You’re so good in making tutorials
@tyranitartrading1561
@tyranitartrading1561 2 жыл бұрын
wow i am gonna use this info thanks dude hella usefull for a start. I am looking to start a new nft project and need to learn how to write a smart contract for something somewhat like staking but diffrent lol. in all honesty i would love some more advice if you are down to give it! thanks again dude!
@sridhar7970
@sridhar7970 5 ай бұрын
Bro that's really nice and thanks for such a good explanation as I was worried with how to interact with contact you gave a nice way of explanation 😀
@HobbyistLifestyle
@HobbyistLifestyle 2 жыл бұрын
How would you attach a deed to the smart contract?
@AdventurersGuild23
@AdventurersGuild23 4 жыл бұрын
hey, Gregory can you please make a dapp using visual studio code, please.
@neilshah4440
@neilshah4440 2 жыл бұрын
its the same process, it just cant be run in VSC, you have to use another app for that (for now)
@ariansk9011
@ariansk9011 Жыл бұрын
That app is ??
@diptanshumalviya7547
@diptanshumalviya7547 4 жыл бұрын
Hye! I know you don't read messages. if you see please make a video on what to do after making smart contract and what is vyper?
@pudsey7527
@pudsey7527 2 жыл бұрын
So once you connect your metamask your smart contract is ready?
@rhondadotterer8349
@rhondadotterer8349 2 жыл бұрын
I have a contract, when I started it I DID NOT have any coding knowledge and still don’t, when it was created I did not set it so I could extract any of the accumulated coins that would be paid to the contract , can you help me?
@Adisirvya
@Adisirvya 3 жыл бұрын
Thanks man
@AlexCruz-zf1qn
@AlexCruz-zf1qn 2 жыл бұрын
Following this code right now, wonder what will happen have Zero experience in this so praying for the best !
@tvapp5327
@tvapp5327 2 жыл бұрын
Awesome presentation - what would happen to uint value if we decrement when zero....
@cryptophoenix2023
@cryptophoenix2023 2 жыл бұрын
Depending on which version of Solidity you are using, it'll either revert or it'll result in an underflow. I think 0.8.0+ will result in a revert error, and anything below that will result in an underflow. If you don't know what underflow/overflow is then look it up, it's kinda cool but also extremely bad for smart contracts if it happens lol
@bokirbx7942
@bokirbx7942 4 жыл бұрын
hi sir, please make a video how to change name or profile of erc20 token has already created
@Tafsirul555
@Tafsirul555 4 жыл бұрын
Sir, how to verify ERC20 Token In Etherscen... Please help sir
@moisespineda7886
@moisespineda7886 2 жыл бұрын
I subscribed as soon as he said free boot camp. Worth it
@royanguiano2610
@royanguiano2610 2 жыл бұрын
how has the classes been you joined?? have you been learning?
@pinpeter
@pinpeter 3 жыл бұрын
Im using a macbook i dont see the same thing like on the tutorial !
@strangeQuirks
@strangeQuirks 2 жыл бұрын
What if many people run the counter smart contract at the same time? How would it ensure the count is consistent?
@rainmanj9978
@rainmanj9978 2 жыл бұрын
What do you mean?
@strangeQuirks
@strangeQuirks 2 жыл бұрын
@@rainmanj9978 I am wondering if there are race conditions, but i guess not?
@terryterry1655
@terryterry1655 2 жыл бұрын
how to buid a smart contract fpr insurance company?
@christopherayoub2973
@christopherayoub2973 3 жыл бұрын
I had an error in line 10. It says New.sol:10:22: ParserError: Expected ';' but got 'Number' count += count 0; ^. I have everything written corectly though
@shashankkhanna177
@shashankkhanna177 2 жыл бұрын
Look at your previous line
@crazegamez290
@crazegamez290 3 жыл бұрын
i was getting error saying the declation was already called for the event increment and fuction increment and vise versa for the decrement
@dylanteodoro2050
@dylanteodoro2050 2 жыл бұрын
put them in lowercase letters
@AdventurersGuild23
@AdventurersGuild23 4 жыл бұрын
hey greg i was wondering if you can do a solidity project in vs code please
@oldestsol3754
@oldestsol3754 2 жыл бұрын
Hey i forget if i comented already but i would totally love it if you could give me some tips with a few questions i have!! Thanks
@posenaitito786
@posenaitito786 2 жыл бұрын
Is this how I can open a smart contract to start up nft?
@georgesherpa
@georgesherpa 2 жыл бұрын
thanks
@arthurh1969
@arthurh1969 2 жыл бұрын
I did my first smart contract! Yay! But what happens when I decrement below zero? It gives me a wierd result.
@nayanbhatia2151
@nayanbhatia2151 9 ай бұрын
uint refers to uninsigned int which are non negative numbers. Use different variable types for correct results.
@pinpeter
@pinpeter 3 жыл бұрын
Can I still do this with a Mac or NO ?
@FrankZen
@FrankZen 3 жыл бұрын
It's in a browser so I don't see why not...
@marcpanther8515
@marcpanther8515 11 ай бұрын
Each time the function is called, a transaction happens, right? Why doesn't it need to wait for confirmation? It seems to increment/decrement instantaneously. Is that just because of the simulated environment?
@bully1676
@bully1676 3 ай бұрын
Correct, you answered your own question. It's in a virtual environment so it's not on the actual blockchain using actual gas
@mrlifted365
@mrlifted365 3 жыл бұрын
7am - April 25th 2021- Stamp me as being here.
@workouttv7968
@workouttv7968 4 жыл бұрын
make a video about how to create a android dapp
@trickstersabo4662
@trickstersabo4662 3 жыл бұрын
Your free 10 hour course isn't sending me an email to join.
@jomoljaison1545
@jomoljaison1545 2 жыл бұрын
function assignBoss(address _boss,string memory _companyname)public onlyArbiter { bossSetting[_companyname]=msg.sender; } I want to set these bosses in modifier like onlyBoss.What to do
@apexoriginators1167
@apexoriginators1167 6 ай бұрын
bro web3 provider option is not coming
@superhuman9265
@superhuman9265 2 жыл бұрын
Sir can you help me, I want to add a burning feature, Burnable, Mintable, Operable (ERC1363), Token Recover
@devgatling
@devgatling Жыл бұрын
dope!
@MarKac9090
@MarKac9090 2 жыл бұрын
please make some tutorial about Solana smart contract
@T1ger8oi
@T1ger8oi 3 жыл бұрын
Can you teach us how to clone an existing contract and how to deploy it?
@christopherozarks6285
@christopherozarks6285 2 жыл бұрын
Copy/paste my friend!! Other wise just type it word for word on a notepad or something and then type it out on IDE of your choice.
@gabmad7028
@gabmad7028 Жыл бұрын
No
@tn9753
@tn9753 4 жыл бұрын
How do you save a Remix file to your GitHub account? Thanks in advance.
@letsgobrandon3007
@letsgobrandon3007 2 жыл бұрын
I remixed a remix once and it was back to normal.
@prototype8861
@prototype8861 26 күн бұрын
A wild guess, data types probably affect gas fees.
@sumonbose6816
@sumonbose6816 Жыл бұрын
no update video
@gen_ztech9
@gen_ztech9 2 жыл бұрын
is this real eth you can sell and buy ???
@ankushraj3599
@ankushraj3599 Жыл бұрын
Can we use C++ for creating smart contract?
@verainsardana
@verainsardana Ай бұрын
no
@arcadiadragoons5467
@arcadiadragoons5467 2 жыл бұрын
I need a developer to help me with my NFt collection
@TVEJason
@TVEJason 2 жыл бұрын
You and I both
@seanbannon325
@seanbannon325 2 жыл бұрын
doesnt seem like that website exists anymore
@janhvibhosle3852
@janhvibhosle3852 4 жыл бұрын
Sir please make one tutorial regarding pharmacy supply chain management using ethereum.
@ajaykrishnakv941
@ajaykrishnakv941 2 жыл бұрын
Thanks a ton mate!
@gabmad7028
@gabmad7028 Жыл бұрын
Ill consider it!
@TjSpoonManJacques
@TjSpoonManJacques 3 жыл бұрын
Solidity hell is when you type in the exact code that's in the video but you 3 red compiler errors!!!!
@revxnth
@revxnth 3 жыл бұрын
i didn't get any error lmao
@mironadiel
@mironadiel 2 жыл бұрын
same here, i got the error for line 9, 14 and 15
@martinburke5707
@martinburke5707 Жыл бұрын
You intrested in joining a Crypto startup NFT project?
@artofficialapol
@artofficialapol 2 жыл бұрын
I received an error that said: ParserError: Expected ‘;’ but got ‘event’ - -> TSC.sol:6:5: | 6 event Increment(unit value); | ^^^^^ What does this mean?
@samuelrichards9213
@samuelrichards9213 2 жыл бұрын
same
@jongwynne7434
@jongwynne7434 3 жыл бұрын
Thanks for the video but way over my head. I am ideas guy, I see the idea behind them. If you ask me this is the KEY to crypto anything? Even the building of the sites that bring such value.
@vibedoutshorts8600
@vibedoutshorts8600 2 жыл бұрын
Share this video guys
@lstewartproductions
@lstewartproductions 3 жыл бұрын
Hang on guy purchasing my house, have to go to grad school to learn programming before you buy it.
@williamkennedy1828
@williamkennedy1828 3 жыл бұрын
I own a company that does that for you :-)
@draflex
@draflex 2 жыл бұрын
That was so easy! Time for my next lesson...
@gabmad7028
@gabmad7028 Жыл бұрын
Your next lesson will be not to comment such a stupid comment
@gabmad7028
@gabmad7028 Жыл бұрын
Goofy ahh
@umairshahid6645
@umairshahid6645 4 жыл бұрын
please make a android blockchain dapp and connect it with smart contraact
@AquinoThug
@AquinoThug 4 жыл бұрын
Hello from Brazil. Nice to meet yours vídeos
@yashwanthravula9867
@yashwanthravula9867 4 жыл бұрын
Nice to meet your comment.
@cryptobeast5643
@cryptobeast5643 2 жыл бұрын
doesnt work
@dansb8432
@dansb8432 2 жыл бұрын
So.. basically, a "contract" is a class.... hmp.
@Florian-tc5qh
@Florian-tc5qh Жыл бұрын
The intro is cringe but the tutorial is very good
@arselaedwin
@arselaedwin 2 жыл бұрын
Well... we follow the steps u do but..... How can we do it without watching videos?.
@paulrobert3334
@paulrobert3334 Жыл бұрын
Close your eyes.
@ward7576
@ward7576 2 жыл бұрын
From the comments here I recognize that many of you haven't had any programming experience. Although it's not all that, it's really recommended to have it in order to have frustration free experience where you don't have to fight easy battles just to get to the point of the video.
@aryankhanderia2216
@aryankhanderia2216 2 жыл бұрын
Exactly
@mickeythehippie
@mickeythehippie 2 жыл бұрын
Do you recommend any topics we should study first ?
@kdpoint4221
@kdpoint4221 2 жыл бұрын
🤗🤗🤗
@tosgem
@tosgem 3 жыл бұрын
Please make a tutorial for how to make my own Token. Thank you. Pajeet
@revxnth
@revxnth 3 жыл бұрын
lmao
@SAINT_PATRICK
@SAINT_PATRICK 2 жыл бұрын
Lmfao
@rayrivera1830
@rayrivera1830 3 жыл бұрын
Will this be a skill that will get you a job in the foreseeable future?
@QW3RTYUU
@QW3RTYUU 3 жыл бұрын
Oof those comments..
@10phante
@10phante 2 жыл бұрын
Can you do it for me :(
@CryptoCrimZn
@CryptoCrimZn 9 ай бұрын
Do you have a school???
@pooblock4092
@pooblock4092 3 жыл бұрын
good thing im from java....
@fabiotrucco7969
@fabiotrucco7969 3 жыл бұрын
good to know
@storyverse665
@storyverse665 Жыл бұрын
Is this contract compatible with ERC-721 OR ERC-1155
@gabmad7028
@gabmad7028 Жыл бұрын
No.
@lucidlagomorph5809
@lucidlagomorph5809 Жыл бұрын
yes its not much fun with a template contract I want to get stuck into some geekery
@yevgeniybondar7509
@yevgeniybondar7509 2 жыл бұрын
LIKE
@alicantipi4235
@alicantipi4235 2 жыл бұрын
what a beautiful guy
@sinancetinkaya
@sinancetinkaya 3 жыл бұрын
hey you can extend your video to 2 hours just by explaining the history of semicolon in programming languages. we, the viewers have tons of time to waste, don't worry.
@alex-tv6tr
@alex-tv6tr Жыл бұрын
hey hey hey hotshot - SLOW DOWN - you do not give a link to the site but speak the words at a two to the dozen, you do not produce a link, you do not even add it to your youtube when you say it- you simply go to the website. So please, calm down and revisit your youtube video and remember- some of us are not geniuses - and known NOTHING ! lol :) But t least I know I know nothing if you get my drift.
@leviathanragnarok4491
@leviathanragnarok4491 2 жыл бұрын
hey guys, im a student looking to gain some experience in solidity and smart contracts. If you have a porject that that i can work on please contact id love to be part of the team
@rimvydasb3531
@rimvydasb3531 2 жыл бұрын
Your count incrementation cost ~o.oo5 eth ~ 9 euros… pretty insane.
Learn Web3.js for Ethereum Development
29:11
Dapp University
Рет қаралды 12 М.
ПЕЙ МОЛОКО КАК ФОКУСНИК
00:37
Masomka
Рет қаралды 10 МЛН
WHY DOES SHE HAVE A REWARD? #youtubecreatorawards
00:41
Levsob
Рет қаралды 28 МЛН
I Need Your Help..
00:33
Stokes Twins
Рет қаралды 95 МЛН
1❤️
00:20
すしらーめん《りく》
Рет қаралды 31 МЛН
Proof-of-Stake (vs proof-of-work)
7:59
Simply Explained
Рет қаралды 1,4 МЛН
Code Your First Smart Contract on Ethereum | Beginner Tutorial
23:32
Ethereum - Tutorial 9 - Writing Our First Smart Contract With Remix
20:32
Smart contracts - Simply Explained
4:17
Simply Explained
Рет қаралды 1,7 МЛН
Learn Solidity in 20 Minutes!
17:49
Dapp University
Рет қаралды 139 М.
Top 5 ways to make $$$ as a blockchain developer
11:58
Dapp University
Рет қаралды 15 М.
New blockchain network will make millionaires (Next Solana)
15:15
Dapp University
Рет қаралды 152 М.
Create Your First Ethereum Smart Contract
9:24
EatTheBlocks
Рет қаралды 7 М.
Apple, как вас уделал Тюменский бренд CaseGuru? Конец удивил #caseguru #кейсгуру #наушники
0:54
CaseGuru / Наушники / Пылесосы / Смарт-часы /
Рет қаралды 4,3 МЛН
Цифровые песочные часы с AliExpress
0:45
IPad Pro fix screen
1:01
Tamar DB (mt)
Рет қаралды 8 МЛН
Samsung or iPhone
0:19
rishton vines😇
Рет қаралды 8 МЛН