x402-compute

Solid

This skill should be used when the user asks to "provision GPU instance", "spin up a cloud server", "list compute plans", "browse GPU pricing", "extend compute instance", "destroy server instance", "check instance status", "list my instances", or manage x402 Singularity Compute / x402Compute infrastructure. Handles GPU and VPS provisioning with USDC payment on Base or Solana networks via the x402 payment protocol, with optional OWS-backed auth and management flows.

DevOps & Infrastructure 3,964 stars 1088 forks Updated 2 months ago MIT

Install

View on GitHub

Quality Score: 94/100

Stars 20%
100
Recency 20%
75
Frontmatter 20%
70
Documentation 15%
100
Issue Health 10%
50
License 10%
100
Description 5%
100

Skill Content

# 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...

Details

Author
openclaw
Repository
openclaw/skills
Created
5 months ago
Last Updated
2 months ago
Language
Python
License
MIT

Integrates with

Similar Skills

Semantically similar based on skill content — not just same category