mirror of
https://github.com/pezkuwichain/docs.git
synced 2026-04-25 09:37:55 +00:00
docs: add Pezkuwi-SDK documentation
- Technical documentation - SDK guides - Architecture overview - Whitepaper - Contributor guides
This commit is contained in:
@@ -0,0 +1,12 @@
|
||||
flowchart TD
|
||||
dot[pezkuwichain.io] --> devhub[pezkuwi_sdk_docs]
|
||||
|
||||
devhub --> pezkuwi_sdk
|
||||
devhub --> reference_docs
|
||||
devhub --> guides
|
||||
devhub --> external_resources
|
||||
|
||||
pezkuwi_sdk --> substrate
|
||||
pezkuwi_sdk --> frame
|
||||
pezkuwi_sdk --> xcm
|
||||
pezkuwi_sdk --> templates
|
||||
@@ -0,0 +1,5 @@
|
||||
flowchart TD
|
||||
E(Extrinsic) ---> I(Inherent);
|
||||
E --> T(Transaction)
|
||||
T --> ST("Signed (aka. Transaction)")
|
||||
T --> UT(Unsigned)
|
||||
@@ -0,0 +1,3 @@
|
||||
flowchart LR
|
||||
RuntimeCall --"TryInto"--> PalletCall
|
||||
PalletCall --"Into"--> RuntimeCall
|
||||
@@ -0,0 +1,10 @@
|
||||
flowchart LR
|
||||
|
||||
subgraph Pezkuwi[The Pezkuwi Relay Chain]
|
||||
PezkuwiNode[Pezkuwi Node]
|
||||
PezkuwiRuntime[Pezkuwi Runtime]
|
||||
end
|
||||
|
||||
FRAME -.-> PezkuwiRuntime
|
||||
PezkuwiSDK[Pezkuwi SDK Node Libraries] -.-> PezkuwiNode
|
||||
|
||||
@@ -0,0 +1,8 @@
|
||||
flowchart LR
|
||||
subgraph PezkuwiSDKChain[A Pezkuwi SDK-based blockchain]
|
||||
Node
|
||||
Runtime
|
||||
end
|
||||
|
||||
FRAME -.-> Runtime
|
||||
PezkuwiSDK[Pezkuwi SDK Node Libraries] -.-> Node
|
||||
@@ -0,0 +1,11 @@
|
||||
flowchart LR
|
||||
subgraph TeyrChain[A Pezkuwi TeyrChain]
|
||||
TeyrChainNode[TeyrChain Node]
|
||||
TeyrChainRuntime[TeyrChain Runtime]
|
||||
end
|
||||
|
||||
FRAME -.-> TeyrChainRuntime
|
||||
PezkuwiSDK[Pezkuwi SDK Node Libraries] -.-> TeyrChainNode
|
||||
|
||||
CumulusC[Cumulus Node Libraries] -.-> TeyrChainNode
|
||||
CumulusR[Cumulus Runtime Libraries] -.-> TeyrChainRuntime
|
||||
@@ -0,0 +1,16 @@
|
||||
flowchart TB
|
||||
subgraph Node[Node's View Of The State 🙈]
|
||||
direction LR
|
||||
0x1234 --> 0x2345
|
||||
0x3456 --> 0x4567
|
||||
0x5678 --> 0x6789
|
||||
:code --> code[wasm code]
|
||||
end
|
||||
|
||||
subgraph Runtime[Runtime's View Of The State 🙉]
|
||||
direction LR
|
||||
ab[alice's balance] --> abv[known value]
|
||||
bb[bob's balance] --> bbv[known value]
|
||||
cb[charlie's balance] --> cbv[known value]
|
||||
c2[:code] --> c22[wasm code]
|
||||
end
|
||||
@@ -0,0 +1,21 @@
|
||||
flowchart LR
|
||||
%%{init: {'flowchart' : {'curve' : 'linear'}}}%%
|
||||
subgraph BData[Blockchain Database]
|
||||
direction LR
|
||||
BN[Block N] -.-> BN1[Block N+1]
|
||||
end
|
||||
|
||||
subgraph SData[State Database]
|
||||
direction LR
|
||||
SN[State N] -.-> SN1[State N+1] -.-> SN2[State N+2]
|
||||
end
|
||||
|
||||
BN --> STFN[STF]
|
||||
SN --> STFN[STF]
|
||||
STFN[STF] --> SN1
|
||||
|
||||
BN1 --> STFN1[STF]
|
||||
SN1 --> STFN1[STF]
|
||||
STFN1[STF] --> SN2
|
||||
|
||||
|
||||
@@ -0,0 +1,4 @@
|
||||
flowchart LR
|
||||
B[Block] --> STF
|
||||
S[State] --> STF
|
||||
STF --> NS[New State]
|
||||
@@ -0,0 +1,12 @@
|
||||
graph TB
|
||||
subgraph Substrate
|
||||
direction LR
|
||||
subgraph Node
|
||||
end
|
||||
|
||||
subgraph Runtime
|
||||
end
|
||||
|
||||
Node --runtime-api--> Runtime
|
||||
Runtime --host-functions--> Node
|
||||
end
|
||||
@@ -0,0 +1,2 @@
|
||||
flowchart LR
|
||||
T[Using a Template] --> P[Writing Your Own FRAME-Based Pallet] --> C[Custom Node]
|
||||
@@ -0,0 +1,8 @@
|
||||
graph TB
|
||||
subgraph Substrate
|
||||
direction LR
|
||||
subgraph Node
|
||||
end
|
||||
subgraph Runtime
|
||||
end
|
||||
end
|
||||
@@ -0,0 +1,20 @@
|
||||
graph TB
|
||||
subgraph Substrate
|
||||
direction LR
|
||||
subgraph Node
|
||||
Database
|
||||
Networking
|
||||
Consensus
|
||||
end
|
||||
subgraph Runtime
|
||||
subgraph FRAME
|
||||
direction LR
|
||||
Governance
|
||||
Currency
|
||||
Staking
|
||||
Identity
|
||||
end
|
||||
end
|
||||
Node --runtime-api--> Runtime
|
||||
Runtime --host-functions--> Node
|
||||
end
|
||||
Reference in New Issue
Block a user