Skip to main content

Republic Proxy Command Line Interface

Project description

Republic Compute CLI

The Republic Compute CLI (raicompute) is a lightweight, stateless interface for GPU providers to register and manage their hosted machines on the Republic network, using Ethereum-compatible (ethsecp256k1) wallet authentication.

This tool is exclusively for GPU hosts — operators who are contributing compute resources to the network. It is not a tool for renting or consuming compute.

Installation

pip install raicompute

This will install the CLI under the raicompute command.

Authentication & Session Management

The CLI uses Ethereum-compatible ECDSA signatures (ethsecp256k1) for authentication. To avoid passing credentials with every command, use the login command to save your session locally.

Login

Saves your wallet address, public key, and signature to ~/.republic_session.json.

raicompute login --auth-wallet <bech32_address> --auth-pubkey <base64_pubkey> --auth-sig <base64_signature>

Example:

raicompute login \
  --auth-wallet republic1h9p5vxyurq7p0kqw... \
  --auth-pubkey BKj3v5U9... \
  --auth-sig 3045022100...

Once logged in, all subsequent commands will automatically use these credentials.

Auth Verify

Diagnostic tool to verify your current authentication session with the proxy server.

raicompute auth-verify

Generate Test Credentials

Utility for developers to generate a valid ethsecp256k1 wallet and signature for testing.

raicompute generate-test-credentials

Host Commands

These commands are for operators who are hosting GPU machines on the network.

Install Provider Machine

Registers your machine with the proxy server, linking it to your wallet for earnings tracking. This command is typically called by the automated install script.

raicompute install [--provider-slug vast]

Host Metrics

View earnings, reliability, and active rental status for machines registered to your wallet.

raicompute host-metrics

Host Update

Update settings for your hosted machine, such as rental prices.

raicompute host-update --machine-id <id> [--price-gpu <float>] [--price-disk <float>]

Environment Variables

Variable Description
PROXY_SERVER_URL URL of the Republic Proxy Server (default: https://provider-proxy-server-production.up.railway.app)

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

raicompute-0.1.1.tar.gz (22.4 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

raicompute-0.1.1-py3-none-any.whl (21.6 kB view details)

Uploaded Python 3

File details

Details for the file raicompute-0.1.1.tar.gz.

File metadata

  • Download URL: raicompute-0.1.1.tar.gz
  • Upload date:
  • Size: 22.4 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.2.0 CPython/3.13.9

File hashes

Hashes for raicompute-0.1.1.tar.gz
Algorithm Hash digest
SHA256 8995fca454900f224290387dfc02398b78b13ddab9996f9d0abdc2fc4cc3766f
MD5 7c5cb542f089bc7da29d8181d5b83d3c
BLAKE2b-256 79fd2ed87c1898e8cb317ab46cac23e2f4492d85160684dbfc80de8dbf36bf1c

See more details on using hashes here.

File details

Details for the file raicompute-0.1.1-py3-none-any.whl.

File metadata

  • Download URL: raicompute-0.1.1-py3-none-any.whl
  • Upload date:
  • Size: 21.6 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.2.0 CPython/3.13.9

File hashes

Hashes for raicompute-0.1.1-py3-none-any.whl
Algorithm Hash digest
SHA256 56442a6d9daad047668a23f0e6253618fe1f6e77f56b1de22ef43a7cf4a8b2d1
MD5 f58e33388bce523c6cf43ee28ad27c92
BLAKE2b-256 aef361c3df0b1cacfaee4101efd5783116c36400d368a75bdd23525adcc060cc

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page