Substrate Saturday Recap

OneBlock+
4 min readSep 6, 2021

Co-organized by OneBlock+ and Parity, Substrate Saturday online broadcast series has officially launched in August. It aims to help developers in China to further understand the underlying substrate logic and technicals, and how to further involve and contribute to the ecosystem. The first two episodes were successfully concluded in the past month and here are some highlights.

Ep1: Polkadot Essentials: Cross-Chain Mechanism and Development

Ep1 Polkadot Essentials: Cross-Chain Mechanism and Development
Ep1. Polkadot Essentials: Cross-Chain Mechanism and Development

In the first episode, it was our great honor to have Phala, Darwinina, Litentry and Acala developers on the show, who is also our official partners, to share their unique insights on cross-chain mechanism and development. They each provided an in-depth overview and analysis of their topics. Below are the details of their speeches:

Phala co-founder Yin Hang explained XCMP mechanism from onchain to offchain. He addressed the principles of cross-chain messaging and shared security from the perspective of the design of parachain scheme, and how to expand security to offline through light clients. His speech subjects are as follows:

  • Cross-chain mechanism: PoV Block、Availability Store
  • Message and networking: UMP, DMP, and HRMP channel
  • MultiLocation and token transferring patterns
  • XCMP in off-chain scenarios

Darwinia CTO Denny Wang analyzed Substrate to Substrate bridge from bottom-up including onchain light client layer, messaging channel layer and mapping token layer. He also shed light on technical interactions and coding implementation. He also shared some real development scenarios. The following items were covered in his talk:

  • On-chain-light-client bridge: ChainRelay
  • Grandpa Finality LightClient: Light client and state commitment
  • Message Channel Layer: ingress and egress channels, message verification and delivery proof
  • Mapping Token Layer: Message dispatch, remote chain call and cross-chain mapping token protocol

Litentry Developer John Wu’s talk was mainly focused on the definition and mechanism of XCMP and how to construct cross-chain messages. Here is the list of this talk:

  • XCMP core data structure
  • how to sort and use the cross-chain message
  • dive into the cross-chain token transferring message
  • how to customize your cross-chain message

Last but not least, Acala & Laminar developer Shaun Wang’s talk was taken in two parts:

  1. Cross-chain transferring with xtokens pallet: which he explained the underlying model of cross-chain transfer. He took a deep dive on how to construct a correct XCM, steps and precautions to implement pallets, and the corresponding analysis of source code implementation.
  2. 2. Multi-chain interactive integration testing with xcm-simulator: In this section, he described how to build a simulated cross-chain testnet, and how to do a unit test with its API. In addition, how to do a runtime integration test using xcm- emulator.

Ep2: Polkadot Cross-Chain Case Study: Cumulus-Ping Execution & Code Logic Analysis

Ep2. Polkadot Cross-Chain Case Study

In the second episode, we were delighted to have Charles Chen, senior rust developer from OAK Network who was also the winner of our summer Polkadot Hackathon. Charles introduced Cumulus-ping execution and its code logic analysis which include the following topics:

  • Introduction to cumulus
  • How to add required dependencies in the substrate-parachain-template (using cumulus-ping as an example)
  • Build a cross-chain debugging environment: rococo + 2 cumulus parallel chains
  • Open XCM channel and call ping.start to test cross-chain method
  • Ping pallet logic analysis

For each episode of Substrate Saturday, we carefully select a topic that is hot or educational at the time, and we will invite the corresponding experts in the field to help us better understand the topic. It is our pleasure to have these experts on our show and give their insightful speeches. After each episode, we will do a recap on each talk to help everyone have a better understanding of each subject. We hope you enjoyed this series and continue to support us. The future dates and topics will be announced on Twitter. Look forward to the next episode of Substrate Saturday.

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 setoff 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 partner with developers, communities, business elites, and key media who have business insights and experiences in the blockchain industry to provide business like technology courses, news distributions, AMA, and offline events for the industry. Want to shape the crypto world together? Come and join us today!

Twitter

--

--

OneBlock+

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