Kabu contract

July 27, 2025 ยท View on GitHub

CI status Telegram Chat

The Kabu contract allows to interact with DEX pools for the Kabu backrunning bot. The contract is written in Huff using huff-neo and used by Kabu.

Getting Started

Clone this repository:

git clone --recurse-submodules git@github.com:cakevm/kabu-contract.git

Run tests

To run the tests open two shells and run:

export MAINNET_HTTP=<Your mainnet http endpoint>
make anvil

and

export MAINNET_HTTP=<Your mainnet http endpoint>
make test

Acknowledgements

Many thanks to dexloom! This project is a hard-fork from multicaller. Many thanks to the Huff community for creating this language and the Foundry team for the awesome tooling.

License

The project is licensed under Unlicense.