You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
**Foundry is a blazing fast, portable and modular toolkit for Ethereum application development written in Rust.**
3
+
A modular system for allowing smart contract users the ability to authorize third parties to take specific, well-defined, onchain actions via their account.
4
4
5
-
Foundry consists of:
5
+
### How it works (high level)
6
6
7
-
-**Forge**: Ethereum testing framework (like Truffle, Hardhat and DappTools).
8
-
-**Cast**: Swiss army knife for interacting with EVM smart contracts, sending transactions and getting chain data.
9
-
-**Anvil**: Local Ethereum node, akin to Ganache, Hardhat Network.
10
-
-**Chisel**: Fast, utilitarian, and verbose solidity REPL.
7
+
-**`src/PolicyManager.sol`**: installs policy instances authorized by the account and executes policy-prepared calldata on the account.
8
+
-**`src/PolicyTypes.sol`**: shared type definitions (notably `PolicyTypes.Install`) used by the manager and policies.
9
+
-**`src/policies/`**: example policies (each policy defines its own authorization semantics via `authorize(...)` and constructs wallet calldata via `onExecute(...)`).
11
10
12
-
##Documentation
11
+
### Setup
13
12
14
-
https://book.getfoundry.sh/
15
-
16
-
## Usage
17
-
18
-
### Getting started (submodules)
19
-
20
-
This repo uses git submodules for Foundry dependencies (in `lib/`).
13
+
This repo uses git submodules for dependencies (in `lib/`).
0 commit comments