New Tracks and Awards from Sponsors | Polkadot Hackathon 2022

OneBlock+
5 min readMay 20, 2022

--

The 2022 Polkadot Hackathon is on, co-organized by Parity and OneBlock+ community, and sponsored by SubQuery & Gear, Moonbeam and Phala Network. Creative developers are encouraged to participate in the hackathon and create more innovative products and become a real member of the Polkadot ecosystem!

The total prize of the hackathon reached 4,900 DOTs. There are also sponsor prizes from SubQuery&Gear, Moonbeam and Phala Network. Participants can challenge both the main track and the sponsor track with the same project to win multiple prizes!

The hackathon encourages new and creative projects and ideas, with tracks including Building Parallel + Independent Chains, Smart Contracts (and related), Blockchain Tools, Metaverse, NFT, Cross-Chain, Bridge, Layer2, Layer0, to explore the potential of blockchain DApps and inject technological power and new vitality into the current social development and digital transformation.

The sponsors of the hackathon also provide challenging sponsor tracks and rewards according to the theme of the hackathon and their respective ecosystem development needs, with a goal to further stimulate the innovation of the participants and develop more creative and application-worthy projects.

1、Subquery&Gear

About Rewards:4000 USDT

Background

WebAssembly (Wasm) is used in Polkadot and Substrate as the compilation target for the runtime, but it’s also a new smart contract platform built as an alternative to the Ethereum Virtual Machine (EVM). It’s written in C, C++, or Rust and provides substantial improvements in execution speed, and the ability to use other languages than Solidity.

Goal

SubQuery has a goal of providing support for all execution environments in Substrate/Polkadot, including on chain data, smart contracts in EVM, and smart contracts in WebAssembly (Wasm). This will allow all application developers to leverage the same excellent infrastructure tools across the ecosystem to build the next generation of applications.

You will create a new instance of a data processor similar to the existing Substrate Frontier EVM processor. It must connect to to Gear Wasm contract pallet (and ideally also work on other Wasm contracts pallets) and process the messages from the Wasm execution in a similar way to how messages from the Substrate Frontier EVM processor are processed. You should then be able to use these in a handlers just like how a traditional SubQuery project works

A working project manifest might look like the following:

dataSources:
- kind: substrate/Wasm
startBlock: 1
processor:
file: "./node_modules/@subql/contract-processors/dist/substrateWasm.js"options:
# Any options relating to the smart contract we are executing
mapping:
file: "./dist/index.js"handlers:
- handler: handleWasmEvent
kind: substrate/SubstrateWasmEvent
filter:
# Any filters that make sense
- handler: handleWasmMessage
kind: substrate/SubstrateWasmMessage
filter:
# Any filters that make sense

Useful links:

2、Moonbeam

About Rewards:2000 USDT

Challenges:

Develop a DApp using a Moonbeam precompile that allows applications or Solidity smart contracts to interact with Substrate functions through a Solidity interface.

Precompiles, a precompiled piece of code or smart contract, are originally used by Ethereum, for commonly used encryption and hashing algorithms, such as SHA256, RIPEMD56, Keccak256, etc.

Currently, Moonbeam supports a number of precompiles, including Parachain Staking, Pallet Democracy, xTokens, XCM transactor, Author Mapping, etc. Through these precompiles, developers can easily create applications that interact with Substrate pallet functions, and create DApps such as:

  • a staking DAO
  • XC-20 asset dashboard
  • XC-20 wallet
  • On-chain governance and voting DApp
  • a collator candidate DAO
  • and more

Read more about Moonbeam precompiles & XC-20:

Complete list of Moonbeam Precompiles: https://github.com/PureStake/moonbeam/tree/master/precompiles

Precompiled Developer Documentation:

https://docs.moonbeam.network/cn/builders/build/canonical-contracts/precompiles/

Moonbeam Development Introductory Course — Developing a Delegation DAO with Precompiles (English):

https://academy.moonbeam.network/courses/moonbuilders-academy/lectures/39337407

Moonbeam Development Introductory Course — Developing a Delegation DAO with Precompiles (Chinese):

https://academy.china.moonbeam.network/courses/moonbeam-v2-0/lectures/39622030

Other Rewards:

It’s a brilliant start to get rewards from Hackathon. However, we’ve prepared more surprise boxes for your ongoing development in the blockchain industry.

A fast track pass for applying to the Moonbeam Foundation Grants Program

The Moonbeam Foundation is dedicated to promoting the development, growth, and adoption of Moonbeam and its ecosystem. Projects that add value to the Moonbeam ecosystem are eligible for funding opportunities:

  • Smart Contract Security Audit Resources;
  • In-depth technical support of multi-chain development starts from the Moonbeam developer infrastructure;
  • Sustainable funded supports;
  • Acquire remarkable community powers and co-marketing exposure;
  • Composability and compliance advisory;
  • Ecosystem Funds resources;
  • Incubation programs operating by top-tier capitals;
  • Moonbeam Global ambassadors (KOLs, Communities, media, investors, etc.);

and more!

3、Phala Network

About Rewards:2000 USDT

Details:

In this bounty, you will build a fully functional DApp with our Fat Contract on Phala Confidential Cloud.

A qualified DApp should be useful to solve some real-world problems or bring fun to people. It should also utilize the unique features of Phala (privacy-preserving, CPU extensive, or with HTTP requests)

While we really have some ideas for reference:

  • One important feature of Fat Contract is its low latency and the scale underlying computing power, making it a good replacement for Metaverse/game backend and other compute-intensive tasks which now can only be executed on centralized cloud services;
  • Another feature is the HTTP request ability. Compared with existing Oracle which can only introduce Web2 data to Web3 world, Fat Contract is able to affect the Web2 with its HTTP APIs. This facilitates applications like decentralized IFTTT that connect multiple Web2 and Web3 services.

Also, you can refer to the Advanced Submissions (https://github.com/Phala-Network/Encode-Hackathon-2021/issues/21) in our previous hackathon.

Suggested Ideas include:

  • File encryption middleware (for NFT assets on decentralized storage or HTTP servers, etc)
  • Privacy enhanced Defi
  • Social media bot: twitter-like feed, forum, blog, IM chat
  • Games
  • Website backend

If your idea requires features that Fat Contract does not yet provide, try contacting us on Discord (https://discord.com/invite/myBmQu5) to see how it can be improved.

--

--

OneBlock+

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