Installation¶
Prerequisites¶
| Tool | Version | Notes |
|---|---|---|
| Flutter | 3.44.2 | Managed via FVM |
| Dart | 3.12.2 | Bundled with Flutter 3.44.2 |
| Rust | 1.95.0 | Pinned in rust-toolchain.toml |
| Git | 2.x | For submodule initialization |
1. Clone and Initialize Submodules¶
git clone https://github.com/SatoshiPortal/bull_sdk.git
cd bull_sdk
git submodule update --init --recursive
SSH URLs
.gitmodules uses SSH URLs (git@github.com:). In containers or CI without SSH keys, convert to HTTPS first:
2. Install Flutter via FVM¶
# Install FVM
dart pub global activate fvm
# Install and use Flutter 3.44.2
fvm install 3.44.2
fvm use 3.44.2
3. Install Rust¶
curl --proto '=https' --tlsv1.2 -sSf https://sh.rustup.rs | sh -s -- -y
source "$HOME/.cargo/env"
rustup install 1.95.0
rustup default 1.95.0
4. Install Dependencies¶
5. System Dependencies (Linux)¶
sudo apt-get install -y \
ninja-build build-essential gcc g++ cmake \
libgtk-3-dev pkg-config libclang-dev
Next Step
Once installation is complete, head to the Quick Start guide.