Skip to content

Be-P/bot-rust

Repository files navigation

ILayer Bot

ILayer Bot is a Rust application designed to fulfill ILayer orders efficiently.

Installation

  1. Navigate to the project directory:
    cd ilayer_bot
  2. Install dependencies:
    cargo build

Usage

docker compose up -d # start the db
cp example.env .env # configure the RPC url and other configs
cargo run # start the bot

Testing

To run unit tests, use the following command:

cargo test

To run end-to-end (e2e) tests, use the following command:

cargo test -- --ignored

Note that e2e tests have a dependency on docker-compose and anvil to start the necessary services.

Migrations

sea-orm-cli migrate refresh # NB. refresh undoes-redoes every migration, only for dev env

About

No description, website, or topics provided.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages