x402-computelisted
Install: claude install-skill ivaavimusic/SGL_DOCS_2025
# x402 Singularity Compute
Provision and manage GPU/VPS instances paid with USDC via the x402 payment protocol.
**Base URL:** `https://compute.x402layer.cc`
**Networks:** Base (EVM) • Solana
**Currency:** USDC
**Protocol:** HTTP 402 Payment Required
**Access Note:** Preferred access is SSH public key. If no SSH key is provided, a one-time password fallback can be fetched once via API.
---
## Quick Start
### 1. Install Dependencies
```bash
pip install -r {baseDir}/requirements.txt
```
### 2. Choose Wallet Mode
#### Option A: Direct signing keys (Base or Solana)
```bash
# Base (EVM)
export PRIVATE_KEY="0x..."
export WALLET_ADDRESS="0x..."
# Solana
export SOLANA_SECRET_KEY="base58-or-json-array"
export SOLANA_WALLET_ADDRESS="YourSolanaAddress"
export COMPUTE_AUTH_CHAIN="solana"
```
#### Option B: OpenWallet / OWS (optional-first)
```bash
npm install -g @open-wallet-standard/core
export OWS_WALLET="compute-wallet"
export COMPUTE_AUTH_MODE="ows"
```
Create `COMPUTE_API_KEY` (optional) for management endpoints:
```bash
python {baseDir}/scripts/create_api_key.py --label "my-agent"
```
OWS is best for compute auth and routine management flows. Provision and extend still use the current direct payment-signing paths.
---
## ⚠️ Security Notice
> **IMPORTANT**: This skill handles private keys for signing blockchain transactions.
>
> - **Never use your primary custody wallet** - Create a dedicated wallet with limited funds
> - **Private keys are used locally only** - They s