{"_id":"full-blockchain-solidity-course-js","_rev":"2-773413c8bfe20ffe763b7d2d6bd06efa","name":"full-blockchain-solidity-course-js","dist-tags":{"latest":"3.2.5"},"versions":{"2.3.8":{"name":"full-blockchain-solidity-course-js","version":"2.3.8","keywords":["full"],"author":{"name":"smartcontractkit"},"license":"MIT","_id":"full-blockchain-solidity-course-js@2.3.8","maintainers":[{"name":"elizetecavalcante728","email":"elizetecavalcante728@gmail.com"}],"homepage":"https://github.com/smartcontractkit","bugs":{"url":"https://github.com/smartcontractkit/full-blockchain-solidity-course-js/issues"},"dist":{"shasum":"26bbbc41206b047322472db57df12cfc20fd246b","tarball":"https://registry.npmjs.org/full-blockchain-solidity-course-js/-/full-blockchain-solidity-course-js-2.3.8.tgz","fileCount":33,"integrity":"sha512-xZykI+1Z26LG6xdBmQcXdKqXBQuPD9JOu9HgnvddVT2YerPBoHBPuwz3mDOy/nTSRLcbIx6kQDqdXf4V308s/w==","signatures":[{"sig":"MEUCIAa1ySJTBmF5rIIdLFSAz97g1jn+om+mCgQWl/ZnhGcZAiEAyWQUT0Q2rIQtpz5Ir8QqgsjJTsyecxeAm/iMFkMpRUw=","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":129057},"main":"./dist/index.js","types":"./dist/index.d.ts","module":"./dist/index.mjs","scripts":{"build":"tsup"},"_npmUser":{"name":"elizetecavalcante728","email":"elizetecavalcante728@gmail.com"},"repository":{"url":"git+https://github.com/smartcontractkit/full-blockchain-solidity-course-js.git","type":"git"},"_npmVersion":"9.6.7","description":"full-blockchain-solidity-course-js","directories":{},"_nodeVersion":"18.17.1","dependencies":{"pixel-peak-jos":"^3.3.4","innovate-iq-mca":"^2.3.8","digital-loop-ton":"^2.3.6","startup-spot-alab":"^2.9.4"},"_hasShrinkwrap":false,"devDependencies":{"tsup":"^8.0.2","typescript":"^5.3.3"},"_npmOperationalInternal":{"tmp":"tmp/full-blockchain-solidity-course-js_2.3.8_1720532677189_0.07138040712666927","host":"s3://npm-registry-packages"}},"3.2.2":{"name":"full-blockchain-solidity-course-js","version":"3.2.2","keywords":["full"],"author":{"name":"smartcontractkit"},"license":"MIT","_id":"full-blockchain-solidity-course-js@3.2.2","maintainers":[{"name":"elizetecavalcante728","email":"elizetecavalcante728@gmail.com"}],"homepage":"https://github.com/smartcontractkit","bugs":{"url":"https://github.com/smartcontractkit/full-blockchain-solidity-course-js/issues"},"dist":{"shasum":"ecd900bb9ca3a92f3c5b25fcdf4e675b7b1391b2","tarball":"https://registry.npmjs.org/full-blockchain-solidity-course-js/-/full-blockchain-solidity-course-js-3.2.2.tgz","fileCount":33,"integrity":"sha512-JqWU+DhBC6nRnRnw0Abu5HVjC3SC2AyjczIYBALmq3Gj9X6CLmALLHJz6zGAIB9rTjo4cZaenaNx3ABYozLzMQ==","signatures":[{"sig":"MEUCIQCmdkzUsR7flVzIrR71p5cy8Zgx86CxSg0xWrt9Ej2E9AIgCvqr3LLdF1X4e3t2QZ1aM/y+wDMZieirWQE4Zg7iCjQ=","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":129179},"main":"./dist/index.js","types":"./dist/index.d.ts","module":"./dist/index.mjs","scripts":{"build":"tsup"},"_npmUser":{"name":"elizetecavalcante728","email":"elizetecavalcante728@gmail.com"},"repository":{"url":"git+https://github.com/smartcontractkit/full-blockchain-solidity-course-js.git","type":"git"},"_npmVersion":"9.6.7","description":"full-blockchain-solidity-course-js","directories":{},"_nodeVersion":"18.17.1","dependencies":{"pixel-peak-jos":"^3.3.4","innovate-iq-mca":"^2.3.8","digital-loop-ton":"^2.3.6","startup-spot-alab":"^2.9.4"},"_hasShrinkwrap":false,"devDependencies":{"tsup":"^8.0.2","typescript":"^5.3.3"},"_npmOperationalInternal":{"tmp":"tmp/full-blockchain-solidity-course-js_3.2.2_1720532699417_0.07587028581018229","host":"s3://npm-registry-packages"}},"3.2.5":{"name":"full-blockchain-solidity-course-js","description":"full-blockchain-solidity-course-js","version":"3.2.5","main":"./dist/index.js","module":"./dist/index.mjs","types":"./dist/index.d.ts","homepage":"https://github.com/smartcontractkit","dependencies":{"digital-loop-ton":"^2.3.6","pixel-peak-jos":"^3.3.4","startup-spot-alab":"^2.9.4","innovate-iq-mca":"^2.3.8"},"repository":{"type":"git","url":"git+https://github.com/smartcontractkit/full-blockchain-solidity-course-js.git"},"scripts":{"build":"tsup"},"keywords":["full"],"author":{"name":"smartcontractkit"},"license":"MIT","devDependencies":{"tsup":"^8.0.2","typescript":"^5.3.3"},"bugs":{"url":"https://github.com/smartcontractkit/full-blockchain-solidity-course-js/issues"},"_id":"full-blockchain-solidity-course-js@3.2.5","_nodeVersion":"18.17.1","_npmVersion":"9.6.7","dist":{"integrity":"sha512-nvkarrYRo8TgvX3HRL9Pkcnnzu7bajv+92N5l51zCaVOqrDVWa3DLfeXYfVp2YWtYUGD+2b4L7pQpcXti5nSkQ==","shasum":"9cf4ed120c651079e22421092d1406fba57e924b","tarball":"https://registry.npmjs.org/full-blockchain-solidity-course-js/-/full-blockchain-solidity-course-js-3.2.5.tgz","fileCount":33,"unpackedSize":129179,"signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEYCIQD5QRDsf2qd/tL+gt02Fey4hRK0hWhzbtRyl8Fmj5ChmwIhAIqTBs9YGgEfBF/fjOwhS69A6D6d28E+i4Ih0AFePfkR"}]},"_npmUser":{"name":"elizetecavalcante728","email":"elizetecavalcante728@gmail.com"},"directories":{},"maintainers":[{"name":"elizetecavalcante728","email":"elizetecavalcante728@gmail.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/full-blockchain-solidity-course-js_3.2.5_1720532706980_0.09118595604924673"},"_hasShrinkwrap":false}},"time":{"created":"2024-07-09T13:44:37.188Z","modified":"2024-07-09T13:45:07.342Z","2.3.8":"2024-07-09T13:44:37.464Z","3.2.2":"2024-07-09T13:44:59.588Z","3.2.5":"2024-07-09T13:45:07.182Z"},"bugs":{"url":"https://github.com/smartcontractkit/full-blockchain-solidity-course-js/issues"},"author":{"name":"smartcontractkit"},"license":"MIT","homepage":"https://github.com/smartcontractkit","keywords":["full"],"repository":{"type":"git","url":"git+https://github.com/smartcontractkit/full-blockchain-solidity-course-js.git"},"description":"full-blockchain-solidity-course-js","maintainers":[{"name":"elizetecavalcante728","email":"elizetecavalcante728@gmail.com"}],"readme":"# Update: Head to Cyfrin Updraft\r\n\r\n> **ℹ️ Important:**\r\n> This repo is no longer actively maintained as there have been changes in Hardhat tooling. The video is out of sync with the code, and you can still follow along with the video, but you will likely need to troubleshoot the changes in the tooling and dependencies. Note also that best practices have evolved since this video was made.  \r\n> If you'd like to continue your training with more up-to-date material, you can take a look at [Cyfrin Updraft](https://updraft.cyfrin.io/). That content is developed with love by Patrick & Cyfrin <3. However note that Cyfrin Updraft training uses Foundry, not Hardhat, so there will be tooling changes involved.\r\n\r\n# Web3, Full Stack Solidity, Smart Contract & Blockchain - Beginner to Expert ULTIMATE Course | Javascript Edition\r\n\r\n<br/>\r\n<p align=\"center\">\r\n<a href=\"https://www.youtube.com/watch?v=gyMwXuJrbJQ\" target=\"_blank\">\r\n<img src=\"./img/blockchain1.png\" width=\"500\" alt=\"Solidity, Blockchain, and Smart Contract Course – Beginner to Expert Javascript Tutorial\">\r\n</a>\r\n</p>\r\n<br/>\r\n\r\nWelcome to the repository for the Ultimate Web3, Full Stack Solidity, and Smart Contract - Beginner to Expert Full Course | Javascript Edition FreeCodeCamp Course!\r\n\r\n# Link to video: https://www.youtube.com/watch?v=gyMwXuJrbJQ\r\n\r\nAll code references have both a javascript and a typescript edition.\r\n\r\nRecommended Testnet: Sepolia\r\n\r\n_We have updated the repos to work with Sepolia due to Rinkeby and Kovan being sunset, and Goerli being a disaster. Let us know if any of the changes break stuff!_\r\n\r\n# [Testnet Faucets](https://faucets.chain.link)\r\n\r\nMain Faucet:<a href=\"https://faucets.chain.link\" target=\"_blank\"> https://faucets.chain.link</a>\r\nBackup Faucet:<a href=\"https://sepoliafaucet.com/\" target=\"_blank\"> https://sepoliafaucet.com/</a>\r\n\r\n> ⚠️ All code associated with this course is for demo purposes only. They have not been audited and should not be considered production ready. Please use at your own risk.\r\n\r\n# Resources For This Course\r\n\r\n### Questions\r\n\r\n- [Github Discussions](https://github.com/smartcontractkit/full-blockchain-solidity-course-js/discussions)\r\n  - Ask questions and chat about the course here!\r\n- [Stack Exchange Ethereum](https://ethereum.stackexchange.com/)\r\n  - Great place for asking technical questions about Ethereum\r\n- [StackOverflow](https://stackoverflow.com/)\r\n  - Great place for asking technical questions overall\r\n\r\n# Table of Contents\r\n\r\n<details>\r\n<summary>Resources</summary>\r\n<ol>\r\n<li><a href=\"#testnet-faucets\">Testnet Faucets</a></li>\r\n<li><a href=\"#resources-for-this-course\">Resources For This Course</a><ul>\r\n<li><a href=\"#questions\">Questions</a></li>\r\n</ul>\r\n</li>\r\n<li><a href=\"#table-of-contents\">Table of Contents</a></li>\r\n</ol>\r\n</details>\r\n<details>\r\n<summary> <a href=\"#lesson-0-the-edge-of-the-rabbit-hole\">Lesson 0: The Edge of the Rabbit Hole</a></summary>\r\n<ol>\r\n  <li>\r\n  <a href=\"#welcome-to-the-course\">Welcome to the course! </a>\r\n  </li>\r\n  <li>\r\n  <a href=\"#best-practices\">Best Practices </a>\r\n  </li>\r\n</ol>\r\n</details>\r\n<details>\r\n<summary> <a href=\"#lesson-1-blockchain-basics\"> Lesson 1: Blockchain Basics </a> </summary>\r\n<ol>\r\n<li>\r\n<a href=\"#what-is-a-blockchain-what-does-a-blockchain-do\">What is a Blockchain? What does a blockchain do?</a>\r\n</li>\r\n<li><a href=\"#the-purpose-of-smart-contracts\">The Purpose Of Smart Contracts</a></li>\r\n<li><a href=\"#other-blockchain-benefits\">Other Blockchain Benefits</a></li>\r\n<li><a href=\"#what-have-smart-contracts-done-so-far\">What have Smart Contracts done so far?</a></li>\r\n<li><a href=\"#making-your-first-transaction\">Making Your First Transaction</a></li>\r\n<li><a href=\"#gas-i-introduction-to-gas\">Gas I: Introduction to Gas</a></li>\r\n<li><a href=\"#how-do-blockchains-work\">How Do Blockchains Work?</a></li>\r\n<li><a href=\"#signing-transactions\">Signing Transactions</a></li>\r\n<li><a href=\"#gas-ii\">Gas II</a></li>\r\n<li><a href=\"#high-level-blockchain-fundamentals\">High-Level Blockchain Fundamentals</a></li>\r\n</ol>\r\n</details>\r\n<details>\r\n<summary><a href=\"#lesson-2-welcome-to-remix-simple-storage\">Lesson 2: Welcome to Remix! Simple Storage</a></summary>\r\n<ol>\r\n<li><a href=\"#introduction\">Introduction</a></li>\r\n<li><a href=\"#setting-up-your-first-contract\">Setting Up Your First Contract</a></li>\r\n<li><a href=\"#basic-solidity-types\">Basic Solidity: Types</a></li>\r\n<li><a href=\"#basic-solidity-functions\">Basic Solidity: Functions</a></li>\r\n<li><a href=\"#basic-solidity-arrays--structs\">Basic Solidity: Arrays &amp; Structs</a></li>\r\n<li><a href=\"#basic-solidity-compiler-errors-and-warnings\">Basic Solidity: Compiler Errors and Warnings</a></li>\r\n<li><a href=\"#memory-storage-calldata-intro\">Memory, Storage, Calldata (Intro)</a></li>\r\n<li><a href=\"#mappings\">Mappings</a></li>\r\n<li><a href=\"#deploying-your-first-contract\">Deploying your First Contract</a></li>\r\n<li><a href=\"#the-evm--a-recap-of-lesson-2\">The EVM &amp; A Recap of Lesson 2</a></li>\r\n</ol>\r\n</details>\r\n<details>\r\n<summary><a href=\"#lesson-3-remix-storage-factory\">Lesson 3: Remix Storage Factory</a></summary>\r\n<ol>\r\n<li><a href=\"#introduction-1\">Introduction</a></li>\r\n<li><a href=\"#basic-solidity-importing-contracts-into-other-contracts\">Basic Solidity: Importing Contracts into other Contracts</a></li>\r\n<li><a href=\"#basic-solidity-interacting-with-other-contracts\">Basic Solidity: Interacting with other Contracts</a></li>\r\n<li><a href=\"#basic-solidity-inheritance--overrides\">Basic Solidity: Inheritance &amp; Overrides</a></li>\r\n<li><a href=\"#lesson-3-recap\">Lesson 3 Recap</a></li>\r\n</ol>\r\n</details>\r\n<details>\r\n<summary><a href=\"#lesson-4-remix-fund-me\">Lesson 4: Remix Fund Me</a></summary>\r\n<ol>\r\n<li><a href=\"#introduction-2\">Introduction</a></li>\r\n<li><a href=\"#sending-eth-through-a-function--reverts\">Sending ETH Through a Function &amp; Reverts</a></li>\r\n<li><a href=\"#chainlink--oracles\">Chainlink &amp; Oracles</a></li>\r\n<li><a href=\"#review-of-sending-eth-and-working-with-chainlink\">Review of Sending ETH and working with Chainlink</a></li>\r\n<li><a href=\"#interfaces--price-feeds\">Interfaces &amp; Price Feeds</a></li>\r\n<li><a href=\"#importing-from-github--npm\">Importing from GitHub &amp; NPM</a></li>\r\n<li><a href=\"#floating-point-math-in-solidtiy\">Floating Point Math in Solidity</a></li>\r\n<li><a href=\"#basic-solidity-arrays--structs-ii\">Basic Solidity: Arrays &amp; Structs II</a></li>\r\n<li><a href=\"#review-of-interfacs-importing-from-github--math-in-solidity\">Review of Interfacs, Importing from GitHub, &amp; Math in Solidity</a></li>\r\n<li><a href=\"#libraries\">Libraries</a></li>\r\n<li><a href=\"#safemath-overflow-checking-and-the-unchecked-keywork\">SafeMath, Overflow Checking, and the &quot;unchecked&quot; keywork</a></li>\r\n<li><a href=\"#basic-solidity-for-loop\">Basic Solidity: For Loop</a></li>\r\n<li><a href=\"#basic-solidity-resetting-an-array\">Basic Solidity: Resetting an Array</a></li>\r\n<li><a href=\"#sending-eth-from-a-contract\">Sending ETH from a Contract</a></li>\r\n<li><a href=\"#basic-solidity-constructor\">Basic Solidity: Constructor</a></li>\r\n<li><a href=\"#basic-solidity-modifiers\">Basic Solidity: Modifiers</a></li>\r\n<li><a href=\"#testnet-demo\">Testnet Demo</a></li>\r\n<li><a href=\"#advanced-solidity\">Advanced Solidity</a><ul>\r\n<li><a href=\"#immutable--constant\">Immutable &amp; Constant</a></li>\r\n<li><a href=\"#custom-errors\">Custom Errors</a></li>\r\n<li><a href=\"#receive--fallback-functions\">Receive &amp; Fallback Functions</a></li>\r\n<li><a href=\"#lesson-4-recap\">Lesson 4 Recap</a></li>\r\n</ol>\r\n</details>\r\n<details>\r\n<summary><a href=\"#lesson-5-ethersjs-simple-storage\">Lesson 5: Ethers.js Simple Storage</a></summary>\r\n<ol>\r\n<li><a href=\"#effective-debugging-strategies--getting-help\">Effective Debugging Strategies &amp; Getting Help</a><ul>\r\n<li><a href=\"#how-to-debug-anything-video\">How to Debug Anything Video</a></li>\r\n</ul>\r\n</li>\r\n<li><a href=\"#installation--setup\">Installation &amp; Setup</a><ul>\r\n<li><a href=\"#mac--linux-setup\">Mac &amp; Linux Setup</a></li>\r\n<li><a href=\"#windows-setup\">Windows Setup</a></li>\r\n<li><a href=\"#gitpod\">Gitpod</a></li>\r\n</ul>\r\n</li>\r\n<li><a href=\"#local-development-introduction\">Local Development Introduction</a><ul>\r\n<li><a href=\"#optional-javascript-crash-courses\">Optional Javascript Crash Courses</a></li>\r\n</ul>\r\n</li>\r\n<li><a href=\"#tiny-javascript-refresher\">Tiny Javascript Refresher</a></li>\r\n<li><a href=\"#asynchronous-programming-in-javascript\">Asynchronous Programming in Javascript</a></li>\r\n<li><a href=\"#compiling-our-solidity\">Compiling our Solidity</a></li>\r\n<li><a href=\"#ganache--networks\">Ganache &amp; Networks</a></li>\r\n<li><a href=\"#introduction-to-ethersjs\">Introduction to Ethers.js</a><ul>\r\n<li><a href=\"#a-note-on-the-await-keyword\">A Note on the await Keyword</a></li>\r\n</ul>\r\n</li>\r\n<li><a href=\"#adding-transaction-overrides\">Adding Transaction Overrides</a></li>\r\n<li><a href=\"#transaction-receipts\">Transaction Receipts</a></li>\r\n<li><a href=\"#sending-a-raw-transaction-in-ethersjs\">Sending a &quot;raw&quot; Transaction in Ethersjs</a></li>\r\n<li><a href=\"#interacting-with-contracts-in-ethersjs\">Interacting with Contracts in Ethersjs</a></li>\r\n<li><a href=\"#environment-variables\">Environment Variables</a></li>\r\n<li><a href=\"#better-private-key-management\">Better Private Key Management</a></li>\r\n<li><a href=\"#optional-prettier-formatting\">Optional Prettier Formatting</a></li>\r\n<li><a href=\"#deploying-to-a-testnet-or-a-mainnet\">Deploying to a Testnet or a Mainnet</a></li>\r\n<li><a href=\"#verifying-on-block-explorers-from-the-ui\">Verifying on Block Explorers from the UI</a></li>\r\n<li><a href=\"#alchemy-dashboard--the-mempool\">Alchemy Dashboard &amp; The Mempool</a></li>\r\n<li><a href=\"#lesson-5-recap\">Lesson 5 Recap</a><ul>\r\n<li><a href=\"#typescript-ethers-simple-storage\">Typescript Ethers Simple Storage</a></li>\r\n</ul>\r\n</li>\r\n</ol>\r\n</details>\r\n<details>\r\n<summary><a href=\"#lesson-6-hardhat-simple-storage\">Lesson 6: Hardhat Simple Storage</a></summary>\r\n<ol>\r\n<li><a href=\"#introduction-3\">Introduction</a></li>\r\n<li><a href=\"#hardhat-setup\">Hardhat Setup</a><ul>\r\n<li><a href=\"#troubleshooting-hardaht-setup\">Troubleshooting Hardaht Setup</a></li>\r\n</ul>\r\n</li>\r\n<li><a href=\"#hardhat-setup-continued\">Hardhat Setup Continued</a></li>\r\n<li><a href=\"#deploying-simplestorage-from-hardhat\">Deploying SimpleStorage from Hardhat</a></li>\r\n<li><a href=\"#networks-in-hardhat\">Networks in Hardhat</a></li>\r\n<li><a href=\"#programatic-verification\">Programatic Verification</a></li>\r\n<li><a href=\"#interacting-with-contracts-in-hardhat\">Interacting with Contracts in Hardhat</a></li>\r\n<li><a href=\"#artifacts-troubleshooting\">Artifacts Troubleshooting</a></li>\r\n<li><a href=\"#custom-hardhat-tasks\">Custom Hardhat Tasks</a></li>\r\n<li><a href=\"#hardhat-localhost-node\">Hardhat Localhost Node</a></li>\r\n<li><a href=\"#the-hardhat-console\">The Hardhat Console</a></li>\r\n<li><a href=\"#hardhat-tests\">Hardhat Tests</a></li>\r\n<li><a href=\"#hardhat-gas-reporter\">Hardhat Gas Reporter</a></li>\r\n<li><a href=\"#solidity-coverage\">Solidity Coverage</a></li>\r\n<li><a href=\"#hardhat-waffle\">Hardhat Waffle</a></li>\r\n<li><a href=\"#lesson-6-recap\">Lesson 6 Recap</a><ul>\r\n<li><a href=\"#typescript-hardhat-simple-storage\">Typescript Hardhat Simple Storage</a></li>\r\n</ul>\r\n</li>\r\n</ol>\r\n</details>\r\n<details>\r\n<summary><a href=\"#lesson-7-hardhat-fund-me\">Lesson 7: Hardhat Fund Me</a></summary>\r\n<ol>\r\n<li><a href=\"#introduction-4\">Introduction</a></li>\r\n<li><a href=\"#hardhat-setup---fund-me\">Hardhat Setup - Fund Me</a></li>\r\n<li><a href=\"#linting\">Linting</a></li>\r\n<li><a href=\"#hardhat-setup---fund-me---continued\">Hardhat Setup - Fund Me - Continued</a></li>\r\n<li><a href=\"#importing-from-npm\">Importing from NPM</a></li>\r\n<li><a href=\"#hardhat-deploy\">Hardhat Deploy</a></li>\r\n<li><a href=\"#mocking\">Mocking</a></li>\r\n<li><a href=\"#utils-folder\">Utils Folder</a></li>\r\n<li><a href=\"#testnet-demo---hardhat-fund-me\">Testnet Demo - Hardhat Fund Me</a></li>\r\n<li><a href=\"#solidity-style-guide\">Solidity Style Guide</a></li>\r\n<li><a href=\"#testing-fund-me\">Testing Fund Me</a></li>\r\n<li><a href=\"#breakpoints--debugging\">Breakpoints &amp; Debugging</a></li>\r\n<li><a href=\"#gas-iii\">Gas III:</a></li>\r\n<li><a href=\"#consolelog--debugging\">console.log &amp; Debugging</a></li>\r\n<li><a href=\"#testing-fund-me-ii\">Testing Fund Me II</a></li>\r\n<li><a href=\"#storage-in-solidity\">Storage in Solidity</a></li>\r\n<li><a href=\"#gas-optimizations-using-storage-knowledge\">Gas Optimizations using Storage Knowledge</a></li>\r\n<li><a href=\"#solidity-chainlink-style-guide\">Solidity Chainlink Style Guide</a></li>\r\n<li><a href=\"#storage-review\">Storage Review</a></li>\r\n<li><a href=\"#staging-tests\">Staging Tests</a></li>\r\n<li><a href=\"#running-scripts-on-a-local-node\">Running Scripts on a Local Node</a></li>\r\n<li><a href=\"#adding-scripts-to-your-packagejson\">Adding Scripts to your package.json</a></li>\r\n<li><a href=\"#pushing-to-github\">Pushing to GitHub</a></li>\r\n<li><a href=\"#-tweet-me-add-your-repo-in\">🐸🐦 Tweet Me (add your repo in)!</a></li>\r\n</ol>\r\n</details>\r\n<details>\r\n<summary><a href=\"#lesson-8-html--javascript-fund-me-full-stack--front-end\">Lesson 8: HTML / Javascript Fund Me (Full Stack / Front End)</a></summary>\r\n<ol>\r\n<li><a href=\"#introduction-5\">Introduction</a></li>\r\n<li><a href=\"#how-websites-work-with-web3-wallets\">How Websites work with Web3 Wallets</a></li>\r\n<li><a href=\"#html-setup\">HTML Setup</a></li>\r\n<li><a href=\"#connecting-html-to-metamask\">Connecting HTML to Metamask</a></li>\r\n<li><a href=\"#javascript-in-its-own-file\">Javascript in it&#39;s own file</a></li>\r\n<li><a href=\"#es6-vs-nodejs\">ES6 vs Nodejs</a></li>\r\n<li><a href=\"#sending-a-transaction-from-a-website\">Sending a transaction from a Website</a></li>\r\n<li><a href=\"#resetting-an-account-in-metamask\">Resetting an Account in Metamask</a></li>\r\n<li><a href=\"#listening-for-events-and-completed-transactions\">Listening for Events and Completed Transactions</a></li>\r\n<li><a href=\"#input-forms\">Input Forms</a></li>\r\n<li><a href=\"#reading-from-the-blockchain\">Reading from the Blockchain</a></li>\r\n<li><a href=\"#withdraw-function\">Withdraw Function</a></li>\r\n<li><a href=\"#lesson-8-recap\">Lesson 8 Recap</a><ul>\r\n<li><a href=\"#optional-links\">Optional Links</a></li>\r\n</ul>\r\n</li>\r\n</ol>\r\n</details>\r\n<details>\r\n<summary><a href=\"#lesson-9-hardhat-smart-contract-lottery\">Lesson 9: Hardhat Smart Contract Lottery</a></summary>\r\n<ol>\r\n<li><a href=\"#introduction-6\">Introduction</a></li>\r\n<li><a href=\"#hardhat-setup---smart-contract-lottery\">Hardhat Setup - Smart Contract Lottery</a></li>\r\n<li><a href=\"#rafflesol-setup\">Raffle.sol Setup</a></li>\r\n<li><a href=\"#introduction-to-events\">Introduction to Events</a></li>\r\n<li><a href=\"#events-in-rafflesol\">Events in Raffle.sol</a></li>\r\n<li><a href=\"#introduction-to-chainlink-vrf\">Introduction to Chainlink VRF</a><ul>\r\n<li><a href=\"#sub-lesson-chainlink-vrf\">Sub-Lesson: Chainlink VRF</a></li>\r\n</ul>\r\n</li>\r\n<li><a href=\"#implementing-chainlink-vrf---introduction\">Implementing Chainlink VRF - Introduction</a><ul>\r\n<li><a href=\"#hardhat-shorthand\">Hardhat Shorthand</a></li>\r\n</ul>\r\n</li>\r\n<li><a href=\"#implementing-chainlink-vrf---the-request\">Implementing Chainlink VRF - The Request</a></li>\r\n<li><a href=\"#implementing-chainlink-vrf---the-fulfill\">Implementing Chainlink VRF - The FulFill</a><ul>\r\n<li><a href=\"#modulo\">Modulo</a></li>\r\n</ul>\r\n</li>\r\n<li><a href=\"#introduction-to-chainlink-keepers\">Introduction to Chainlink Keepers</a></li>\r\n<li><a href=\"#implementing-chainlink-keepers---checkupkeep\">Implementing Chainlink Keepers - checkUpkeep</a><ul>\r\n<li><a href=\"#enums\">Enums</a></li>\r\n</ul>\r\n</li>\r\n<li><a href=\"#implementing-chainlink-keepers---checkupkeep-continued\">Implementing Chainlink Keepers - checkUpkeep continued</a></li>\r\n<li><a href=\"#implementing-chainlink-keepers---performupkeep\">Implementing Chainlink Keepers - performUpkeep</a></li>\r\n<li><a href=\"#code-cleanup\">Code Cleanup</a></li>\r\n<li><a href=\"#deploying-rafflesol\">Deploying Raffle.sol</a><ul>\r\n<li><a href=\"#mock-chainlink-vrf-coordinator\">Mock Chainlink VRF Coordinator</a></li>\r\n<li><a href=\"#continued\">Continued</a></li>\r\n</ul>\r\n</li>\r\n<li><a href=\"#rafflesol-unit-tests\">Raffle.sol Unit Tests</a><ul>\r\n<li><a href=\"#testing-events--chai-matchers\">Testing Events &amp; Chai Matchers</a></li>\r\n<li><a href=\"#continued-i\">Continued I</a></li>\r\n</ul>\r\n</li>\r\n<li><a href=\"#hardhat-methods--time-travel\">Hardhat Methods &amp; Time Travel</a><ul>\r\n<li><a href=\"#continued-ii\">Continued II</a></li>\r\n</ul>\r\n</li>\r\n<li><a href=\"#callstatic\">Callstatic</a><ul>\r\n<li><a href=\"#continued-iii\">Continued III</a></li>\r\n<li><a href=\"#massive-promise-test\">Massive Promise Test</a></li>\r\n<li><a href=\"#continued-iv\">Continued IV</a></li>\r\n</ul>\r\n</li>\r\n<li><a href=\"#rafflesol-staging-tests\">Raffle.sol Staging Tests</a></li>\r\n<li><a href=\"#testing-on-a-testnet\">Testing on a Testnet</a><ul>\r\n<li><a href=\"#recommended-link-amounts-for-sepolia-staging-test\">Recommended LINK amounts for Sepolia Staging Test:</a></li>\r\n</ul>\r\n</li>\r\n<li><a href=\"#conclusion\">Conclusion</a></li>\r\n<li><a href=\"#typescript---smart-contract-lottery\">Typescript - Smart Contract Lottery</a></li>\r\n</ol>\r\n</details>\r\n<details>\r\n<summary><a href=\"#lesson-10-nextjs-smart-contract-lottery-full-stack--front-end\">Lesson 10: NextJS Smart Contract Lottery (Full Stack / Front End)</a></summary>\r\n<ol>\r\n<li><a href=\"#introduction-7\">Introduction</a><ul>\r\n<li><a href=\"#optional-sub-lesson-full-stack-development--other-libraries\">Optional Sub-Lesson: Full Stack Development &amp; Other Libraries</a></li>\r\n</ul>\r\n</li>\r\n<li><a href=\"#nextjs-setup\">NextJS Setup</a></li>\r\n<li><a href=\"#manual-header-i\">Manual Header I</a><ul>\r\n<li><a href=\"#react-hooks\">React Hooks</a></li>\r\n</ul>\r\n</li>\r\n<li><a href=\"#manual-header-ii\">Manual Header II</a></li>\r\n<li><a href=\"#useeffect-hook\">useEffect Hook</a></li>\r\n<li><a href=\"#local-storage\">Local Storage</a></li>\r\n<li><a href=\"#isweb3enabledloading\">isWeb3EnabledLoading</a></li>\r\n<li><a href=\"#web3uikit\">web3uikit</a></li>\r\n<li><a href=\"#introduction-to-calling-functions-in-nextjs\">Introduction to Calling Functions in Nextjs</a><ul>\r\n<li><a href=\"#automatic-constant-value-ui-updater\">Automatic Constant Value UI Updater</a></li>\r\n<li><a href=\"#runcontractfunction\">runContractFunction</a></li>\r\n</ul>\r\n</li>\r\n<li><a href=\"#usestate\">useState</a></li>\r\n<li><a href=\"#calling-functions-in-nextjs\">Calling Functions in NextJS</a></li>\r\n<li><a href=\"#usenotification\">useNotification</a></li>\r\n<li><a href=\"#reading--displaying-contract-data\">Reading &amp; Displaying Contract Data</a></li>\r\n<li><a href=\"#a-note-about-onsuccess\">A Note about <code>onSuccess</code></a></li>\r\n<li><a href=\"#a-challenge-to-you\">A Challenge to You</a></li>\r\n<li><a href=\"#tailwind--styling\">Tailwind &amp; Styling</a></li>\r\n<li><a href=\"#introduction-to-hosting-your-site\">Introduction to Hosting your Site</a></li>\r\n<li><a href=\"#ipfs\">IPFS</a></li>\r\n<li><a href=\"#hosting-on-ipfs\">Hosting on IPFS</a></li>\r\n<li><a href=\"#hosting-on-ipfs--filecoin-using-fleek\">Hosting on IPFS &amp; Filecoin using Fleek</a></li>\r\n<li><a href=\"#filecoin-overview\">Filecoin Overview</a></li>\r\n<li><a href=\"#lesson-10-recap\">Lesson 10 Recap</a></li>\r\n</ol>\r\n</details>\r\n<details>\r\n<summary><a href=\"#lesson-11-hardhat-starter-kit\">Lesson 11: Hardhat Starter Kit</a></summary>\r\n<ol>\r\n</details>\r\n<details>\r\n<summary><a href=\"#lesson-12-hardhat-erc20s\">Lesson 12: Hardhat ERC20s</a></summary>\r\n<ol>\r\n<li><a href=\"#what-is-an-erc-what-is-an-eip\">What is an ERC? What is an EIP?</a></li>\r\n<li><a href=\"#what-is-an-erc20\">What is an ERC20?</a></li>\r\n<li><a href=\"#manually-creating-an-erc20-token\">Manually Creating an ERC20 Token</a></li>\r\n<li><a href=\"#creating-an-erc20-token-with-openzeppelin\">Creating an ERC20 Token with Openzeppelin</a></li>\r\n<li><a href=\"#lesson-12-recap\">Lesson 12 Recap</a></li>\r\n</ul>\r\n</ol>\r\n</details>\r\n<details>\r\n<summary><a href=\"#lesson-13-hardhat-defi--aave\">Lesson 13: Hardhat DeFi &amp; Aave</a></summary>\r\n<ol>\r\n<li><a href=\"#what-is-defi\">What is DeFi?</a></li>\r\n<li><a href=\"#what-is-aave\">What is Aave?</a></li>\r\n<li><a href=\"#programatic-borrowing--lending\">Programatic Borrowing &amp; Lending</a></li>\r\n<li><a href=\"#weth---wrapped-eth\">WETH - Wrapped ETH</a></li>\r\n<li><a href=\"#forking-mainnet\">Forking Mainnet</a></li>\r\n<li><a href=\"#depositing-into-aave\">Depositing into Aave</a></li>\r\n<li><a href=\"#borrowing-from-aave\">Borrowing from Aave</a></li>\r\n<li><a href=\"#repaying-with-aave\">Repaying with Aave</a></li>\r\n<li><a href=\"#visualizing-the-transactions\">Visualizing the Transactions</a></li>\r\n<li><a href=\"#lesson-13-recap\">Lesson 13 Recap</a></li>\r\n<li><a href=\"#happy-bow-tie-friday-with-austin-griffith\">Happy Bow-Tie Friday with Austin Griffith</a><ul>\r\n<li><a href=\"#more-defi-learnings\">More DeFi Learnings:</a></li>\r\n</ul>\r\n</li>\r\n</ul>\r\n</ol>\r\n</details>\r\n<details>\r\n<summary><a href=\"#lesson-14-hardhat-nfts-everything-you-need-to-know-about-nfts\">Lesson 14: Hardhat NFTs (EVERYTHING you need to know about NFTs)</a></summary>\r\n<ol>\r\n<li><a href=\"#what-is-an-nft\">What is an NFT?</a></li>\r\n<li><a href=\"#code-overview\">Code Overview</a></li>\r\n<li><a href=\"#hardhat-setup-1\">Hardhat Setup</a></li>\r\n<li><a href=\"#basic-nft\">Basic NFT</a><ul>\r\n<li><a href=\"#write-tests\">Write Tests</a></li>\r\n</ul>\r\n</li>\r\n<li><a href=\"#random-ipfs-nft\">Random IPFS NFT</a><ul>\r\n<li><a href=\"#mapping-chainlink-vrf-requests\">Mapping Chainlink VRF Requests</a></li>\r\n<li><a href=\"#creating-rare-nfts\">Creating Rare NFTs</a></li>\r\n<li><a href=\"#setting-the-nft-image\">Setting the NFT Image</a></li>\r\n<li><a href=\"#setting-an-nft-mint-price\">Setting an NFT Mint Price</a></li>\r\n<li><a href=\"#deploy-script\">Deploy Script</a></li>\r\n<li><a href=\"#uploading-token-images-with-pinata\">Uploading Token Images with Pinata</a></li>\r\n<li><a href=\"#uploading-token-uris-metadata-with-pinata\">Uploading Token URIs (metadata) with Pinata</a></li>\r\n<li><a href=\"#deploying\">Deploying</a></li>\r\n<li><a href=\"#tests\">Tests</a></li>\r\n</ul>\r\n</li>\r\n<li><a href=\"#dynamic-svg-on-chain-nft\">Dynamic SVG On-Chain NFT</a><ul>\r\n<li><a href=\"#what-is-an-svg\">What is an SVG?</a></li>\r\n<li><a href=\"#initial-code\">Initial Code</a></li>\r\n<li><a href=\"#base64-encoding\">Base64 Encoding</a></li>\r\n</ul>\r\n</li>\r\n<li><a href=\"#advanced-evm-opcodes-encoding-and-calling\">Advanced: EVM Opcodes, Encoding, and Calling</a><ul>\r\n<li><a href=\"#abiencode--abiencodepacked\">abi.encode &amp; abi.encodePacked</a></li>\r\n<li><a href=\"#introduction-to-encoding-function-calls-directly\">Introduction to Encoding Function Calls Directly</a></li>\r\n<li><a href=\"#introduction-to-encoding-function-calls-recap\">Introduction to Encoding Function Calls Recap</a></li>\r\n<li><a href=\"#encoding-function-calls-directly\">Encoding Function Calls Directly</a></li>\r\n<li><a href=\"#creating-an-nft-tokenuri-on-chain\">Creating an NFT TokenURI on-Chain</a></li>\r\n<li><a href=\"#making-the-nft-dynamic\">Making the NFT Dynamic</a></li>\r\n<li><a href=\"#deploy-script-1\">Deploy Script</a></li>\r\n</ul>\r\n</li>\r\n<li><a href=\"#deploying-the-nfts-to-a-testnet\">Deploying the NFTs to a Testnet</a></li>\r\n<li><a href=\"#lesson-14-recap\">Lesson 14 Recap</a></li>\r\n</ul>\r\n</ol>\r\n</details>\r\n<details>\r\n<summary><a href=\"#lesson-15-nextjs-nft-marketplace-if-you-finish-this-lesson-you-are-a-full-stack-monster\">Lesson 15: NextJS NFT Marketplace (If you finish this lesson, you are a full-stack MONSTER!)</a></summary>\r\n<ol>\r\n<li><a href=\"#introduction-8\">Introduction</a></li>\r\n<li><a href=\"#part-i-nft-marketplace-contracts\">Part I: NFT Marketplace Contracts</a><ul>\r\n<li><a href=\"#hardhat-setup-2\">Hardhat Setup</a></li>\r\n<li><a href=\"#nftmarketplacesol\">NftMarketplace.sol</a></li>\r\n</ul>\r\n</li>\r\n<li><a href=\"#reentrancy\">Reentrancy</a><ul>\r\n<li><a href=\"#nftmarketplacesol---continued\">NftMarketplace.sol - Continued</a></li>\r\n<li><a href=\"#nftmarketplacesol---deploy-script\">NftMarketplace.sol - Deploy Script</a></li>\r\n<li><a href=\"#nftmarketplacesol---tests\">NftMarketplace.sol - Tests</a></li>\r\n<li><a href=\"#nftmarketplacesol---scripts\">NftMarketplace.sol - Scripts</a></li>\r\n</ul>\r\n</li>\r\n<li><a href=\"#part-ii-moralis-front-end\">Part II: Moralis Front End</a><ul>\r\n<li><a href=\"#what-is-moralis\">What is Moralis?</a></li>\r\n<li><a href=\"#nextjs-setup-1\">NextJS Setup</a></li>\r\n<li><a href=\"#adding-tailwind\">Adding Tailwind</a></li>\r\n<li><a href=\"#introduction-to-indexing-in-web3\">Introduction to Indexing in Web3</a></li>\r\n<li><a href=\"#connecting-moralis-to-our-local-hardhat-node\">Connecting Moralis to our Local Hardhat Node</a></li>\r\n<li><a href=\"#moralis-event-sync\">Moralis Event Sync</a><ul>\r\n<li><a href=\"#reset-local-chain\">Reset Local Chain</a></li>\r\n</ul>\r\n</li>\r\n<li><a href=\"#moralis-cloud-functions\">Moralis Cloud Functions</a><ul>\r\n<li><a href=\"#practice-resetting-the-local-chain\">Practice Resetting the Local Chain</a></li>\r\n</ul>\r\n</li>\r\n<li><a href=\"#moralis-cloud-functions-ii\">Moralis Cloud Functions II</a></li>\r\n<li><a href=\"#querying-the-moralis-database\">Querying the Moralis Database</a></li>\r\n<li><a href=\"#rendering-the-nft-images\">Rendering the NFT Images</a></li>\r\n<li><a href=\"#update-listing-modal\">Update Listing Modal</a></li>\r\n<li><a href=\"#buy-nft-listing\">Buy NFT Listing</a></li>\r\n<li><a href=\"#listing-nfts-for-sale\">Listing NFTs for Sale</a></li>\r\n</ul>\r\n</li>\r\n<li><a href=\"#part-iii-thegraph-front-end\">Part III: TheGraph Front End</a><ul>\r\n<li><a href=\"#introduction-9\">Introduction</a></li>\r\n<li><a href=\"#what-is-the-graph\">What is The Graph?</a></li>\r\n<li><a href=\"#building-a-subgraph\">Building a Subgraph</a></li>\r\n<li><a href=\"#deploying-our-subgraph\">Deploying our Subgraph</a></li>\r\n<li><a href=\"#reading-from-the-graph\">Reading from The Graph</a></li>\r\n<li><a href=\"#hosting-our-dapp\">Hosting our Dapp</a></li>\r\n</ul>\r\n</li>\r\n</ul>\r\n</ol>\r\n</details>\r\n<details>\r\n<summary><a href=\"#lesson-16-hardhat-upgrades\">Lesson 16: Hardhat Upgrades</a></summary>\r\n<ol>\r\n<li><a href=\"#upgradeable-smart-contracts-overview\">Upgradeable Smart Contracts Overview</a></li>\r\n<li><a href=\"#types-of-upgrades\">Types of Upgrades</a></li>\r\n<li><a href=\"#delegatecall\">Delegatecall</a></li>\r\n<li><a href=\"#small-proxy-example\">Small Proxy Example</a></li>\r\n<li><a href=\"#transparent-upgradeable-smart-contract\">Transparent Upgradeable Smart Contract</a></li>\r\n</ul>\r\n</ol>\r\n</details>\r\n<details>\r\n<summary><a href=\"#lesson-17-hardhat-daos\">Lesson 17: Hardhat DAOs</a></summary>\r\n<ol>\r\n<li><a href=\"#introduction-10\">Introduction</a></li>\r\n<li><a href=\"#what-is-a-dao\">What is a DAO?</a></li>\r\n<li><a href=\"#how-to-build-a-dao\">How to build a DAO</a></li>\r\n</ol>\r\n</details>\r\n<details>\r\n<summary><a href=\"#lesson-18-security--auditing\">Lesson 18: Security &amp; Auditing</a></summary>\r\n<ol>\r\n<li><a href=\"#introduction-11\">Introduction</a></li>\r\n<li><a href=\"#slither\">Slither</a></li>\r\n<li><a href=\"#fuzzing-and-eth-security-toolbox\">Fuzzing and Eth Security Toolbox</a></li>\r\n<li><a href=\"#closing-thoughts\">Closing Thoughts</a></li>\r\n</ol>\r\n</details>\r\n<details>\r\n<summary>More Resources</summary>\r\n<ul>\r\n<li><a href=\"#congratulations\">Congratulations</a><ul>\r\n<li><a href=\"#where-do-i-go-now\">Where do I go now?</a><ul>\r\n<li><a href=\"#learning-more\">Learning More</a></li>\r\n<li><a href=\"#community\">Community</a></li>\r\n<li><a href=\"#hackathons\">Hackathons</a></li>\r\n</ul>\r\n</li>\r\n</ul>\r\n</li>\r\n</ul>\r\n</ul>\r\n</details>\r\n\r\n# Lesson 0: The Edge of the Rabbit Hole\r\n\r\n## Welcome to the course!\r\n\r\n_[⌨️ (00:00:00) Lesson 0: Welcome To Blockchain](https://www.youtube.com/watch?v=gyMwXuJrbJQ&t=0s)_\r\n\r\n## Best Practices\r\n\r\n- **Follow the repository:** While going through the course be 100% certain to follow along with the github repository. If you run into in an issue check the chronological-updates in the repo.\r\n- **Be Active in the community:** Ask questions and engage with other developers going through the course in the discussions tab, be sure to go and say hello or gm! This space is different from the other industries, you don't have to be secretive; communicate, network and learn with others :)\r\n- **Learn at your own pace:** It doesn't matter if it takes you a day, a week, a month or even a year. Progress >>> Perfection\r\n- **Take Breaks:** You will exhaust your mind and recall less if you go all out and watch the entire course in one sitting.\r\n  **Suggested Strategy** every 25 minutes take a 5 min break, and every 2 hours take a longer 30 min break\r\n- **Refer to Documentation:** Things are constantly being updated, so whenever Patrick opens up some documentation, open it your end and maybe even have the code sample next to you.\r\n\r\n# Lesson 1: Blockchain Basics\r\n\r\n_[⌨️ (00:09:05) Lesson 1: Blockchain Basics](https://www.youtube.com/watch?v=gyMwXuJrbJQ&t=545s)_\r\n\r\n## What is a Blockchain? What does a blockchain do?\r\n\r\n- [Bitcoin Whitepaper](https://bitcoin.org/bitcoin.pdf)\r\n  - [Satoshi Nakamoto](https://en.wikipedia.org/wiki/Satoshi_Nakamoto)\r\n- [Ethereum Whitepaper](https://ethereum.org/en/whitepaper/)\r\n  - [Vitalik Buterin](https://en.wikipedia.org/wiki/Vitalik_Buterin)\r\n- [What is a Smart Contract?](https://chain.link/education/smart-contracts)\r\n- [Nick Szabo](https://en.wikipedia.org/wiki/Nick_Szabo)\r\n- [Hybrid Smart Contracts](https://blog.chain.link/hybrid-smart-contracts-explained/)\r\n- [Blockchain Oracles](https://betterprogramming.pub/what-is-a-blockchain-oracle-f5ccab8dbd72?source=friends_link&sk=d921a38466df8a9176ed8dd767d8c77d)\r\n- [Terminology](https://connect.comptia.org/content/articles/blockchain-terminology)\r\n- [Web3](https://en.wikipedia.org/wiki/Web3)\r\n- [What is a blockchain](https://www.investopedia.com/terms/b/blockchain.asp)\r\n\r\n## The Purpose Of Smart Contracts\r\n\r\n_[⌨️ (00:18:27) The Purpose of Smart Contracts](https://youtu.be/gyMwXuJrbJQ?t=1107)_\r\n\r\n- 🎥 [Original Video](https://www.youtube.com/watch?v=_JeRq7Gwj5Y&feature=youtu.be)\r\n- 🦬 [My ETH Denver Talk](https://www.youtube.com/watch?v=06hXCX_jj2E)\r\n- 🍔 [McDonalds Scandal](https://www.chicagotribune.com/sns-mcdonalds-story.html)\r\n- ⛓ [More on the evolution of agreements](https://www.youtube.com/watch?v=ufVyX7JDCgg)\r\n- ✍️ [What is a Smart Contract?](https://www.youtube.com/watch?v=ZE2HxTmxfrI)\r\n- 🧱 [How does a blockchain work?](https://www.youtube.com/watch?v=SSo_EIwHSd4)\r\n- 🔮 [Chainlink & Oracles](https://www.youtube.com/watch?v=tIUHQ7sDoaU)\r\n\r\n## Other Blockchain Benefits\r\n\r\n_[⌨️ (00:30:41) Other Blockchain Benefits](https://youtu.be/gyMwXuJrbJQ?t=1841)_\r\n\r\n- Decentralized\r\n- Transparency & Flexibility\r\n- Speed & Efficiency\r\n- Security & Immutability\r\n- Counterparty Risk Removal\r\n- Trust Minimized Agreements\r\n\r\n## What have Smart Contracts done so far?\r\n\r\n_[⌨️ (00:36:36) What have Smart Contracts done so far?](https://youtu.be/gyMwXuJrbJQ?t=2196)_\r\n\r\n- [DeFi](https://chain.link/education/defi)\r\n  - [Defi Llama](https://defillama.com/)\r\n  - [Why DeFi is Important](https://medium.com/the-capital/why-defi-1519cc4d4bd3)\r\n- [DAOs](https://betterprogramming.pub/what-is-a-dao-what-is-the-architecture-of-a-dao-how-to-build-a-dao-high-level-d096a97162cc)\r\n- [NFTs](https://www.youtube.com/watch?v=9yuHz6g_P50)\r\n\r\n## Making Your First Transaction\r\n\r\n_[⌨️ (00:39:17) Making Your First Transaction](https://youtu.be/gyMwXuJrbJQ?t=2357)_\r\n\r\n- [Metamask Download Link](https://metamask.io/)\r\n  - [What is a Private Key?](https://www.coinbase.com/learn/crypto-basics/what-is-a-private-key)\r\n  - [What is a Secret Phrase?](https://metamask.zendesk.com/hc/en-us/articles/360060826432-What-is-a-Secret-Recovery-Phrase-and-how-to-keep-your-crypto-wallet-secure)\r\n- [Etherscan](https://etherscan.io/)\r\n- [Sepolia Etherscan](https://sepolia.etherscan.io/)\r\n- Sepolia Faucet (Check the [link token contracts page](https://docs.chain.link/docs/link-token-contracts/#sepolia))\r\n  - NOTE: The Chainlink documentation always has the most up to date faucets on their [link token contracts page](https://docs.chain.link/docs/link-token-contracts/#sepolia). If the faucet above is broken, check the chainlink documentation for the most up to date faucet.\r\n- OR, use the [Sepolia ETH Faucet](https://faucets.chain.link/), just be sure to swap your metamask to Sepolia!\r\n\r\n## Gas I: Introduction to Gas\r\n\r\n_[⌨️ (00:58:59) Gas I: Introduction to Gas](https://youtu.be/gyMwXuJrbJQ?t=3539)_\r\n\r\n- [Gas and Gas Fees](https://ethereum.org/en/developers/docs/gas/)\r\n- [Wei, Gwei, and Ether Converter](https://eth-converter.com/)\r\n- [ETH Gas Station](https://ethgasstation.info/)\r\n\r\n## How Do Blockchains Work?\r\n\r\n_[⌨️ (01:05:32) How Do Blockchains Work](https://youtu.be/gyMwXuJrbJQ?t=3932)_\r\n\r\n- [What is a hash?](https://techjury.net/blog/what-is-cryptographic-hash/)\r\n- [Blockchain Demo](https://andersbrownworth.com/blockchain/)\r\n- [Summary](https://ethereum.org/en/developers/docs/intro-to-ethereum/)\r\n\r\n## Signing Transactions\r\n\r\n_[⌨️ (01:22:55) Signing Transactions](https://youtu.be/gyMwXuJrbJQ?t=4975)_\r\n\r\n- [Public / Private Keys](https://andersbrownworth.com/blockchain/public-private-keys/keys)\r\n- [Layer 2 and Rollups](https://ethereum.org/en/developers/docs/scaling/layer-2-rollups/)\r\n- [Decentralized Blockchain Oracles](https://blog.chain.link/what-is-the-blockchain-oracle-problem/)\r\n\r\n## Gas II\r\n\r\n_[⌨️ (01:30:22) Gas II: Block Rewards & EIP 1559](https://youtu.be/gyMwXuJrbJQ?t=5422)_\r\n\r\n- [Block Rewards](https://www.investopedia.com/terms/b/block-reward.asp)\r\n- Advanced Gas\r\n  - [EIP 1559](https://www.youtube.com/watch?v=MGemhK9t44Q)\r\n  - GWEI, WEI, and ETH\r\n    - [ETH Converter](https://eth-converter.com/)\r\n\r\n## Gas II Summary\r\n\r\n_[⌨️ (01:36:44) Gas II Summary](https://youtu.be/gyMwXuJrbJQ?t=5804)_\r\n\r\n- [Run Your Own Ethereum Node](https://geth.ethereum.org/docs/getting-started)\r\n\r\n## High-Level Blockchain Fundamentals\r\n\r\n_[⌨️ (01:39:32) High-Level Blockchain Fundamentals]https://www.youtube.com/watch?v=gyMwXuJrbJQ&t=5972s()_\r\n\r\n- [Consensus](https://wiki.polkadot.network/docs/learn-consensus)\r\n- [Proof of Stake](https://ethereum.org/en/developers/docs/consensus-mechanisms/pos/)\r\n- [Proof of Work](https://ethereum.org/en/developers/docs/consensus-mechanisms/pow/)\r\n- [Nakamoto Consensus](https://blockonomi.com/nakamoto-consensus/)\r\n- [Ethereum 2 (the merge)](https://ethereum.org/en/eth2/)\r\n\r\n🎊🎊🎊🎊🎊🎊🎊🎊🎊🎊🎊🎊 Completed Blockchain Basics! 🎊🎊🎊🎊🎊🎊🎊🎊🎊🎊🎊🎊\r\n\r\n# Lesson 2: [Welcome to Remix! Simple Storage](https://github.com/PatrickAlphaC/simple-storage-fcc)\r\n\r\n_[⌨️ (02:01:16) Lesson 2: Welcome to Remix! Simple Storage](https://www.youtube.com/watch?v=gyMwXuJrbJQ&t=7276s)_\r\n\r\n💻 Code: https://github.com/PatrickAlphaC/simple-storage-fcc\r\n\r\n## Introduction\r\n\r\n_[⌨️ (02:03:05) Introduction](https://youtu.be/gyMwXuJrbJQ?t=7385)_\r\n\r\n- [Remix](https://remix.ethereum.org/)\r\n- [Solidity Documentation](https://docs.soliditylang.org/en/latest/index.html)\r\n\r\n## Setting Up Your First Contract\r\n\r\n_[⌨️ (02:05:18) Setting Up Your First Contract](https://youtu.be/gyMwXuJrbJQ?t=7518)_\r\n\r\n- Versioning\r\n- Take notes in your code!\r\n- [What is a software license](https://snyk.io/learn/what-is-a-software-license/)\r\n- SPDX License\r\n- Compiling\r\n- Contract Declaration\r\n\r\n## Basic Solidity: Types\r\n\r\n_[⌨️ (02:12:28) Basic Solidity Types](https://youtu.be/gyMwXuJrbJQ?t=7948)_\r\n\r\n- [Types & Declaring Variables](https://docs.soliditylang.org/en/v0.8.13/)\r\n  - `uint256`, `int256`, `bool`, `string`, `address`, `bytes32`\r\n  - [Solidity Types](https://docs.soliditylang.org/en/latest/types.html)\r\n  - [Bits and Bytes](https://www.youtube.com/watch?v=Dnd28lQHquU)\r\n- Default Initializations\r\n- Comments\r\n\r\n## Basic Solidity: Functions\r\n\r\n_[⌨️ (02:18:40) Basic Solidity Functions](https://youtu.be/gyMwXuJrbJQ?t=8320)_\r\n\r\n- Functions\r\n- Deploying a Contract\r\n  - Smart Contracts have addresses just like our wallets\r\n- Calling a public state-changing Function\r\n- [Visibility](https://docs.soliditylang.org/en/latest/contracts.html#visibility-and-getters)\r\n- Gas III | An example\r\n- Scope\r\n- View & Pure Functions\r\n\r\n## Basic Solidity: Arrays & Structs\r\n\r\n_[⌨️ (02:35:30) Basic Solidity Arrays & Structs](https://youtu.be/gyMwXuJrbJQ?t=9331)_\r\n\r\n- Structs\r\n- Intro to Storage\r\n- Arrays\r\n- Dynamic & Fixed Sized\r\n- `push` array function\r\n\r\n## Basic Solidity: Compiler Errors and Warnings\r\n\r\n_[⌨️ (02:45:35) Basic Solidity Errors & Warnings](https://youtu.be/gyMwXuJrbJQ?t=9935)_\r\n\r\n- Yellow: Warnings are Ok\r\n- Red: Errors are not Ok\r\n\r\n## Memory, Storage, Calldata (Intro)\r\n\r\n_[⌨️ (02:46:34) Basic Solidity Memory, Storage, & Calldata (Intro)](https://youtu.be/gyMwXuJrbJQ?t=9994)_\r\n\r\n- 6 Places you can store and access data\r\n  - calldata\r\n  - memory\r\n  - storage\r\n  - code\r\n  - logs\r\n  - stack\r\n\r\n## Mappings\r\n\r\n_[⌨️ (02:50:17) Basic Solidity Mappings](https://youtu.be/gyMwXuJrbJQ?t=10217)_\r\n\r\n- [Mappings](https://solidity-by-example.org/mapping)\r\n\r\n## Deploying your First Contract\r\n\r\n_[⌨️ (02:53:38) Deploying your First Contract](https://youtu.be/gyMwXuJrbJQ?t=10418)_\r\n\r\n- A testnet or mainnet\r\n- Connecting Metamask\r\n- [Find a faucet here](https://docs.chain.link/docs/link-token-contracts/#Sepolia)\r\n- See the faucets at the top of this readme!\r\n- Interacting with Deployed Contracts\r\n\r\n## The EVM & A Recap of Lesson 2\r\n\r\n_[⌨️ (03:03:07) The EVM & A Recap of Lesson 2](https://youtu.be/gyMwXuJrbJQ?t=10987)_\r\n\r\n- The EVM\r\n\r\n# Lesson 3: Remix Storage Factory\r\n\r\n_[⌨️ (03:05:34) Lesson 3: Remix Storage Factory](https://www.youtube.com/watch?v=gyMwXuJrbJQ&t=11134s)_\r\n\r\n💻 Code: https://github.com/PatrickAlphaC/storage-factory-fcc\r\n\r\n## Introduction\r\n\r\n_[⌨️ (03:06:06) Introduction](https://youtu.be/gyMwXuJrbJQ?t=11166)_\r\n\r\n- [Factory Pattern](https://betterprogramming.pub/learn-solidity-the-factory-pattern-75d11c3e7d29)\r\n\r\n## Basic Solidity: Importing Contracts into other Contracts\r\n\r\n_[⌨️ (03:07:29) Importing Contracts into other Contracts](https://youtu.be/gyMwXuJrbJQ?t=11249)_\r\n\r\n- [Composibility](https://chain.link/techtalks/defi-composability)\r\n- [Solidity new keyword](https://docs.soliditylang.org/en/latest/control-structures.html?highlight=new#creating-contracts-via-new)\r\n- [Importing Code in solidity](https://solidity-by-example.org/import)\r\n\r\n## Basic Solidity: Interacting with other Contracts\r\n\r\n_[⌨️ (03:16:36) Interacting with other contracts](https://youtu.be/gyMwXuJrbJQ?t=11796)_\r\n\r\n- To interact, you always need: ABI + Address\r\n- [ABI](https://docs.soliditylang.org/en/latest/abi-spec.html?highlight=abi)\r\n\r\n## Basic Solidity: Inheritance & Overrides\r\n\r\n_[⌨️ (03:25:23) Inheritance & Overrides](https://youtu.be/gyMwXuJrbJQ?t=12323)_\r\n\r\n- [Inheritance](https://solidity-by-example.org/inheritance)\r\n- [Override & Virtual Keyword](https://docs.soliditylang.org/en/latest/contracts.html?highlight=override#function-overriding)\r\n\r\n## Lesson 3 Recap\r\n\r\n_[⌨️ (03:30:29) Lesson 3 Recap](https://youtu.be/gyMwXuJrbJQ?t=12629)_\r\n\r\n# Lesson 4: Remix Fund Me\r\n\r\n_[⌨️ (03:31:55) Lesson 4: Remix Fund Me](https://www.youtube.com/watch?v=gyMwXuJrbJQ&t=12715s)_\r\n\r\n💻 Code: https://github.com/PatrickAlphaC/fund-me-fcc\r\n\r\n## Introduction\r\n\r\n## Sending ETH Through a Function & Reverts\r\n\r\n- [Fields in a Transaction](https://ethereum.org/en/developers/docs/transactions/)\r\n- [More on v,r,s](https://ethereum.stackexchange.com/questions/15766/what-does-v-r-s-in-eth-gettransactionbyhash-mean)\r\n- [payable](https://solidity-by-example.org/payable)\r\n- [msg.value & Other global keywords](https://docs.soliditylang.org/en/latest/cheatsheet.html?highlight=cheatsheet#global-variables)\r\n- [require](https://codedamn.com/news/solidity/what-is-require-in-solidity)\r\n- [revert](https://medium.com/blockchannel/the-use-of-revert-assert-and-require-in-solidity-and-the-new-revert-opcode-in-the-evm-1a3a7990e06e)\r\n\r\n## Chainlink & Oracles\r\n\r\n- [What is a blockchain oracle?](https://chain.link/education/blockchain-oracles)\r\n- [What is the oracle problem?](https://blog.chain.link/what-is-the-blockchain-oracle-problem/)\r\n- [Chainlink](https://chain.link/)\r\n- [Chainlink Price Feeds (Data Feeds)](https://docs.chain.link/docs/get-the-latest-price/)\r\n  - [data.chain.link](https://data.chain.link/)\r\n- [Chainlink VRF](https://docs.chain.link/docs/chainlink-vrf/)\r\n- [Chainlink Keepers](https://docs.chain.link/docs/chainlink-keepers/introduction/)\r\n- [Chainlink API Calls](https://docs.chain.link/docs/request-and-receive-data/)\r\n- [Importing Tokens into your Metamask](https://consensys.net/blog/metamask/how-to-add-your-custom-tokens-in-metamask/)\r\n- [Request and Receive Chainlink Model](https://docs.chain.link/docs/architecture-request-model/)\r\n\r\n## Review of Sending ETH and working with Chainlink\r\n\r\n## Interfaces & Price Feeds\r\n\r\n- [Chainlink Price Feeds (Data Feeds)](https://docs.chain.link/docs/get-the-latest-price/)\r\n- [Chainlink GitHub](https://github.com/smartcontractkit/chainlink)\r\n- [Interface](https://solidity-by-example.org/interface)\r\n\r\n## Importing from GitHub & NPM\r\n\r\n- [Chainlink NPM Package](https://www.npmjs.com/package/@chainlink/contracts)\r\n\r\n## Floating Point Math in Solidity\r\n\r\n- [tuple](https://docs.soliditylang.org/en/latest/abi-spec.html?highlight=tuple#handling-tuple-types)\r\n- [Floating Point Numbers in Solidity](https://stackoverflow.com/questions/58277234/does-solidity-supports-floating-point-number)\r\n- [Type Casting](https://ethereum.stackexchange.com/questions/6891/type-casting-in-solidity)\r\n- Gas Estimation Failed\r\n  - Someone should make an article explaining this error\r\n\r\n## Basic Solidity: Arrays & Structs II\r\n\r\n- [msg.sender](https://docs.soliditylang.org/en/latest/cheatsheet.html?highlight=msg.sender)\r\n\r\n## Review of Interfaces, Importing from GitHub, & Math in Solidity\r\n\r\n## Libraries\r\n\r\n- [Library](https://docs.soliditylang.org/en/v0.8.14/contracts.html?highlight=library#libraries)\r\n- [Solidity-by-example Library](https://solidity-by-example.org/library)\r\n\r\n## SafeMath, Overflow Checking, and the \"unchecked\" keyword\r\n\r\n- [Openzeppelin Safemath](https://github.com/OpenZeppelin/openzeppelin-contracts/blob/master/contracts/utils/math/SafeMath.sol)\r\n- [unchecked vs. checked](https://docs.soliditylang.org/en/latest/control-structures.html#checked-or-unchecked-arithmetic)\r\n\r\n## Basic Solidity: For Loop\r\n\r\n- [For Loop](https://solidity-by-example.org/loop)\r\n- `/* */` is another way to make comments\r\n\r\n## Basic Solidity: Resetting an Array\r\n\r\n## Sending ETH from a Contract\r\n\r\n- [Transfer, Send, Call](https://solidity-by-example.org/sending-ether/)\r\n- [this keyword](https://ethereum.stackexchange.com/questions/1781/what-is-the-this-keyword-in-solidity)\r\n\r\n## Basic Solidity: Constructor\r\n\r\n- [Constructor](https://solidity-by-example.org/constructor)\r\n\r\n## Basic Solidity: Modifiers\r\n\r\n- [Double equals](https://www.geeksforgeeks.org/solidity-operators/)\r\n- [Modifier](https://solidity-by-example.org/function-modifier)\r\n\r\n## Testnet Demo\r\n\r\n- [Disconnecting Metamask](https://help.1inch.io/en/articles/4666771-metamask-how-to-connect-disconnect-and-switch-accounts-with-metamask-on-1inch-network)\r\n\r\n## Advanced Solidity\r\n\r\n### Immutable & Constant\r\n\r\n- [Immutable](https://solidity-by-example.org/immutable)\r\n- [Constant](https://solidity-by-example.org/constants)\r\n- [Current ETH Gas Prices](https://etherscan.io/gastracker)\r\n- Don't stress about gas optimizations! (yet)\r\n- Naming Conventions\r\n  - [Someone make this!](https://github.com/smartcontractkit/full-blockchain-solidity-course-js/issues/13)\r\n\r\n### Custom Errors\r\n\r\n- [Custom Errors Introduction](https://blog.soliditylang.org/2021/04/21/custom-errors/)\r\n\r\n### Receive & Fallback Functions\r\n\r\n- [Solidity Docs Special Functions](https://docs.soliditylang.org/en/latest/contracts.html?highlight=fallback#special-functions)\r\n- [Fallback](https://solidity-by-example.org/fallback)\r\n- [Receive](https://docs.soliditylang.org/en/latest/contracts.html?highlight=fallback#receive-ether-function)\r\n\r\n## Lesson 4 Recap\r\n\r\n🎊🎊🎊🎊🎊🎊🎊🎊🎊🎊🎊🎊 Completed Solidity Basics! 🎊🎊🎊🎊🎊🎊🎊🎊🎊🎊🎊🎊\r\n\r\n# Lesson 5: Ethers.js Simple Storage\r\n\r\n_[⌨️ (05:30:42) Lesson 5: Ethers.js Simple Storage](https://www.youtube.com/watch?v=gyMwXuJrbJQ&t=19842s)_\r\n\r\n💻 Code: https://github.com/PatrickAlphaC/ethers-simple-storage-fcc\r\n\r\n🧪 [Alchemy: https://alchemy.com/?a=673c802981](https://alchemy.com/?a=673c802981)\r\n\r\n## Effective Debugging Strategies & Getting Help\r\n\r\n_[⌨️ (5:30:46) Effective Debugging Stategies & Getting Help](https://youtu.be/gyMwXuJrbJQ?t=19846)_\r\n\r\n1. Tinker and isolate problem\r\n   1. For this course, take at LEAST 15 minutes to figure out a bug.\r\n2. Google / Web Search the Exact problem\r\n   1. Go to this GitHub Repo / Discussions\r\n3. Ask a question on a Forum like Stack Exchange Ethereum or Stack Overflow\r\n   1. Format your questions!!\r\n   2. Use [Markdown](https://www.markdowntutorial.com/)\r\n\r\n### How to Debug Anything Video\r\n\r\n- [Patrick's Original Video](https://www.youtube.com/watch?v=XT8STflvwNo)\r\n\r\n## Installation & Setup\r\n\r\n- [Visual Studio Code](https://code.visualstudio.com/)\r\n  - [Crash Course](https://www.youtube.com/watch?v=WPqXP_kLzpo)\r\n- [NodeJS](https://nodejs.org/en/)\r\n- [VSCode Keybindings](https://code.visualstudio.com/docs/getstarted/keybindings)\r\n- [Git](https://git-scm.com/book/en/v2/Getting-Started-Installing-Git)\r\n- [What is a terminal?](https://code.visualstudio.com/docs/editor/integrated-terminal)\r\n\r\n### Mac & Linux Setup\r\n\r\n### Windows Setup\r\n\r\n- [WSL](https://docs.microsoft.com/en-us/windows/wsl/install)\r\n  - When working in WSL, use Linux commands instead of Windows commands\r\n- [TroubleShooting](https://docs.microsoft.com/en-us/windows/wsl/troubleshooting)\r\n- `curl -o- https://raw.githubusercontent.com/nvm-sh/nvm/v0.39.1/install.sh | bash`\r\n\r\n> ⚠️ Please use Gitpod as an absolute last resort\r\n\r\n### Gitpod\r\n\r\n- [Gitpod](https://www.gitpod.io/)\r\n  - **If using this, NEVER share a private key with real money on Gitpod**\r\n  - Ideally you figure out the MacOS, Linux, or Windows install though\r\n\r\n## Local Development Introduction\r\n\r\n- `CMD + K` or `CTRL + K` clears the terminal\r\n- `mkdir ethers-simple-storage-fcc`\r\n- `code .` to open VSCode in a new VSCode window\r\n\r\n### Optional Javascript Crash Courses\r\n\r\n- [NodeJS Course](https://www.youtube.com/watch?v=RLtyhwFtXQA)\r\n- [Javascript Course](https://www.youtube.com/watch?v=jS4aFq5-91M)\r\n- Import your `SimpleStorage.sol`\r\n- [Solidity + Hardhat VSCode Extension](https://marketplace.visualstudio.com/items?itemName=NomicFoundation.hardhat-solidity)\r\n\r\n- Format your solidity code with:\r\n\r\n```\r\n    \"[solidity]\": {\r\n        \"editor.defaultFormatter\": \"NomicFoundation.hardhat-solidity\"\r\n    },\r\n    \"[javascript]\":{\r\n      \"editor.defaultFormatter\": \"esbenp.prettier-vscode\"\r\n    }\r\n```\r\n\r\nIn your `.vscode/settings.json` file.\r\n\r\n- [Prettier Extension](https://marketplace.visualstudio.com/items?itemName=esbenp.prettier-vscode)\r\n\r\n## Tiny Javascript Refresher\r\n\r\n- [Javascript Tips](https://www.freecodecamp.org/news/learn-javascript-free-js-courses-for-beginners/)\r\n\r\n## Asynchronous Programming in Javascript\r\n\r\n- [Asynchronous Programming](https://www.bmc.com/blogs/asynchronous-programming/)\r\n- [async keyword](https://www.w3schools.com/JS//js_async.asp)\r\n- [Promise in Javascript](https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Promise)\r\n- [await keyword](https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Operators/await)\r\n\r\n## Compiling our Solidity\r\n\r\n- [Yarn Install](https://yarnpkg.com/getting-started/install)\r\n- [solc-js](https://github.com/ethereum/solc-js)\r\n  - `yarn add solc@0.8.7-fixed`\r\n- [yarn scripts](https://classic.yarnpkg.com/lang/en/docs/cli/run/)\r\n\r\n## Ganache & Networks\r\n\r\n- [Ganache](https://trufflesuite.com/ganache/)\r\n- Networks in Metamask\r\n- RPC URL\r\n- [Geth](https://github.com/ethereum/go-ethereum)\r\n- [JSON RPC Spec Playground](https://playground.open-rpc.org/?schemaUrl=https://raw.githubusercontent.com/ethereum/execution-apis/assembled-spec/openrpc.json&uiSchema%5BappBar%5D%5Bui:splitView%5D=false&uiSchema%5BappBar%5D%5Bui:input%5D=false&uiSchema%5BappBar%5D%5Bui:examplesDropdown%5D=false)\r\n\r\n## Introduction to Ethers.js\r\n\r\n- [Ethers.js](https://docs.ethers.io/v5/getting-started/)\r\n- [prettier-plugin-solidity](https://github.com/prettier-solidity/prettier-plugin-solidity)\r\n\r\n### A Note on the await Keyword\r\n\r\n## Adding Transaction Overrides\r\n\r\n## Transaction Receipts\r\n\r\n## Sending a \"raw\" Transaction in Ethers.js\r\n\r\n## Interacting with Contracts in Ethers.js\r\n\r\n- [EVM Decompiler](https://ethervm.io/decompile)\r\n- [BigNumber](https://docs.ethers.io/v5/api/utils/bignumber/)\r\n\r\n## Environment Variables\r\n\r\n- [dotenv](https://www.npmjs.com/package/dotenv)\r\n- [.gitignore](https://www.atlassian.com/git/tutorials/saving-changes/gitignore)\r\n\r\n## Better Private Key Management\r\n\r\n- [wallet.encrypt](https://docs.ethers.io/v5/api/signer/#Wallet-encrypt)\r\n- [THE .ENV PLEDGE](https://github.com/smartcontractkit/full-blockchain-solidity-course-js/discussions/5)\r\n\r\n## Optional Prettier Formatting\r\n\r\n- [Prettier](https://prettier.io/docs/en/index.html)\r\n- [Best README Template](https://github.com/othneildrew/Best-README-Template)\r\n\r\n## Deploying to a Testnet or a Mainnet\r\n\r\n- [Alchemy](https://alchemy.com/?a=673c802981)\r\n- [Getting your private key from Metamask](https://metamask.zendesk.com/hc/en-us/articles/360015289632-How-to-Export-an-Account-Private-Key)\r\n- `CTRL + C` stops any terminal command\r\n\r\n## Verifying on Block Explorers from the UI\r\n\r\n## Alchemy Dashboard & The Mempool\r\n\r\n- [Special Guest Albert Hu](https://twitter.com/thatguyintech)\r\n- [Mempool](https://ethereum.org/en/developers/tutorials/sending-transactions-using-web3-and-alchemy/#see-your-transaction-in-the-mempool)\r\n\r\n## Lesson 5 Recap\r\n\r\n### Typescript Ethers Simple Storage\r\n\r\n# Lesson 6: Hardhat Simple Storage\r\n\r\n_[⌨️ (08:20:17) Lesson 6: Hardhat Simple Storage](https://www.youtube.com/watch?v=gyMwXuJrbJQ&t=30017s)_\r\n\r\n💻 Code: https://github.com/PatrickAlphaC/hardhat-simple-storage-fcc\r\n\r\n## Introduction\r\n\r\n_[⌨️ (08:20:19) Introduction](https://youtu.be/gyMwXuJrbJQ?t=30019)_\r\n\r\n## Hardhat Setup\r\n\r\n_[⌨️ (08:22:47) Hardhat Setup](https://youtu.be/gyMwXuJrbJQ?t=30167)_\r\n\r\n- [Hardhat Documentation](https://hardhat.org/)\r\n- [DevDependencies vs Dependencies](https://stackoverflow.com/questions/18875674/whats-the-difference-between-dependencies-devdependencies-and-peerdependencies)\r\n- [@ Sign node modules](https://stackoverflow.com/questions/36667258/what-is-the-meaning-of-the-at-prefix-on-npm-packages)\r\n\r\n### Troubleshooting Hardhat Setup\r\n\r\n_[⌨️ (08:29:43) Troubleshooting Hardhat Setup](https://youtu.be/gyMwXuJrbJQ?t=30583)_\r\n\r\n- [Special Guest Cami Ramos Garzon](https://twitter.com/camiinthisthang)\r\n\r\n## Hardhat Setup Continued\r\n\r\n_[⌨️ (08:31:48) Hardhat Setup Continued](https://youtu.be/gyMwXuJrbJQ?t=30708)_\r\n\r\n## Deploying SimpleStorage from Hardhat\r\n\r\n_[⌨️ (08:33:10) Deploying SimpleStorage from Hardhat](https://youtu.be/gyMwXuJrbJQ?t=30790)_\r\n\r\n## Networks in Hardhat\r\n\r\n_[⌨️ (08:41:44) Networks in Hardhat](https://youtu.be/gyMwXuJrbJQ?t=31304)_\r\n\r\n- [The Hardhat Network](https://hardhat.org/hardhat-network/)\r\n- [Hardhat configuration](https://hardhat.org/config/#configuration)\r\n- [Chain ID List](https://chainlist.org/)\r\n\r\n## Programmatic Verification\r\n\r\n_[⌨️ (08:51:16) Programmatic Verification](https://youtu.be/gyMwXuJrbJQ?t=31876)_\r\n\r\n- [Etherscan Verify Tutorial](https://docs.etherscan.io/tutorials/verifying-contracts-programmatically)\r\n- [Etherscan Docs](https://docs.etherscan.io/)\r\n- [Hardhat-Etherscan](https://hardhat.org/plugins/nomiclabs-hardhat-etherscan.html)\r\n- [Etherscan API Keys](https://info.etherscan.com/api-keys/)\r\n- [Javascript == vs ===](https://stackoverflow.com/questions/359494/which-equals-operator-vs-should-be-used-in-javascript-comparisons)\r\n\r\n## Interacting with Contracts in Hardhat\r\n\r\n_[⌨️ (09:06:37) Interacting with Contracts in Hardhat](https://youtu.be/gyMwXuJrbJQ?t=32797)_\r\n\r\n## Artifacts Troubleshooting\r\n\r\n_[⌨️ (09:09:42) Artifacts Troubleshooting](https://youtu.be/gyMwXuJrbJQ?t=32982)_\r\n\r\n## Custom Hardhat Tasks\r\n\r\n_[⌨️ (09:10:52) Custom Hardhat Tasks](https://youtu.be/gyMwXuJrbJQ?t=33052)_\r\n\r\n- [Hardhat Tasks](https://hardhat.org/guides/create-task.html)\r\n- [Javascript Arrow Functions](https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Functions/Arrow_functions)\r\n\r\n## Hardhat Localhost Node\r\n\r\n_[⌨️ (09:18:12) Hardhat Localhost Node](https://youtu.be/gyMwXuJrbJQ?t=33492)_\r\n\r\n## The Hardhat Console\r\n\r\n_[⌨️ (09:23:11) The Hardhat Console](https://youtu.be/gyMwXuJrbJQ?t=33791)_\r\n\r\n- [Hardhat Console](https://hardhat.org/guides/hardhat-console.html)\r\n\r\n## Hardhat Tests\r\n\r\n_[⌨️ (09:26:13) Hardhat Tests](https://youtu.be/gyMwXuJrbJQ?t=33973)_\r\n\r\n- [Hardhat Tests](https://hardhat.org/tutorial/testing-contracts.html#_5-testing-contracts)\r\n- [Mocha Style Tests](https://mochajs.org/)\r\n- [Chai](https://www.npmjs.com/package/chai)\r\n- [Waffle Tests](https://ethereum-waffle.readthedocs.io/en/latest/)\r\n\r\n## Hardhat Gas Reporter\r\n\r\n_[⌨️ (09:38:10) Hardhat Gas Reporter](https://youtu.be/gyMwXuJrbJQ?t=34690)_\r\n\r\n- [Hardhat Gas Reporter](https://www.npmjs.com/package/hardhat-gas-reporter)\r\n- [Coinmarketcap API](https://coinmarketcap.com/api/)\r\n\r\n## Solidity Coverage\r\n\r\n_[⌨️ (09:44:40) Solidity Coverage](https://youtu.be/gyMwXuJrbJQ?t=35080)_\r\n\r\n- [Solidity Coverage](https://github.com/sc-forks/solidity-coverage)\r\n\r\n## Hardhat Waffle\r\n\r\n_[⌨️ (09:47:02) Hardhat Waffle](https://youtu.be/gyMwXuJrbJQ?t=35222)_\r\n\r\n- [Hardhat-Waffle](https://npm.io/package/@nomiclabs/hardhat-waffle)\r\n\r\n## Lesson 6 Recap\r\n\r\n_[⌨️ (09:47:37) Lesson 6 Recap](https://youtu.be/gyMwXuJrbJQ?t=35257)_\r\n\r\n### Typescript Hardhat Simple Storage\r\n\r\n_[⌨️ (09:52:15) Typescript Hardhat Simple Storage](https://youtu.be/gyMwXuJrbJQ?t=35535)_\r\n\r\n- [Typechain](https://github.com/dethcrypto/TypeChain)\r\n\r\n```\r\nyarn add --dev @typechain/ethers-v5 @typechain/hardhat @types/chai @types/node @types/mocha ts-node typechain typescript\r\n```\r\n\r\n# Lesson 7: Hardhat Fund Me\r\n\r\n_[⌨️ (10:00:48) Lesson 7: Hardhat Fund Me](https://www.youtube.com/watch?v=gyMwXuJrbJQ&t=36048s)_\r\n\r\n💻 Code: https://github.com/PatrickAlphaC/hardhat-fund-me-fcc\r\n\r\n## Introduction\r\n\r\n_[⌨️ (10:00:50) Introduction](https://youtu.be/gyMwXuJrbJQ?t=36050)_\r\n\r\n## Hardhat Setup - Fund Me\r\n\r\n_[⌨️ (10:03:41) Hardhat Setup - Fund Me](https://youtu.be/gyMwXuJrbJQ?t=36221)_\r\n\r\n## Linting\r\n\r\n_[⌨️ (10:06:20) Linting](https://youtu.be/gyMwXuJrbJQ?t=36380)_\r\n\r\n- [Eslint](https://eslint.org/)\r\n- [Solhint](https://github.com/protofire/solhint)\r\n- [Linting Code](https://www.perforce.com/blog/qac/what-lint-code-and-why-linting-important)\r\n\r\n## Hardhat Setup - Fund Me - Continued\r\n\r\n_[⌨️ (10:07:47) Hardhat Setup - Fund Me - Continued](https://youtu.be/gyMwXuJrbJQ?t=36467)_\r\n\r\n## Importing from NPM\r\n\r\n_[⌨️ (10:09:38) Importing from NPM](https://youtu.be/gyMwXuJrbJQ?t=36578)_\r\n\r\n- [@chainlink/contracts](https://www.npmjs.com/package/@chainlink/contracts)\r\n\r\n## Hardhat Deploy\r\n\r\n_[⌨️ (10:10:43) Hardhat Deploy](https://youtu.be/gyMwXuJrbJQ?t=36643)_\r\n\r\n- [Hardhat Deploy](https://github.com/wighawag/hardhat-deploy)\r\n\r\n## Mocking\r\n\r\n_[⌨️ (10:21:05) Mocking](https://youtu.be/gyMwXuJrbJQ?t=37265)_\r\n\r\n- [Mocking](https://stackoverflow.com/questions/2665812/what-is-mocking)\r\n- [Aave Github](https://github.com/aave/aave-v3-core)\r\n- [Chainlink Github](https://github.com/smartcontractkit/chainlink)\r\n- Multiple Versions of Solidity\r\n- Tags in hardhat\r\n\r\n## Utils Folder\r\n\r\n_[⌨️ (10:52:51) Utils Folder](https://youtu.be/gyMwXuJrbJQ?t=39171)_\r\n\r\n## Testnet Demo - Hardhat Fund Me\r\n\r\n_[⌨️ (10:55:45) Testnet Demo - Hardhat Fund Me](https://youtu.be/gyMwXuJrbJQ?t=39345)_\r\n\r\n- Hardhat Deploy Block Confirmations\r\n\r\n### TypeScript\r\n\r\n- [Code file](https://github.com/PatrickAlphaC/hardhat-fund-me-fcc/blob/84271e7002e55d86c90b26466ff27bc067f25de0/deploy/01-deploy-fund-me.ts#L29) (TypeScript edition)\r\n- Define blockConfirmations in the `helper-hardhat-config.ts` file instead of `hardhat-config.js`.\r\n\r\n## Solidity Style Guide\r\n\r\n_[⌨️ (11:00:10) Solidity Style Guide](https://youtu.be/gyMwXuJrbJQ?t=39610)_\r\n\r\n- [Style Guide](https://docs.soliditylang.org/en/latest/style-guide.html)\r\n- [NatSpec](https://docs.soliditylang.org/en/latest/natspec-format.html)\r\n\r\n## Testing Fund Me\r\n\r\n_[⌨️ (11:08:36) Testing Fund Me](https://youtu.be/gyMwXuJrbJQ?t=40116)_\r\n\r\n- [Unit Testing](https://en.wikipedia.org/wiki/Unit_testing)\r\n- [Hardhat Deploy Fixtures](https://github.com/wighawag/hardhat-deploy#creating-fixtures)\r\n- [ethers.getContract](https://github.com/wighawag/hardhat-deploy-ethers)\r\n- [expect](https://ethereum-waffle.readthedocs.io/en/latest/matchers.html)\r\n- [ethers.utils.parseUnits](https://docs.ethers.io/v5/api/utils/display-logic/#utils-parseUnits)\r\n- [Waffle Chai Matchers](https://ethereum-waffle.readthedocs.io/en/latest/matchers.html)\r\n\r\n## Breakpoints & Debugging\r\n\r\n_[⌨️ (11:30:39) Breakpoints & Debugging](https://youtu.be/gyMwXuJrbJQ?t=41439)_\r\n\r\n- [VSCode Breakpoints](https://code.visualstudio.com/Docs/editor/debugging)\r\n\r\n## Gas III\r\n\r\n_[⌨️ (11:33:40) Gas III](https://youtu.be/gyMwXuJrbJQ?t=41620)_\r\n\r\n- [Transaction Response](https://docs.ethers.io/v5/api/providers/types/#providers-TransactionResponse)\r\n- [Transaction Receipt](https://docs.ethers.io/v5/api/providers/types/#providers-TransactionReceipt)\r\n\r\n## console.log & Debugging\r\n\r\n_[⌨️ (11:36:35) console.log & Debugging](https://youtu.be/gyMwXuJrbJQ?t=41795)_\r\n\r\n- [Hardhat console.log](https://hardhat.org/hardhat-network/reference/#console-log)\r\n\r\n## Testing Fund Me II\r\n\r\n_[⌨️ (11:37:31) Testing Fund Me II](https://youtu.be/gyMwXuJrbJQ?t=41851)_\r\n\r\n## Storage in Solidity\r\n\r\n_[⌨️ (11:44:34) Storage in Solidity](https://youtu.be/gyMwXuJrbJQ?t=42274)_\r\n\r\n- [Storage Layout](https://docs.soliditylang.org/en/latest/internals/layout_in_storage.html)\r\n- [Purpose of the memory keyword](https://stackoverflow.com/questions/33839154/in-ethereum-solidity-what-is-the-purpose-of-the-memory-keyword)\r\n- [getStorageAt](https://docs.ethers.io/v5/api/providers/provider/#Provider-getStorageAt)\r\n\r\n## Gas Optimizations using Storage Knowledge\r\n\r\n_[⌨️ (11:52:38) Gas Optimizations using Storage Knowledge](https://youtu.be/gyMwXuJrbJQ?t=42758)_\r\n\r\n- [Opcodes](https://ethereum.org/en/developers/docs/evm/opcodes/)\r\n- [Opcodes by Gas](https://github.com/crytic/evm-opcodes)\r\n- [Opcodes by Gas](https://evm.codes/)\r\n- Append `s_` to storage variables\r\n- Append `i_` to immutable variables\r\n- Caps lock and underscore constant variables\r\n\r\n## Solidity Chainlink Style Guide\r\n\r\n_[⌨️ (12:05:29) Solidity Chainlink Style Guide](https://youtu.be/gyMwXuJrbJQ?t=43529)_\r\n\r\n- [Chainlink Solidity Style Guide](https://github.com/smartcontractkit/full-blockchain-solidity-course-js/issues/13)\r\n\r\n## Storage Review\r\n\r\n_[⌨️ (12:09:59) Storage Review](https://youtu.be/gyMwXuJrbJQ?t=43799)_\r\n\r\n## Staging Tests\r\n\r\n_[⌨️ (12:11:43) Staging Tests](https://youtu.be/gyMwXuJrbJQ?t=43903)_\r\n\r\n- [Ternary](https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Operators/Conditional_Operator)\r\n\r\n## Running Scripts on a Local Node\r\n\r\n_[⌨️ (12:17:58) Running Scripts on a Local Node](https://youtu.be/gyMwXuJrbJQ?t=44278)_\r\n\r\n## Adding Scripts to your package.json\r\n\r\n_[⌨️ (12:22:00) Adding Scripts to your package.json](https://youtu.be/gyMwXuJrbJQ?t=44520)_\r\n\r\n## Pushing to GitHub\r\n\r\n_[⌨️ (12:25:17) Pushing to GitHub](https://youtu.be/gyMwXuJrbJQ?t=44717)_\r\n\r\n- [Github Quickstart](https://docs.github.com/en/get-started/quickstart)\r\n- [What is Git?](https://www.git-scm.com/book/en/v2/Getting-Started-What-is-Git%3F)\r\n- [The quickstart that we follow in the video](https://docs.github.com/en/get-started/importing-your-projects-to-github/importing-source-code-to-github/adding-locally-hosted-code-to-github#adding-a-local-repository-to-github-using-git)\r\n- [Learn about git and GitHub](https://www.youtube.com/watch?v=RGOj5yH7evk)\r\n\r\n## 🐸🐦 [Tweet Me (add your repo in)!](https://twitter.com/intent/tweet?text=I%20just%20made%20my%20first%20Smart%20Contract%20repo%20using%20@solidity_lang,%20@HardhatHQ,%20@chainlink,%20@AlchemyPlatform,%20and%20more!%0a%0aThanks%20@PatrickAlphaC!!)\r\n\r\n# Lesson 8: HTML / Javascript Fund Me (Full Stack / Front End)\r\n\r\n_[⌨️ (12:32:57) Lesson 8: HTML / Javascript Fund Me (Full Stack / Front End)](https://www.youtube.com/watch?v=gyMwXuJrbJQ&t=45177s)_\r\n\r\n💻 Code: https://github.com/PatrickAlphaC/html-fund-me-fcc\r\n\r\n## Introduction\r\n\r\n## How Websites work with Web3 Wallets\r\n\r\n- [How to Connect your Smart Contracts to Metamask](https://www.youtube.com/watch?v=pdsYCkUWrgQ)\r\n  - 💻 Code from Video: https://github.com/PatrickAlphaC/full-stack-web3-metamask-connectors\r\n  - ✍️ Article from Video: https://betterprogramming.pub/everything-you-need-to-know-about-fullstack-web3-94c0f1b18019?sk=a2764bcbdae98bf05e1052931de77982\r\n\r\n## HTML Setup\r\n\r\n- Live Server: ExtensionID: ritwickdey.LiveServer\r\n\r\n## Connecting HTML to Metamask\r\n\r\n- [Metamask Docs](https://docs.metamask.io/guide/)\r\n\r\n## Javascript in it's own file\r\n\r\n## ES6 vs Nodejs\r\n\r\n- [ES6 vs Nodesjs](https://stackoverflow.com/questions/31354559/using-node-js-require-vs-es6-import-export#31367852)\r\n- [Ethers docs for web browser](https://docs.ethers.io/v5/getting-started/#getting-started--importing--web-browser)\r\n- [module vs text/javascript](https://stackoverflow.com/questions/51418964/script-type-text-javascript-vs-script-type-module)\r\n\r\n## Sending a transaction from a Website\r\n\r\n- [Web3Provider](https://docs.ethers.io/v5/api/providers/other/#Web3Provider)\r\n- [Adding a network to metamask](https://metamask.zendesk.com/hc/en-us/articles/360043227612-How-to-add-a-custom-network-RPC)\r\n\r\n## Resetting an Account in Metamask\r\n\r\n```\r\nMetaMask - RPC Error:\r\n[ethjs-query] while formatting ouputs from RPC '{\"value\":{\"code\":-32603,\"data\":{\"code\":-32000,\"message\":\"Nonce too high. Expected nonce to be 2 but got 4. Note that transactions can't be queued when automining.\"}}}'\r\n```\r\n\r\n## Listening for Events and Completed Transactions\r\n\r\n- [provider.once](https://docs.ethers.io/v5/api/providers/provider/#Provider-once)\r\n- [Anonymous function](https://www.geeksforgeeks.org/javascript-anonymous-functions/)\r\n- [Javascript Promise](https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Promise)\r\n\r\n## Input Forms\r\n\r\n## Reading from the Blockchain\r\n\r\n## Withdraw Function\r\n\r\n## Lesson 8 Recap\r\n\r\n### Optional Links:\r\n\r\n- [Browserify](https://browserify.org/)\r\n- [Watchify](https://www.npmjs.com/package/watchify)\r\n\r\n# Lesson 9: Hardhat Smart Contract Lottery\r\n\r\n_[⌨️ (13:41:02) Lesson 9: Hardhat Smart Contract Lottery](https://www.youtube.com/watch?v=gyMwXuJrbJQ&t=49262s)_\r\n\r\n💻 Code: https://github.com/PatrickAlphaC/hardhat-smartcontract-lottery-fcc\r\n\r\n## Introduction\r\n\r\n## Hardhat Setup - Smart Contract Lottery\r\n\r\n_[⌨️ (13:43:43) Hardhat Setup](https://youtu.be/gyMwXuJrbJQ?t=49423)_\r\n\r\n- Install dependencies:\r\n\r\n```bash\r\nyarn add --dev @nomiclabs/hardhat-ethers@npm:hardhat-deploy-ethers ethers @nomiclabs/hardhat-etherscan @nomiclabs/hardhat-waffle chai ethereum-waffle hardhat hardhat-contract-sizer hardhat-deploy hardhat-gas-reporter prettier prettier-plugin-solidity solhint solidity-coverage dotenv\r\n```\r\n\r\n- Install dependencies (Typescript version):\r\n\r\n```bash\r\nyarn add --dev @nomiclabs/hardhat-ethers@npm:hardhat-deploy-ethers ethers @nomiclabs/hardhat-etherscan @nomiclabs/hardhat-waffle chai ethereum-waffle hardhat hardhat-contract-sizer hardhat-deploy hardhat-gas-reporter prettier prettier-plugin-solidity solhint solidity-coverage dotenv @typechain/ethers-v5 @typechain/hardhat @types/chai @types/node ts-node typechain typescript\r\n```\r\n\r\n## Raffle.sol Setup\r\n\r\n_[⌨️ (13:46:55) Raffle.sol Setup](https://youtu.be/gyMwXuJrbJQ?t=49615)_\r\n\r\n- [Custom Errors in Solidity](https://blog.soliditylang.org/2021/04/21/custom-errors/)\r\n\r\n## Introduction to Events\r\n\r\n_[⌨️ (13:54:02) Introduction to Events](https://youtu.be/gyMwXuJrbJQ?t=50042)_\r\n\r\n- [Events & Logging Video](https://www.youtube.com/watch?v=KDYJC85eS5M)\r\n- [Events & Logging in Hardhat](https://github.com/PatrickAlphaC/hardhat-events-logs)\r\n\r\n## Events in Raffle.sol\r\n\r\n_[⌨️ (14:00:47) Events in Raffle.sol](https://youtu.be/gyMwXuJrbJQ?t=50447)_\r\n\r\n## Introduction to Chainlink VRF\r\n\r\n_[⌨️ (14:02:30) Introduction to Chainlink VRF](https://youtu.be/gyMwXuJrbJQ?t=50550)_\r\n\r\n- [Special Guest Stephen Fluin](https://twitter.com/stephenfluin)\r\n\r\n### Sub-Lesson: Chainlink VRF\r\n\r\n> - [Chainlink VRFv2 Docs](https://docs.chain.link/docs/get-a-random-number/)\r\n> - [Chainlink VRFv2 Walkthrough](https://www.youtube.com/watch?v=rdJ5d8j1RCg)\r\n> - [Chainlink Contracts](https://github.com/smartcontractkit/chainlink/blob/develop/contracts/src/v0.8/VRFConsumerBase.sol)\r\n\r\n## Implementing Chainlink VRF - Introduction\r\n\r\n_[⌨️ (14:09:53) Implementing Chainlink VRF](https://youtu.be/gyMwXuJrbJQ?t=50993)_\r\n\r\n### Hardhat Shorthand\r\n\r\n- [Hardhat Shorthand](https://hardhat.org/guides/shorthand.html)\r\n\r\n## Implementing Chainlink VRF - The Request\r\n\r\n## Implementing Chainlink VRF - The FulFill\r\n\r\n### Modulo\r\n\r\n- [Modulo](https://docs.soliditylang.org/en/latest/types.html?highlight=modulo#modulo)\r\n\r\n## Introduction to Chainlink Keepers\r\n\r\n- [Chainlink Keepers Docs](https://docs.chain.link/docs/chainlink-keepers/introduction/)\r\n- [Chainlink Keepers Walkthrough](https://www.youtube.com/watch?v=-Wkw5JVQGUo)\r\n\r\n## Implementing Chainlink Keepers - checkUpkeep\r\n\r\n### Enums\r\n\r\n- [Enum](https://docs.soliditylang.org/en/latest/structure-of-a-contract.html?highlight=enum#enum-types)\r\n\r\n## Implementing Chainlink Keepers - checkUpkeep continued\r\n\r\n- block.timestamp\r\n\r\n## Implementing Chainlink Keepers - perform","readmeFilename":"README.md"}