Build a Hogwarts Sorting Hat dApp to elevate your dApp building skills with a touch of nostalgia. In this one-of-its-kind Metaschool course, you will get to build a Sorting Hat dApp and make it choose one of the four Hogwarts houses for you. Then, you will learn to code the logic in smart contracts, deploy it, and integrate it into a React frontend to interact with it. So get ready to relive your fond childhood memories.
0. Let’s Get Started
1. Build Hogwarts Contract
2. Deploy Smart Contracts
3. Add dApp’s Frontend
4. Wrap Up
Earn NFT Certificate
Show off your course completion with unique NFT certificates.
Upto NaN XP’s
Earn XP points with every course you conquer at Metaschool.
Rated 4.4 by 33 developers
The most intuitive course about this subject!
learned so much about NFTs from this course...It is aawsome!
Why learn Solidity?
Most popular smart contract language
Over 85% developers active in web3 are using Solidity.
Demand of Solidity devs is on its way up
The average salary for a Solidity developer is over $150,000 p/a.
Relatively easy language to learn
Opens up a world of new opportunities
Become a part of the growing Ethereum ecosystem and develop innovative applications.
More coursesView all courses
Build on Move on Sui and Explore its Applications
Sui is a high-performance modern blockchain, which leverages the Move on Sui to deploy secure and efficient smart contracts and dApps. This course is specifically designed to set the base for developers who want to explore the vastness of the Move on Sui programming language, learn about its working, syntax, and features and eventually write the calculator code from scratch to put their learning into practice.
Create NFTs Using Different Token Standards
The NFT boom in 2020 attracted millions to the Web3 space. Its sundry use cases allowed users to experiment, give a voice to their art, earn a steady income, etc. As a result, NFTs today have become an integral part of Web3 startups. This course teaches you to create NFTs using different token standards, understand the difference between them along with what opportunities lie in the NFT zone for you.
Frequently asked questions
There are 3 steps that you need to follow to deploy a Solidity smart contract. First, you need to write the smart contract code in Solidity. Now, you need to compile the smart contract code into bytecode and finally, you need to deploy the bytecode to a blockchain network.
Polygon Mumbai is a testnet. In order to connect to it, you need to have a MetaMask wallet installed. Head over to https://chainlist.org/chain/80001. Connect your wallet, approve the transaction and finally switch network. Then click on “Add to MetaMask” and approve the transaction to switch network.
In the React project you created, you need to add the contract addresses in your App.js or any other file where you need the backend logic of the contract you’ve built. Make sure to add the json files of your smart contract that were generated after you deployed the to your project too.
You can initialize a new Hardhat project using the command of npx hardhat. Then you can select the option to create Javacript, Typescript, or empty project. Then simple run npm install to download all the node modules. Now, you are ready to write your Solidity code in the contracts folder.