This guide will help you get started with ON1Builder, covering the key concepts, installation, basic configuration, and your first run.
ON1Builder is a multi-chain blockchain transaction framework designed for high-performance, security, and reliability. It specializes in:
Before diving into the installation, let's understand some key concepts:
ON1Builder can run across multiple blockchains simultaneously, with each chain having a dedicated worker managing blockchain-specific operations.
Chain Workers are responsible for:
The Safety Net component provides protective mechanisms:
Before executing transactions, ON1Builder can simulate them to:
Here's a simplified installation process:
git clone https://github.com/John0n1/ON1Builder.git
cd ON1Builder
cp .env.example .env
# Edit .env with your API keys and wallet information
./setup_dev.sh
poetry shell
python -m on1builder test-connection --config configs/chains/config.yaml
For detailed installation instructions, see the Installation Guide.
The minimal configuration includes:
# Chain-specific configuration
CHAIN_ID: "1"
CHAIN_NAME: "Ethereum Mainnet"
HTTP_ENDPOINT: "https://mainnet.infura.io/v3/YOUR_INFURA_KEY"
WEBSOCKET_ENDPOINT: "wss://mainnet.infura.io/ws/v3/YOUR_INFURA_KEY"
WALLET_ADDRESS: "0xYourEthereumWalletAddress"
WALLET_KEY: "YOUR_PRIVATE_KEY"
# Safety parameters
MAX_GAS_PRICE_GWEI: 100
MIN_PROFIT: 0.001
SLIPPAGE_DEFAULT: 0.05
# Monitoring
ENABLE_PROMETHEUS: true
For complete configuration options, see the Configuration Guide.
To run ON1Builder in a basic single-chain mode:
python -m on1builder run --config configs/chains/config.yaml
The system will:
You'll see log output indicating the system's status and any actions taken.
Now that you have ON1Builder running, you might want to:
For any issues, check the Troubleshooting Guide.