sub0 Asia 2024 - Michalis Fragkiadakis (Web3 Foundation)
summary
Shows concrete scripts using py-substrate-interface (Python) and the polkadot-js api (JavaScript). Python example reads a file of addresses, sends existential deposits then BILD transfers (Kusama Asset Hub asset IDs 2–3), composes a utility.batch of transfer_keep_alive calls, signs and submits extrinsics and checks hashes/events. JavaScript example scans bags to pick the top 22,500 nominators, issues permissionless put_in_front_of extrinsics to reorder accounts, estimates fees with paymentInfo, runs daily before elections, and reduces costs from ~11 DOT first run to ~1–3 DOT/day after optimizations.
AI-written summary · about
chapters (5)
- 0:00Substrate interaction tools
- 1:24Substrate automation library
- 7:13JavaScript library use cases
- 17:57Staking optimization script
- 20:07Q&A
related talks
27mAn Introduction to Polkadot and Parachains
30mBuilding Polkadot Ready Blockchains with
01h 05mWeb3 Citizenship
39mPolkadot App: Under the Hood
23mMoonbeam: Boostrapping an Interoperable Ecosystem on Polkadot
19mfor Smart Cities
48mHow Any Blockchain Use Case Can Be Built With Polkadot
32mPolkadot Deep Dive: The Blockspace Ecosystem for Boundless Innovation
