Skip to content

Commit c60dff1

Browse files
feat(docs): add fsa diagrams
1 parent 63247d3 commit c60dff1

File tree

6 files changed

+18
-0
lines changed

6 files changed

+18
-0
lines changed

docs/smart-accounts/1-overview.mdx

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -35,6 +35,14 @@ The workflow for Flare Smart Accounts is comprised of the following steps.
3535
It then calls the `executeTransaction` function on the `MasterAccountController` contract, with the `Payment` proof and the XRPL address that made the transaction.
3636
3. The XRPL user's smart account performs the actions given in the instructions.
3737

38+
<ThemedImage
39+
alt="Flare smart accounts workflow"
40+
sources={{
41+
light: useBaseUrl("img/docs/smart-accounts/fsa-workflow-light.png"),
42+
dark: useBaseUrl("img/docs/smart-accounts/fsa-workflow-dark.png"),
43+
}}
44+
/>
45+
3846
## 1. Instructions on XRPL
3947

4048
The Flare Smart Accounts allow XRPL users to perform actions on the Flare chain through instructions on the XRPL.

docs/smart-accounts/3-custom-instruction.mdx

Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -132,3 +132,13 @@ To obtain the instruction that can be sent as the memo of an XRPL Payment transa
132132
First, we remove the initial two bytes from this hash.
133133
Next, we prepend the hexadecimal value `ff` followed by the `walletId`.
134134
This is the encoded custom instruction.
135+
136+
<ThemedImage
137+
alt="Flare smart accounts custom instruction workflow"
138+
sources={{
139+
light: useBaseUrl(
140+
"img/docs/smart-accounts/fsa-developer-workflow-light.png",
141+
),
142+
dark: useBaseUrl("img/docs/smart-accounts/fsa-developer-workflow-dark.png"),
143+
}}
144+
/>
206 KB
Loading
209 KB
Loading
173 KB
Loading
174 KB
Loading

0 commit comments

Comments
 (0)