AGENT SKILL

gateway-node-ops

How to spawn a SolanaOS Gateway and connect headless nodes

License 许可
MIT
最近更新
2026-10-08
Stars
★ 0
Forks
0

01 前言 Front Matter

name
gateway-node-ops
description
How to spawn a SolanaOS Gateway and connect headless nodes

02 资源文件 2

03 SKILL.md 正文

SolanaOS Gateway + Node Workflow

Prerequisites

Ensure the following tools are installed:

Build SolanaOS

// turbo

cd /Users/8bit/Downloads/nanosolana-go && go build -ldflags="-s -w" -o build/solanaos .

Spawn the Gateway (Quick)

Option A: Via SolanaOS CLI

// turbo

solanaos node gateway-spawn

This will:

  1. Check for tmux, solanaos, and tailscale
  2. Detect your Tailscale IP
  3. Start solanaos gateway in a detached tmux session
  4. Print connection info for remote nodes

Option B: Via Shell Script

// turbo

./scripts/gateway-spawn.sh

Same result, but works without building SolanaOS first.

Pair a Node

From the hardware device (Orin Nano, RPi, etc.), run:

solanaos node pair --bridge <TAILSCALE_IP>:18790 --display-name "My Orin Nano"

Then approve from the gateway host:

solanaos nodes approve <requestId>

Run the Node

solanaos node run --bridge <TAILSCALE_IP>:18790

Auto-Spawn at Daemon Launch

To make the daemon automatically spawn a gateway at startup:

GATEWAY_AUTO_SPAWN=true solanaos daemon

Or set in .env:

GATEWAY_AUTO_SPAWN=true
GATEWAY_SPAWN_PORT=18790
GATEWAY_USE_TAILSCALE=true

Manage the Gateway

// turbo

# Check status
./scripts/gateway-spawn.sh --status

# Kill the gateway
solanaos node gateway-kill

# Or via script
./scripts/gateway-spawn.sh --kill

# Attach to see gateway logs
tmux attach -t solanaos-gw

Cross-Compile for Hardware

# Raspberry Pi (ARM64)
GOOS=linux GOARCH=arm64 go build -ldflags="-s -w" -o build/solanaos-linux-arm64 .

# NVIDIA Orin Nano (ARM64)
GOOS=linux GOARCH=arm64 go build -ldflags="-s -w" -o build/solanaos-orin .

Termius SSH Workflow

  1. Add your Tailscale host in Termius (use Tailscale IP)
  2. SSH in and run: solanaos node gateway-spawn
  3. From a second Termius tab: solanaos node run --bridge <IP>:18790

04 同仓库更多 Skills

Solizardking
Solizardking/skillhub-main

zkrouter

Self-hosted OpenAI-compatible LLM router — smart tier-based routing, ZK-stamped routing decisions, mode overrides, free OpenRouter at install via the Birth bot. Save 60-80% on inference costs by routing to the cheapest capable model across 12+ OpenRouter models.

★ 0
Solizardking
Solizardking/skillhub-main

zk

For custom ZK Solana programs and privacy-preserving applications to prevent double spending. Guide to integrate rent-free nullifier PDAs for double-spend prevention.

★ 0
Solizardking
Solizardking/skillhub-main

zk-omni-messaging

Zero-knowledge omnichain messaging between Robinhood Chain and Solana using CheshireZkOmniMessenger (msgType 4) with nullifier anti-replay and the zk-omni-relayer service.

★ 0
Solizardking
Solizardking/skillhub-main

zerion-wallet-data

Use when the user asks to check a wallet's portfolio, token balances, DeFi positions, PnL, transaction history, or NFTs. Provides interpreted on-chain data across 40+ EVM chains and Solana via x402 pay-per-request or API key — no raw RPC decoding needed.

★ 0
Solizardking
Solizardking/skillhub-main

youtube-clipper

YouTube 视频智能剪辑工具。下载视频和字幕,AI 分析生成精细章节(几分钟级别), 用户选择片段后自动剪辑、翻译字幕为中英双语、烧录字幕到视频,并生成总结文案。 使用场景:当用户需要剪辑 YouTube 视频、生成短视频片段、制作双语字幕版本时。 关键词:视频剪辑、YouTube、字幕翻译、双语字幕、视频下载、clip video

★ 0
Solizardking
Solizardking/skillhub-main

yield-optimization

Multi-chain yield optimization via yield.xyz (StakeKit). Discover 2,988+ yield opportunities across 75+ blockchains, build deposit/withdrawal transactions with shell scripts, and sign them with a MoonPay wallet. Use when the user wants to earn yield, find the best lending or staking rate, enter/exit a position, or check portfolio balances.

★ 0