A 0$ Cost Tutorial and Easy to Use
You’ll need one of these:
- Gitpod (link) – Log in with GitHub, open a terminal, you’re set.
- GitHub Codespace (link) – Log in with GitHub (recommended, it’s fast!).
- WSL (Windows Subsystem for Linux) – For Windows users.
Copy-paste this in your terminal:
git clone https://github.com/octra-labs/wallet-gen.git
cd wallet-gen
unzip example.zip
chmod +x ./wallet-generator.sh
./wallet-generator.shGet Testnet Tokens: After you generate your Octra address, claim your free test tokens here: Octra Testnet Faucet
Just enter your Octra address (starts with 'oct'), complete the captcha, and click claim. You can request tokens once every 5 days.
-
Pop open your terminal
-
Copy-paste these commands, one by one:
git clone https://github.com/octra-labs/octra_pre_client.git
cd octra_pre_client
python3 -m venv venv
source venv/bin/activate # on Windows: venv\Scripts\activate
pip install -r requirements.txt
cp wallet.json.example wallet.json- Edit your
wallet.jsonOpen the file with nano (or your favorite editor):
nano wallet.jsonReplace the placeholders with your actual Octra wallet details:
{
"priv": "your-private-key", // Your Octra Private Key (B64)
"addr": "octxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx", // Your Octra Address
"rpc": "https://octra.network"
}Save the file after editing (in nano: press Ctrl+O, then Enter, then Ctrl+X to exit).
Never share your private key with anyone
- Run it!
- On Mac/Linux:
./run.sh
- On Windows:
run.bat
Reminder!
If you close your Codespace or terminal and want to run cli.py again, just run this one-liner:
- On Linux/Mac:
cd octra_pre_client && source venv/bin/activate && python3 cli.py
- On Windows:
cd octra_pre_client && venv\Scripts\activate && python3 cli.py
That’s you're good to go, send some public Transaction or Private Transaction to another
Drop your feedback, or if you are facing an issue withthe faucet, reply on my X with your Octra Address @logscry on X****