crystall ballmetaschoolWe’re Hiring 🎉
Solidity Javascript

Build Hogwarts Sorting Hat dApp on Polygon

Learn to code the Hogwarts Sorting Hat dApp on Polygon using Solidity. Enroll now to see the magic happen!

847+ enrollments to this courseLast updated 10/2023

Description

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.

Course Content

0. Let’s Get Started

Enroll for free

1. Build Hogwarts Contract

2. Deploy Smart Contracts

3. Add dApp’s Frontend

4. Wrap Up

Rewards

Earn NFT Certificate

Show off your course completion with unique NFT certificates.

Upto 5900 XP’s

Earn XP points with every course you conquer at Metaschool.

Rated 5.0 by 4 developers

Why learn Solidity?

cover

Most popular smart contract language

Over 85% developers active in web3 are using Solidity.

cover

Demand of Solidity devs is on its way up

The average salary for a Solidity developer is over $150,000 p/a.

cover

Relatively easy language to learn

Solidity is based on C++ and JavaScript, so it is an easy transition.

cover

Opens up a world of new opportunities

Become a part of the growing Ethereum ecosystem and develop innovative applications.

More courses

View all courses

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.

cover
  • Advanced
  • rating 4.4 (34)
  • 2x 5900 XPs
  • nft Earn NFT
Follow us on X(formerly Twitter)

Follow us for Metaschool job updates and cool tips! 🌟 #Jobs #TipsAndTricks

 @0xmetaschool @0xmetaschool