Moonbeam Dex, Custom RPCs, and Runtime APIs | Substrate Seminar | Archives VIDEO
This week Purestake's Derek demonstrates a decentralized exchange PoC called moonbeam. Then we look at custom RPC archetecture and examples.
0:00 Moonbeam Decentralized Exchange: motivation
1:41 Moonbeam demo
20:00 Moonbeam code walkthrough
32:32 Overview of RPC architecture in context of Substrate node
38:17 Runtime Upgrades and RPC Compatability
40:10 Demo and walkthrough of a toy custom RPC
52:49 Demo of RPC that calls into runtime
55:37 Code walkthrough RPC that call into runtime
1:09:43 Code Walkthrough of the runtime API itself
1:16:28 Experiment: What if the RPC Call mutates storage?
1:18:12 Polkadot-js API and Custom RPCs
1:22:43 Question: Can we add RPC calls to Kusama?
1:25:43 Wrap-up
These links were shared during the session.
Node template: https://github.com/substrate-developer-hub/substrate-node-template
Frontend Template: https://github.com/substrate-developer-hub/substrate-front-end-template/
Moonbeam node: https://github.com/PureStake/moonbeam
Moonbeam frontend: https://github.com/PureStake/moonbeam-ui
Some good examples and explanation about the price change: https://ethresear.ch/t/improving-front-running-resistance-of-x-y-k-market-makers/1281
Other Videos By Parity Tech 2020-02-05 Sub0.1: Laminar - Ruitao Su, co-founder & CEO of Laminar 2020-02-04 Sub0.1: Fees and measures on Substrate - Joe Petrowski, research analyst at Parity Technologies 2020-02-04 Sub0.1: Idea Lab with Rob Habermeier, Bjorn Wagner, and Fredrik Harryson of Parity Technologies 2020-02-04 Sub0.1: Plasm - Sota Watanabe, founder of Stake Technologies 2020-01-30 6 ways to launch a token | Substrate Seminar 2020-01-29 Intro to Substrate codebase and FRAME pallet deep-dive with Joe Petrowski and Shawn Tabrizi 2020-01-28 Built with Substrate: Edgeware, Interview with Drew Stone 2020-01-25 Polkalert API Explorer and Wasm Smart Contracts | Substrate Seminar | Archives 2020-01-24 Sub0 Substrate Developer Conference 2020-01-17 Sub0.1: Storage on Substrate - Shawn Tabrizi, Developer experience at Parity 2020-01-16 Moonbeam Dex, Custom RPCs, and Runtime APIs | Substrate Seminar | Archives 2020-01-16 Sub0.1: Behold, the Future Is Upon Us - Benjamin Kampmann - Core developer @ Parity 2020-01-15 Sub0.1: How to become a parachain on Polkadot - Shawn Tabrizi, Developer experience @ Parity 2020-01-14 Sub0.1: KILT. Why the heck did we choose Substrate? - Maud Nalpas 2020-01-14 Sub0.1: ink! Smart Contracts on Substrate - Robin Freyler, core dev Parity 2020-01-13 Sub0.1: Cumulus - Robert Habermeier, co-founder of Polkadot 2020-01-10 Sub0.1: Wasm and Substrate - Sergei Shulepov, Core dev @ Parity 2020-01-09 Sub0.1: Encointer and SubstraTEE - Alain Brenzikofer, Supercomputing Systems 2020-01-09 Sub0.1: AMA with Gavin Wood, founder of Polkadot 2019-12-18 Sub0.1: Substrate Ecosystem Overview - Fredrik Harryson, CTO Parity Technologies 2019-12-17 Sub0.1: Matej Nemcěk: vue-polkadot.js.org
Tags: Blockchain
Substrate
Runtime API
jsonrpc
Decentralized Exchange
Rust