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.**
2
+
# Lending & Borrowing Protocol
4
3
5
-
Foundry consists of:
4
+
ZToken Protocol is a modular lending and borrowing system built with Foundry. It supports ERC20 and native-asset markets, interest rate modeling, and collateralized lending mechanics.
6
5
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.
6
+
## Overview
11
7
12
-
## Documentation
8
+
Core contracts live in `src/` and are composed around a base ZToken implementation with ERC20 and native-asset market variants plus collateral and liquidation management.
13
9
14
-
https://book.getfoundry.sh/
10
+
## Contracts
15
11
16
-
## Usage
12
+
-`ZToken` – Base interest-bearing token
13
+
-`ZErc20` / `ZNative` – ERC20 and native-asset market implementations
14
+
-`CollateralManager` – Collateral deposits, limits, and liquidation flows
0 commit comments