From 4343db35c96566aa36ed43ab67aad9694efbafe9 Mon Sep 17 00:00:00 2001 From: Jac0xb Date: Wed, 8 May 2024 10:33:59 -0400 Subject: [PATCH] Add wallet guard usecases --- docs/src/components/products/lighthouse/index.js | 14 ++++++++++++-- .../wallet-guard/preventing-common-attacks.md | 7 +++++++ docs/src/pages/wallet-guard/simulation-analysis.md | 11 +++++++++++ 3 files changed, 30 insertions(+), 2 deletions(-) create mode 100644 docs/src/pages/wallet-guard/preventing-common-attacks.md create mode 100644 docs/src/pages/wallet-guard/simulation-analysis.md diff --git a/docs/src/components/products/lighthouse/index.js b/docs/src/components/products/lighthouse/index.js index 23e149c..54e7d8b 100644 --- a/docs/src/components/products/lighthouse/index.js +++ b/docs/src/components/products/lighthouse/index.js @@ -66,9 +66,19 @@ export const lighthouse = { }, { title: 'Memory', + links: [{ title: 'Memory Write', href: '/memory/write' }], + }, + { + title: 'Use Cases - Wallet Guard', links: [ - { title: 'Memory Write', href: '/memory/write' }, - // { title: 'Memory Close', href: '/memory/close' }, + { + title: 'Simulation Analysis', + href: '/wallet-guard/simulation-analysis', + }, + { + title: 'Preventing Common Attacks', + href: '/wallet-guard/preventing-common-attacks', + }, ], }, ], diff --git a/docs/src/pages/wallet-guard/preventing-common-attacks.md b/docs/src/pages/wallet-guard/preventing-common-attacks.md new file mode 100644 index 0000000..0705055 --- /dev/null +++ b/docs/src/pages/wallet-guard/preventing-common-attacks.md @@ -0,0 +1,7 @@ +--- +title: Preventing Common Attacks +metaTitle: Lighthouse - Preventing Common Attacks +description: Preventing Common Wallet Attacks with Lighthouse. +--- + +## Summary diff --git a/docs/src/pages/wallet-guard/simulation-analysis.md b/docs/src/pages/wallet-guard/simulation-analysis.md new file mode 100644 index 0000000..9c6c65a --- /dev/null +++ b/docs/src/pages/wallet-guard/simulation-analysis.md @@ -0,0 +1,11 @@ +--- +title: Simulation Analysis +metaTitle: Lighthouse - Simulation Analysis +description: Constructing lighthouse assertions via simulation analysis. +--- + +## Summary + +### Basic Strategy + +- Simulation the base transaction.