Why Should We Learn Solidity? Master Solidity Deploying the Era of Decentralization

OneBlock+
10 min readOct 8, 2022

--

Smart contracts are an indispensable part of blockchain. With a true sense of contracts running on a decentralized network, Solidity takes a very large share of smart contract writing and learning. Solidity is a mandatory subject for getting started with blockchain. Meanwhile, Solidity as the main programming language on Ethereum and most other major blockchain languages. Solidity developers will be able to play in many ecologies and markets. Mastering Solidity will bring developers a bigger stage and more opportunities.

According to relevant data, JavaScript and Solidity ranked first among the most commonly used programming languages (both 27%) among the most commonly used programming languages in 2021. While in the survey of respondents’ favorite programming languages, Solidity ranked second (19.4%), after Python.

Inseparable from the developers’ love for Solidity is the high salary it brings. As of May 2022, the median annual salary of Solidity developers exceeds £80,000, with both junior and senior developers seeing annual salary increases of 6% — 13%.

From the survey data, we can draw a clear conclusion: learning Solidity is a trend that will also bring advantages to career development.

After choosing Solidity, what is the next step in choosing a network that is suitable for Solidity novice developers to deploy and practice smart contracts?

As the EVM smart contract platform on Polkadot, Moonbeam enables developers to deploy existing Solidity smart contracts and Dapp front-ends on Moonbeam with minimal code adjustments. In addition, Moonbeam benefits from the shared security of the Polkadot relay-chain and the connectivity with other Polkadot-related chains, creating a secure and stable development environment and interoperable cross-chain functions for developers.

At present, more than 160 Web3 projects have been built and deployed on Moonbeam. Moonbeam has become an emerging dawn guiding the development of blockchain! Therefore, mastering and practicing Solidity skills on Moonbeam, not only being able to enjoy the huge users and markets brought by cross-chain multi-ecosystem, but also absorbing excellent project information and the latest technological progress from multiple perspectives. It is an important weapon for developers to achieve in-depth development of Web3.

In order to enable more enthusiasm to have a deeper understanding of the development and exploration of Moonbeam, OneBlock and Moonbeam have successfully held two sessions of “Moonbeam Advanced Solidity Development” course. It has attracted the attention of more than 5,000 developers, more than 100 students have mastered Solidity cross-chain skills through systematic course training, graduated as outstanding students, actively participated in various hackathon competitions, and put their projects on the market for testing.

Now, the first session of “Moonbeam Advanced — Easy Start Cross-Chain Solidity” is poised to kick off on October 18, 2022. This course includes 6 professional video lessons, 6 assignments, 5 course assistants provide Q&A and technical guidance to guide students into the practice of Solidity. We will award the title of “Outstanding Graduate” to those who have completed their study courses and assignments conscientiously. If you’re interested in this course, please slide directly to the second half of the article for registration.

Introduction to Course

Course format

6 lessons in total. One updated weekly.

6 homework assignments and class group discussions.

Office hour Q&A Weekly.

The first “Moonbeam Advanced — Easy Start with Cross-Chain Solidity” course will be taught around Moonbeam, Ethereum, and other Ethereum-compatible Solidity development. Through the course, students can master the basic principles and implementation methods of cross-chain transactions, and explore the possibility of creating a decentralized cross-chain world.

Course Syllabus

1. Introductory Lesson

(1)Introduction

(2)Review Moonbeam Concepts, Such as precompile

(3)Introduce how to use testnet, faucet and other development tools

2. Introduction to XCM Basics

(1)XCM Instructions

i. Sovereign account

ii. HRMP Channel

(2)Get xc-assets on Moonbase Alpha

(3)Introduction to Multilocation

(4)Calculate Multiplication, Asset ID and precompiled addresses

3. xTokens Pallet

(1)Overview and Interface Definitions

(2)Using Polkadot Js Apps to Call X-Tokens Pallet

(3)Using xTokens Precompile to Call xTokens pallet

(4)Remix and Smart Contract Cross-chain Transfers

4. The Batch Precompile

(1)Overview of the Batch Precompile

(2)Batching Transactions

(3)Batching Contracts

(4)How to Get CallData

5. VRF (Verifiable Random Functions) Precompile

(1) Overview of VRF Precompile

(2)Moonbeam VRF Architecture

(3)Moonbeam VRF nterface Definition

(4)The Call VRF Precompile Examples

6. Permit Precompile

(1)Overview of Permit EIP-2612

(2)Moonbeam Permit Precompile

(3)Example: xcUNITBridge (3)

(4)Generate secp256k1 signatures

You can gain the following knowledge:

1. Knowing XCM Implementation Principles and Design

2. Using xTokens Precompile and Pallets for Polkadot Native Cross-chain Transfers

3. Using the Batch Precompile Transactions

4. Using VRF Precompile Request the Randomness

5. Using Permit Precompile Execute Gasless Transactions

In addition to the learning of recorded lessons, we have designed the homework covering important knowledge points and practical cases. There are 5 teaching assistants to answer students’ questions, follow up on the learning progress of students, and help students quickly apply what they have learned and quickly master the development process of cross-chain Solidity.

All in all, the course ranges from XCM principle design analysis to cross-chain deployment techniques using a variety of precompiled skills, making it easy to advance Solidity development and further reach the decentralized world.

Internal test participants sharing

A total of 10 developers were recruited for the private beta experience in this course, and OneBlock surveyed the developers who participated in the private beta. In the feedback received, most of the participants expressed their desire to learn more about the Moonbeam platform and Solidity development through the course, and to be able to try to build a top-of-the-line DApp through their own efforts. Out of curiosity about the Moonbeam and interest in Ethereum development, they have a desire to learn deeply, hoping to continuously improve their technical level to adapt to the development of Web3.

The following are some of the insights of the developers participating in the internal test and the teaching assistants in this issue:

@Yiwei Shi

At present, he is mainly engaged in the development of smart contracts and Polkadot Parachain.

Before that, although I had some experience with smart contracts and often used some template contracts on Ethereum, I never realized the limitations of these template contracts themselves, such as the complexity of some interfaces that need to be operated.

The Moonbeam Advanced section abstracts these interfaces, which greatly simplifies the entire business process and, more importantly, opens up some ideas for me. We can use the idea of being closer to the actual business scenario to re-encapsulate the original contract interface. In addition, this advanced course also made an in-depth introduction to some technical fields, such as the principle of random numbers and the basic knowledge of cross-chain and so on. They helped me to understand blockchain technology more deeply, and also made me think more broadly and professionally when building applications.

About how to learn: It is recommended that you have a basic understanding of Solidity and smart contracts, and it is best to write a few contracts before the class, such as ERC-20 contracts and blockchain games. In addition, the class keeps up with the rhythm of the teacher as much as possible, and some course content can be read repeatedly to strengthen understanding.

@Yifu Zhang

He currently works for a blockchain company that does privacy services. The main work is the development of smart contracts and the development of ts/js servers.

Moonbeam Advanced Course recommends everyone to try it. The threshold for advanced courses is not very high, as long as there is a foundation of Solidity smart contracts. In the advanced class, you can learn more skills in the Moonbeam ecosystem and more advanced Polkadot development knowledge. Although the advanced class will be slightly more difficult than the beginner course, everyone will definitely gain a lot by keeping up.

@Yalun Peng

Moonbeam is the most compatible parachain of Ethereum in the Polkadot ecology, and it is also one of the Polkadot head projects. Learning Moonbeam can make it easy for you to have both Ethereum and Polkadot ecosystems!

The advanced course is still the same high quality as the introductory course, the depth and breadth are both well. Henry’s teaching is still so good. But relatively speaking, the difficulty of advanced will be much higher, requiring a lot of reading of docs and various external materials.

Come on! Everybody! Web3 is waiting for you!

@Ping Wang

Zhejiang University of Science and Technology graduate students in blockchain direction.

Yunphant Chain in-service (Alliance Chain Baas development); Yun Miracle (DAPP development contract development, product design); He won Polygon best student project; third prize of Zhejiang University Chain Square Cup (7/40).

In the advanced course, you will learn more about cross-chain related knowledge and the underlying blockchain foundation. Moonbeam course is also very attentive. If you want to learn, please seize the time.

@Ao Wang

Substrate Evangelist / Blockchain development enthusiasts

Henry introduced xTokens Pallet and pre-compile in detail, and through the advanced course I also learned about the newest technology in Polkadot, the Cross Consensus Message Format (XCM) protocol. Although the XCM message implementation is still in its early stages, we were able to learn the two most common use cases in the Moonbeam course: asset transfer and remote transfer. We hope that interested developers will learn the latest Polkadot & Moonbeam technologies.

Course Registration Link

“Moonbeam Advanced — Easy Start Cross-Chain Solidity” course registration is open now!

If you want to seize the new opportunities in Web3, master the Solidity development skills with the advantages of Moonbeam smart contract platform, easily achieve cross-chain deployment, and build your own DApp. Please click the registration link to join us!

You only need to pay 1 cent to enroll in the course.

After the payment is completed, follow OneBlock official accounts and add WeChat oneblockEmma. And then, please reply with the name of the registered course. Emma will pass your friend application within 24 hours and invite you to join the Moonbeam technology enthusiast community and notify the official learning plan.

If you don’t learn now, you’ll be sad in the bull market. Be one step ahead of the curve in Web3!

Registration Link: https://jhp.xet.tech/s/10TZgI

Course Benefits

Participants in the course will receive Moonbeam mystery boxes, creative peripherals, and Moonbeam’s official NFT Graduation Medal.

Additional benefits for excellent students:

  1. Receive an official Moonbeam Certificate of Excellence and a chance to win the Polkadot mystery boxes.
  2. Moonbeam Ambassador Application Fast Track
  3. Moonbeam Chinese Community will interview excellent students, which can be posted on Moonbeam Chinese social media.

The following are the graduation certificates of previous introductory courses, excellent student certificates, Moonbeam’s official and exclusive customized NFT badges, advanced class certificates, and NFTs.

Moonbeam Ambassador

Students who enrolled in the first phase of “Moonbeam Advanced — Starting Cross-Chain Solidity” with ease and graduated as [Outstanding Student] (complete the course + submit all the assignments) will receive an official Moonbeam fast-track pass on the Moonbeam Ambassador application!

If you’re interested in and contribute Polkadot ecosystem, then welcome to join Moonbeam ambassador program and create a multi-chain future together.

Moonbeam Technology Ambassadors, your tasks include:

  • Create content by writing blogs or contributing to code and tutorials;
  • Answer technical questions in the Moonbeam community;
  • Support for events such as the Moonbeam Hackathon;
  • Work as a teaching assistant for introductory courses.

Apprentice Ambassador completes two tasks within the first month. They will advance to a full Ambassador status.

Moonbeam Ambassador Benefits:

  • Web3 KOL essential media exposure and resources ;
  • As a host for AMA / Interviewed founders of overseas projects / Assisted in the marketing of Moonbeam community;
  • Participate in non-public events that showcase new concepts within the ecosystem (e.g., seminars on community governance, etc.);
  • Represent Moonbeam at major international Web3 conferences (e.g. Polkadot Asia Launch Party);
  • Invited to attend various Web3 brand events.

Moonbeam Ambassador Application Bonus Rules:

  • Students who have completed the Moonbeam Development Program and graduated (submitted 4 or more assignments) will receive extra points for applying for Moonbeam Ambassadors;
  • Complete all assignments to pass the Moonbeam Ambassador application quickly;
  • Tip: You can introduce graduation from Moonbeam Course in the video, we will give priority to processing;
  • Videos can be recorded in Chinese and uploaded to bilibili or YouTube.

For more information, please refer to the following article:

Moonbeam Ambassador Details and Benefits

Moonbeam Ambassador Application Portal

About OneBlock+

OneBlock+ is the first and the largest blockchain developer community in China. At OneBlock+, we provide full support for developers with their substrate studies and further set off their career paths. We host Polkadot Hackathons every season to attract top-notch developers to build and innovate for the prosperity of the ecosystem. As a greater China technology resource integrator, OneBlock+ also partners with developers, communities, business elites, and key media who have business insights and experiences in the blockchain industry to provide educational events, such as technical courses, webinars, AMAs, and offline events for the industry. Want to shape the crypto world together? Come and join us today!

Twitter / Telegram / Discord / YouTube

--

--

OneBlock+
OneBlock+

Written by OneBlock+

Cultivate substrate developer community and redefine the future of open web ecosystem together.