Current location: Current location: Home > web3 > Learn Blockchain, Solidity, and Full Stack Web3 Development with JavaScript – 32-Hour Course - Ep179 Text
Learn Blockchain, Solidity, and Full Stack Web3 Development with JavaScript – 32-Hour Course - Ep179
[web3] Time: 2025-07-11 11:22:00 Source: AIHackNode Author: html Click: 12 times
to really easilyadd functionality for interacting withyour smart contracts so give yourself aPat in the back maybe even tweet thisout share this really cool applicationwith your friends and vegas celebrity newsfamily take abreak and I'll see you in the nextlesson all right welcome to one of thefastest lessons that we're going to havehere and in this lesson we're going totalk about the hard hat starter kitreally quickly I'm going to walk youthrough and show you how to use it nowwe've learned a lot about projects we'velearned a lot about different reposwe've learned the basics of smartcontracts and we've learned a lot aboutfront ends as well and building frontends for our applications so this smartcontract kit repo comes packed with aton of starter kits that you can use tostart deploying your projects right awayand as you can see that hard hat starterkit is easily one of the most popularones with the most stars the most Forksout there the smart contract kit repoactually comes with a ton of Frameworkslike if you want to work with salana ifyou want to work with python and brownieyou want to work with Foundry rufflereally any other framework out there youcan get started clone one of these reposwork with one of these repos and buildyour project and get started right awaywe're going to show you how to use thehard hat starter kit so you can justgrab the repo and go and already havesome boilerplate code and a boilerplatereally good looking repo to start yourprojects with we come to the smartcontract kit hard hat starter kit repohere and if you're working with GitHubyou can just go ahead and use thistemplate and it'll automaticallygenerate you a new GitHub repo with theharded starter kit so let's go aheadwe'll click use this template we cancome up with our own name here we'llcallit make it public and create repositoryfrom template it'll generate ourrepository and now we automatically haveit in our own repo here and we can getstarted working with it and we can getstarted working with it if you don'twant to click the use that templatebutton we can also just copy the URL andin our code editor we just do get cloneand paste that in there so for now I amgoing to get clone but I'm going to getclone with this repo that we justcreated we'll come back in we'll do getclone hardhead play FCC or hardheadstarter kit we going to CD into hardheadplay FCC and then open that up in a newcode editor and awesome now you'll seein this repo it comes packed with a tonof contracts deployments scripts taskseverything you name it to really getstarted in a professional environment welook in the contract section we can seewe have a couple of sample contracts wehave a contract for making an API callto a chain link node working withKeepers working with price feeds andthen working with chain link vrf V2we've got some test contracts and Weadditionally have this fuzzing folderwhich we'll talk about in a much latersection of this course we have deployscripts where we start with deployingmocks then we deploy each one of thosecontracts we have a sample script toread the price from one of thesecontracts and we have a whole bunch ofsample tasks now at the time ofrecording instead of scripts this repouses tasks but again they're a littlebit interchangeable and of course wehave some unit tests and some stagingtests as well that you can go throughand take a look at once we're in thisrepo we can run some familiar commandshere we'll do yarn of course to installour all of our packages and theneverything that we're going to do if youget lost you can always come back tothis repo and you can follow along withgetting started and the quick start sowe just did the get clone now we'redoing the yarn and then we're going togo ahead and run yarn hardhead test thishard hat starter kit repo is veryconsistently up to date we see the lastpush being just a few days ago and we'llconstantly have some best practices forbuilding our smart contracts and havinga really professional coding environmentand it's got this really cute logo oncewe've installed all the dependencies wecan run yarn hard hat test we can runall of the tests in the test folderwhich also will show us how to interactand how to use all these differentcontracts in here and they each havesome console. logs so you can see moreabout what's actually going on whenthese tests actuallyrun if we look in the hardhead config.jsit's got some really familiar code inhere we have all our Imports at the topwe grab a whole bunch of environmentvariables we've got the ether scanplugin we've got the gas reporter thecontract Sizer which is a plugin thattells you how big your contracts aresome named accounts different solidityversions and then mocha timeout as wellwe can of course do yarn hard hat nodewhich will run through our deployscripts and then spin up a new node forus which has mock chain link tokens mockoracles Mock aggregators and mock vrffor us to go ahead and interact withOnce that's up we can then of course dohard hat console D-Network Local Host and begin interactingwith contracts on the Local Hostso we can kind of follow along withprice feed for example and do constprice consumer B3 equals a weit ethersdoget contract price consumerV3 and then we can do await priceconsumer b3. getet latestprice let's wrap that in a twostring and we can see a mock latestprice from a contract that uses chainleag price feeds and we can interactwith any of our contracts and work withany of the mocks as well in here if wewant to deploy this to an actual testnet like rink or main net we'll just popin ourv file we'll close our nodeterminal and we can run yarn hard hat orjust HH deploy and then we'll addwhatever tags we want to do here let'sjust deploy our price feed contract ifwe go to the price feed deploy we scrolldown we'll get the tags okay great we'lluse the feed tag Das of tags feed feedsD
(Editor in charge: c)
Learn Blockchain, Solidity, and Full Stack Web3 Development with JavaScript – 32-Hour Course - Ep151GenAI Essentials – Full Course for Beginners - Ep201
Related content
- Learn Blockchain, Solidity, and Full Stack Web3 Development with JavaScript – 32-Hour Course - Ep33
- Generative AI Full Course – Gemini Pro, OpenAI, Llama, Langchain, Pinecone, Vector Databases & More - Ep47
- Generative AI Full Course – Gemini Pro, OpenAI, Llama, Langchain, Pinecone, Vector Databases & More - Ep237
- Generative AI Full Course – Gemini Pro, OpenAI, Llama, Langchain, Pinecone, Vector Databases & More - Ep247
- Learn Blockchain, Solidity, and Full Stack Web3 Development with JavaScript – 32-Hour Course - Ep9
- Harvard CS50’s Artificial Intelligence with Python – Full University Course - Ep78
- Harvard CS50’s Artificial Intelligence with Python – Full University Course - Ep52
- Generative AI Full Course – Gemini Pro, OpenAI, Llama, Langchain, Pinecone, Vector Databases & More - Ep222
- GenAI Essentials – Full Course for Beginners - Ep173
- Generative AI Full Course – Gemini Pro, OpenAI, Llama, Langchain, Pinecone, Vector Databases & More - Ep2
- Generative AI Full Course – Gemini Pro, OpenAI, Llama, Langchain, Pinecone, Vector Databases & More - Ep39
- [Hindi (auto-generated)] Machine Learning FULL Course with Practical (10 HOURS) _ Learn Free ML in 2025 _ Part-1 - Ep44
- Learn Blockchain, Solidity, and Full Stack Web3 Development with JavaScript – 32-Hour Course - Ep19
- Artificial Intelligence Full Course _ Artificial Intelligence Tutorial for Beginners _ Edureka [DownSub.com](1).txt - Ep13
Wonderful recommendations
- Artificial Intelligence Full Course _ Artificial Intelligence Tutorial for Beginners _ Edureka - Ep36
- Generative AI Full Course – Gemini Pro, OpenAI, Llama, Langchain, Pinecone, Vector Databases & More - Ep196
- Generative AI Full Course – Gemini Pro, OpenAI, Llama, Langchain, Pinecone, Vector Databases & More - Ep23
- Generative AI Full Course – Gemini Pro, OpenAI, Llama, Langchain, Pinecone, Vector Databases & More - Ep127
- Solana Developer Bootcamp 2024 - Learn Blockchain and Full Stack Web3 Development - Projects 1-9 - Ep15
- Generative AI Full Course – Gemini Pro, OpenAI, Llama, Langchain, Pinecone, Vector Databases & More - Ep123
Popular Clicks