> For the complete documentation index, see [llms.txt](https://bitz-1.gitbook.io/bitz/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://bitz-1.gitbook.io/bitz/advanced/the-og-way-locally.md).

# The OG Way (Locally)

## Installation Guide <a href="#installation-guide" id="installation-guide"></a>

#### Prerequisites <a href="#prerequisites" id="prerequisites"></a>

1. Make sure you have a Eclipse wallet set up and funded with ETH on Eclipse
2. Have a computer with terminal access

#### Setup Steps <a href="#setup-steps" id="setup-steps"></a>

> Windows users: you must first install WSL (see [Install Dependencies](https://solana.com/docs/intro/installation#install-dependencies)). Then run the preceding command in the Ubuntu (Linux) terminal.

1. Install Rust:

```bash
curl --proto '=https' --tlsv1.2 -sSf https://sh.rustup.rs | sh
```

2. Install Solana CLI:

```bash
curl --proto '=https' --tlsv1.2 -sSfL https://solana-install.solana.workers.dev | bash
```

> Add Solana to your PATH (the installer will provide instructions for this).

After installation, you should see output like the following:

```bash
Installed Versions:
Rust: rustc 1.85.0 (4d91de4e4 2025-02-17)
Solana CLI: solana-cli 2.1.14 (src:3ad46824; feat:3271415109, client:Agave)
Anchor CLI: anchor-cli 0.30.1
Node.js: v23.8.0
Yarn: 1.22.1
```

3. Create a local keypair/Wallet

```bash
solana-keygen new
```

This will create a new keypair and store it in the default location (`~/.config/solana/id.json`).

To specify a custom file path:

```bash
solana-keygen new -o /path/to/keypair.json
```

Take note of your public key (displayed after generation).

> Eclipse uses solana-cli, i.e. the balance you see of ETH of your keypair will be denoted in 'sol' but it's actually Eclipse ETH

4. Set the rpc to Eclipse mainnet:

```bash
solana config set --url https://bitz-000.eclipserpc.xyz/
```

5. Install Bitz using Cargo:

```bash
cargo install bitz
```

> This might take 5 mins to install, its not stuck and nothing is wrong until you see an actual error.

### Using Bitz <a href="#using-bitz" id="using-bitz"></a>

> Fund your wallet with a minimum balance of `0.0005 ETH` before hand

#### Basic Commands <a href="#basic-commands" id="basic-commands"></a>

* Collect bitz: `bitz collect`&#x20;
* For utilising mining pool: `bitz collect -p https://mainnet-pool.powpow.app`
* Claim your bitz: `bitz claim`
* Check your balance: `bitz account`
* Look up all commands: `bitz -h` or `bitz --help`
