{"repo":"massun-onibakuchi/grim-reaper","free":true,"listed":false,"github":"https://github.com/massun-onibakuchi/grim-reaper","clone":"git clone https://github.com/massun-onibakuchi/grim-reaper.git","description":"on-chain liquidation bot built with Huff language","language":"Solidity","stars":108,"topics":["ethereum","huff","smart-contracts","solidity"],"license":"MIT","category":"blockchain-web3","readme_excerpt":"Reaper • Getting Started This is grim-reaper: EVM-based on-chain liquidation bot for Aave V3 built with Huff language. Optimized for gas efficiency. This repo doesn't include any off-chain architecture. Requirements The following will need to be installed. Please follow the links and instructions. - Foundry - Huff Compiler Quickstart 1. Install dependencies Once you've cloned and entered into your repository, you need to install the necessary dependencies. In order to do so, simply run: 2. Build & Test To build and test your contracts, you can run: For more information on how to use Foundry, check out the Foundry Github Repository and the foundry-huff library repository. Single Liquidation (Optimizer runs: 200) Gas Used Bytecode Size (kB) ---------------------------------------- -------- ------------------ Solidity Contract 94877 1.039 Assembly 94021 0.331 Assembly (GrimReaper L2) 94057 0.345 + table Huff Contract 93942 0.248 Huff Contract (GrimReaper L2) 93976 0.260 + table Single Liquidation (Optimizer runs: 10 000 000) Gas Used Bytecode Size (kB) ----------------------------------------------- -------- ------------------ Solidity Contract 94301 1.342 Assembly 93505 0.358 Assembly (GrimReaper L2) 93541 0.372 + table Huff Contract 93438 0.248 Huff Contract (GrimReaper L2) 93472 0.260 + table 66270 gas is used for the liquidation logic itself on mock Aave v3 pool. Note: Optimizer runs affects how well the compiler optimizes tests contract as well. So, it affects measurements.","default_branch":null,"files":null,"tree":[],"storefront":"/r/massun-onibakuchi","claimed":false,"request_supported":{"post":"https://gitbuyer.com/r/massun-onibakuchi/grim-reaper/request-supported","requests":0},"note":"indexed from public GitHub; nothing is for sale on this page. Clone it from GitHub. Paid listings live at /search."}