Quick Start

Prerequisites

1. Clone the Repository

git clone https://github.com/ayazabbas/strike.git
cd strike

2. Deploy Smart Contracts

cd contracts
forge install
forge build
forge test  # 51 tests should pass

Deploy to BSC testnet:

Note the deployed MarketFactory address from the output.

3. Configure the Bot

Create .env.local in the project root:

4. Start the Bot

5. Start the Keeper

In a separate terminal:

The keeper automatically creates markets every 5 minutes and resolves expired ones.

6. Test It

  1. Open your bot on Telegram

  2. Send /start to create your wallet

  3. Fund the wallet with testnet BNB

  4. Wait for a market to open

  5. Place a bet!

Running as Services (Production)

For persistent operation, use systemd:

Last updated