Polkalert API Explorer and Wasm Smart Contracts | Substrate Seminar | Archives

Channel:
Subscribers:
5,190
Published on ● Video Link: https://www.youtube.com/watch?v=b3HIXufMHnc



Duration: 1:35:38
312 views
9


This week we explore Parity's Contracts pallet for running wasm smart contracts. But first we see a demo of Polkalert's API Explorer for Substrate-based blockchain

00:24 API Explorer - Motivation and Demo
10:05 API Explorer - Design Overview
15:11 Shoutout to Polkabot
18:25 Questions about contracts
21:40 Architecture Overview of Contracts stack
27:24 Contracts Pallet Code Overview
29:55 Storage Rent Concepts
34:34 Contracts Pallet's `Call` function
37:34 Setup for today's Demo
42:45 Contract Metadata Example
46:47 Code Overview - Calling a contract from the runtime
49:45 Code Overview - Reading contract storage from the runtime
51:33 Question: Runtime calling contract VS contract calling runtime
1:00:13 Code Overview - Reading runtime storage from a contract
1:05:47 Returning values from contract methods
1:09:03 Starting the Demo
1:21:03 Demo Contract is (accidentally) tombstoned
1:28:19 Conceptual discussion about restoring tombstoned contracts


Links from today's show:

API Explorer: https://apiexplorer.polkalert.com/
Cargo Contract https://github.com/paritytech/cargo-contract
Ricardo's Demo Code https://github.com/riusricardo/substrate-runtime-contract-sample
Polkadot-js API derive doc: https://polkadot.js.org/api/start/api.rpc.html#detour-into-derives




Other Videos By Parity Tech


2020-02-05Sub0.1: Radicle - Thomas Scholtes, software engineer at Monadic
2020-02-05Sub0.1: Substrate Builders Program - Fabian Gompf, VP of business development at Parity Technologies
2020-02-05Sub0.1: Web3 Foundation (W3F) Grants & Hackusama
2020-02-05Sub0.1: Laminar - Ruitao Su, co-founder & CEO of Laminar
2020-02-04Sub0.1: Fees and measures on Substrate - Joe Petrowski, research analyst at Parity Technologies
2020-02-04Sub0.1: Idea Lab with Rob Habermeier, Bjorn Wagner, and Fredrik Harryson of Parity Technologies
2020-02-04Sub0.1: Plasm - Sota Watanabe, founder of Stake Technologies
2020-01-306 ways to launch a token | Substrate Seminar
2020-01-29Intro to Substrate codebase and FRAME pallet deep-dive with Joe Petrowski and Shawn Tabrizi
2020-01-28Built with Substrate: Edgeware, Interview with Drew Stone
2020-01-25Polkalert API Explorer and Wasm Smart Contracts | Substrate Seminar | Archives
2020-01-24Sub0 Substrate Developer Conference
2020-01-17Sub0.1: Storage on Substrate - Shawn Tabrizi, Developer experience at Parity
2020-01-16Moonbeam Dex, Custom RPCs, and Runtime APIs | Substrate Seminar | Archives
2020-01-16Sub0.1: Behold, the Future Is Upon Us - Benjamin Kampmann - Core developer @ Parity
2020-01-15Sub0.1: How to become a parachain on Polkadot - Shawn Tabrizi, Developer experience @ Parity
2020-01-14Sub0.1: KILT. Why the heck did we choose Substrate? - Maud Nalpas
2020-01-14Sub0.1: ink! Smart Contracts on Substrate - Robin Freyler, core dev Parity
2020-01-13Sub0.1: Cumulus - Robert Habermeier, co-founder of Polkadot
2020-01-10Sub0.1: Wasm and Substrate - Sergei Shulepov, Core dev @ Parity
2020-01-09Sub0.1: Encointer and SubstraTEE - Alain Brenzikofer, Supercomputing Systems



Tags:
Parity
Blockchain
Substrate
Wasm
Smart Contracts
Rust