Skip to content

ETH Tokyo 2023 submission, Aggregator for finding the best borrowing rate and AaveV3 optimized wrapper in Huff

Notifications You must be signed in to change notification settings

massun-onibakuchi/huff-standard4borrow

Repository files navigation

BorrowFi

Aggregator for finding the best borrowing rate cover

  • Gas optimzed AaveV3 wrapper buit with Huff
  • BorrowFi Aggregator for single entry point to all lending protocols
  • New ERC standard for borrowing

Pitch

Requirements

  • Node.js >= 15
  • yarn and npm >= 7
  • foundry

Quick Start

Install dependencies

yarn
cd contracts && forge install
# If `forge install` doesn't work correctly, try the following command for each .gitmodules in contracts directory.
# e.g forge install https://github.com/openzeppelin/openzeppelin-contracts

Each package has its own README. See the following links for more details.

Build Solidity contracts

Development

yarn build  # build all packages
yarn build:contracts  # build contracts
yarn build:ts  # build typescript packages
yarn test   # run all tests
yarn lint:check   # run all linters
yarn lint:fix   # run all linters

Chains we deployed our BorrowFi Aggregator contract

For all deployments, we used an address "0x777708eD0dA60151731363f36C14218005Bce4d1" to submit transactions.

Polygon

Scroll

Celo-alfajores

Ethereum Goerli

About

ETH Tokyo 2023 submission, Aggregator for finding the best borrowing rate and AaveV3 optimized wrapper in Huff

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Contributors 3

  •  
  •  
  •