Skip to content

Gearbox-protocol/dev-bots-tutorial

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

22 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Gearbox bots developer tutorial

Smart contracts and tests for Gearbox bots dev tutorials:

All the code in this repo can be used as template for other bots, while test/BotTestHelper.sol can help in testing.

Installation

You would need to have Foundry installed in order to run the tests. We recommend updating it to the latest version prior to proceeding.

After cloning the repository, run forge install. This would install the common dependencies like forge-std and OpenZeppelin as well as proper versions of Gearbox smart contracts needed for writing and testing bots.

Next, create a .env file, copy the contents from .env.example and change placeholder values to the appropriate ones.

Finally, run forge test to ensure everything works.

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published