Skip to content

KurangaRidwan/audit

Repository files navigation

Logo

Aave's V3 Protocol on Aptos

This is the official Aptos version of the Aave V3 Protocol.

CI Coverage License

📚 Documentation   🐛 Report Bug   ✨ Request Feature


├── aave-acl                // Access control list Package
├── aave-config             // Configurator Package
├── aave-data               // Data Configurations
├── aave-large-packages     // Large Packages Package
├── aave-math               // Math library Package
├── aave-mock-underlyings   // Mock Underlyings Package
├── aave-oracle             // Oracle Package
├── aave-scripts            // Deployment Scripts
├── aave-core               // Core Package

📊 Inter-package Dependency Graph

flowchart TD

  %% Level 1
  aave-config
  chainlink-data-feeds
  aave-large-packages

  %% Level 2
  aave-acl --> aave-config
  aave-math --> aave-config

  %% Level 3
  aave-oracle --> aave-config
  aave-oracle --> aave-acl
  aave-oracle --> chainlink-data-feeds

  %% Level 4
  aave-pool --> aave-acl
  aave-pool --> aave-config
  aave-pool --> aave-math
  aave-pool --> aave-oracle

  %% Level 5
  aave-data --> aave-config
  aave-data --> aave-pool

  %% Level 6
  aave-scripts --> aave-acl
  aave-scripts --> aave-config
  aave-scripts --> aave-oracle
  aave-scripts --> aave-data
  aave-scripts --> aave-pool
Loading

🚀 Getting Started

1. 🧩 Clone the Repository

git clone https://github.com/aave/aptos-v3.git && cd aptos-v3

2. 🛠️ Prerequisites

Make sure the following tools are installed:


🧪 Running a Local Testnet

🧰 Option 1: Using Makefile

Start by copying .env.template to .env and editing any relevant values.

✅ Start the testnet

make local-testnet

✅ With indexer (e.g. for Petra Wallet support)

make local-testnet-with-indexer

🔧 Configure workspace

make set-workspace-config \
  && make init-workspace-config \
  && make init-profiles \
  && make init-test-profiles \
  && make fund-profiles \
  && make fund-test-profiles

This will initialize, configure, and fund local accounts with APT.

🛠️ Compile & Deploy

make compile-all
make publish-all

🌐 View your local testnet

https://explorer.aptoslabs.com/?network=local


🐳 Option 2: Using aave-test-kit (Docker)

aave-test-kit is a local simulation environment for Aave on Aptos, inspired by Tenderly.

➡️ See the linked README for Docker-based setup and usage.


🧪 Testing

✅ Run Unit Tests (Move)

These do not require a local testnet.

make test-all

🔬 Run TypeScript Integration Tests

These must be run after successful contract deployment:

make ts-test

📝 Generate Aptos Move Docs

Generate full module documentation across all packages:

make doc-all

Docs will be generated under each package's doc/ directory.


🔐 Security Audits

All audit reports related to Aave's Move implementation on Aptos are stored in the /audits directory at the root of this repository.

📁 Audit Directory Structure

/audits
├── Aave Aptos Core V3.0.2 Report.pdf
├── Aave Aptos Core V3.1-V3.3 Report.pdf
└── Aave Aptos Periphery Report.pdf

📂 Browse Audit Reports

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Contributors 2

  •  
  •  

Languages