Polkadot Non-Problems protocol berg.pptx

dot55audits 53 views 15 slides Jun 11, 2024
Slide 1
Slide 1 of 15
Slide 1
1
Slide 2
2
Slide 3
3
Slide 4
4
Slide 5
5
Slide 6
6
Slide 7
7
Slide 8
8
Slide 9
9
Slide 10
10
Slide 11
11
Slide 12
12
Slide 13
13
Slide 14
14
Slide 15
15

About This Presentation

Polkadot Non-Problems protocol berg.pptx


Slide Content

Protocolberg 2023

Non-Problems

Gavin Wood

@gavofyork
https://hackmd.io/@polkadot/Protocolberg2023np

Polkadot

Substrate
Frame
%

Frame
Account Abstraction @

An “Account” generally means “Caller identifier”;
confers certain privileges within some logic.

Account (Signed)

isatypeof

System Origin

isatypeof

Runtime Origin

isatypeof

XCM Origin

Other Origin Examples

Root

Treasury

CollectiveMembers (Amount, Count)
Parachain( Index)

Person(Alias)

Xcm(Location)

Other Origin Examples

Root

Treasury
CollectiveMembers(Amount, Count)
Parachain( Index)

Person(Alias)

Xcm(Location)

Non-Problems
Transaction Batching

In Frame, just use the Ut ility.batch call.

Non-Problems
Account Delegation

In Frame, just use the Utility.proxy call.

Non-Problems

Multisig / Threshold sig

In Frame, just use the Utility.multisig call.

Non-Problems
Account recovery on lost Secret
Key

In Frame, just use the Recovery.as recovered call.

Non-Problems

Exotic Signatures

In Frame at the level of a chain, we just implement
verify for any crypto we wish to support.

(Currently this includes Schnorr/Ristretto 25519,
Ed25519 and ECDSA/SECP256k1.)

Non-Problems

Paying fees in a non-native token

In Frame, paying fees is not a first-class citizen; it’s a
SignedExtension. So paying fees in multiple tokens
(either with a multiasset treasury or through an
exchange) is a trival reimplementation.

Non-Problems
Paying someone else’s fee

In Frame, paying someone else’s fees is as trivial as
the Utility.proxy call.

(The main reason this is not yet prevalent on Polkadot
is the transmission of the intention, but a
decentralised and secure system for this is expected
soon.)

Non-Problems

Accounts always require a
balance for gas fees

Frame has the ability to return Pays: : No from any
calls, meaning the system picks up the tab. Frame can
also support not even requiring the sender account to

exist prior with an appropriate SignedExtension.

“Some rules can be bent; others broken.”