|
54 | 54 | "rpcFallbacks": ["https://rpc.sentinel.co:443", "https://sentinel-rpc.polkachu.com", "https://rpc.mathnodes.com", "https://sentinel-rpc.publicnode.com", "https://rpc.sentinel.quokkastake.io", "https://rpc.sentinel.suchnode.net:443"], |
55 | 55 | "lcdFallbacks": ["https://lcd.sentinel.co", "https://sentinel-api.polkachu.com", "https://api.sentinel.quokkastake.io", "https://sentinel-rest.publicnode.com", "https://api.sentinel.suchnode.net"], |
56 | 56 | "platforms": "Payment is identical everywhere; only the connect step differs by OS.", |
57 | | - "connectMacLinux": "EASIEST. WireGuard ships with the OS. Use native CLI sentinel-dvpncli (go install github.com/sentinel-official/sentinel-dvpncli@latest): (1) printf '%s\\n\\n' \"$MNEMONIC\" | sentinel-dvpncli keys add agent --keyring.backend test (keys add is interactive: line 1 = mnemonic, blank line 2 = default passphrase; there is no --recover flag); (2) sentinel-dvpncli tx session-start <nodeAddress> --subscription-id <subscriptionId> --tx.fee-granter-addr <feeGranter> --tx.from-name agent --keyring.backend test; (3) sessionId = sentinel-dvpncli query sessions --account-addr <sent1...> --subscription-id <subscriptionId> --output-format json (newest entry); (4) sentinel-dvpncli connect <sessionId>. Exception: Fedora (SELinux blocks VPNs).", |
| 57 | + "connectMacLinux": "Native CLI sentinel-dvpncli (go install github.com/sentinel-official/sentinel-dvpncli@latest, needs Go 1.24+). The CLI does NOT bundle a tunnel: it shells out to wg-quick (install wireguard-tools: apt/brew/pacman) for WireGuard nodes, or v2ray on PATH for V2Ray nodes. Most nodes are WireGuard, so install wireguard-tools at minimum; sudo is needed to bring the interface up. Then: (1) printf '%s\\n\\n' \"$MNEMONIC\" | sentinel-dvpncli keys add agent --keyring.backend test (keys add is interactive: line 1 = mnemonic, blank line 2 = default passphrase; there is no --recover flag); (2) sentinel-dvpncli tx session-start <nodeAddress> --subscription-id <subscriptionId> --tx.fee-granter-addr <feeGranter> --tx.from-name agent --keyring.backend test; (3) sessionId = sentinel-dvpncli query sessions --account-addr <sent1...> --subscription-id <subscriptionId> --output-format json (newest entry); (4) sentinel-dvpncli connect <sessionId>. Exception: Fedora (SELinux blocks VPNs).", |
58 | 58 | "connectWindows": "Heavier JS path. await setup() from blue-js-sdk/ai-path — run once on a fresh machine; auto-downloads V2Ray (no admin), checks/installs WireGuard (MSI needs admin); returns { ready, capabilities, recommended, issues }", |
59 | 59 | "walletCreate": "createWallet() from blue-js-sdk/ai-path → { address, mnemonic }", |
60 | 60 | "connect": "Windows JS tunnel: connect({ mnemonic, subscriptionId, feeGranter, nodeAddress }) → { connected, ip, protocol }. On macOS/Linux use connectMacLinux (native CLI) instead.", |
@@ -1604,13 +1604,13 @@ <h1 class="fade-in">Private internet<br>for <span class="highlight">AI agents</s |
1604 | 1604 | </span> |
1605 | 1605 | <span class="os-label">Windows <span class="os-status">live</span></span> |
1606 | 1606 | </div> |
1607 | | - <div class="os-chip live" title="Live — easiest path, connect works out of the box"> |
| 1607 | + <div class="os-chip live" title="Live — native CLI connect; install wireguard-tools (wg-quick) first"> |
1608 | 1608 | <span class="os-logo" aria-hidden="true"> |
1609 | 1609 | <svg viewBox="0 0 24 24" fill="currentColor"><path d="M16.4 1.3c.1 1.1-.3 2.2-1 3-.6.8-1.7 1.4-2.7 1.4-.2-1.1.3-2.2.9-2.9.8-.9 2-1.5 2.8-1.5Zm3.6 16.4c-.5 1.2-.8 1.7-1.4 2.8-.9 1.5-2.2 3.4-3.9 3.5-1.5 0-1.8-.9-3.8-.9-1.9 0-2.3.9-3.8.9-1.6-.1-2.9-1.8-3.8-3.3-2.5-4.3-2.7-9.4-1.2-12.1 1.1-1.9 2.8-3.1 4.4-3.1 1.5 0 2.5.9 3.8.9 1.3 0 2.1-.9 3.9-.9 1.4 0 3 .8 4.1 2.2-3.6 2-3 7.2 1.7 10Z"/></svg> |
1610 | 1610 | </span> |
1611 | 1611 | <span class="os-label">macOS <span class="os-status">live</span></span> |
1612 | 1612 | </div> |
1613 | | - <div class="os-chip live" title="Live — easiest path, connect works out of the box (except Fedora)"> |
| 1613 | + <div class="os-chip live" title="Live — native CLI connect; install wireguard-tools first (except Fedora: SELinux blocks VPNs)"> |
1614 | 1614 | <span class="os-logo" aria-hidden="true"> |
1615 | 1615 | <svg viewBox="0 0 24 24" fill="currentColor"><path d="M12.5 2c-2 0-3.3 1.6-3.3 4 0 1 .2 1.9.4 2.5-.7.5-1.3 1.4-1.8 2.6-.7 1.6-1 3.8-1.7 5.2-.5 1-1.5 1.5-2 2.2-.4.4-.5 1.3.4 1.6.7.2 1.3-.2 1.9-.6.4-.3.9-.4 1.2-.4.4.1.5.5.6 1 .1 1.3 1 2.2 2.9 2.4 1.8.2 4-.4 5.7-.4 1 0 1.7.1 2.3.1.6 0 1-.5 1-1 0-.5-.4-.9-.9-1.3-1.1-1-1.4-2.3-1.8-4-.4-1.6-.9-3.5-2.3-4.7.4-.8.6-1.7.6-2.7 0-2.3-1.3-4-3.2-4Zm-1 3.3c.4 0 .6.5.6 1s-.3 1-.6 1-.7-.5-.7-1 .3-1 .7-1Zm2.1 0c.4 0 .6.5.6 1s-.3 1-.6 1-.7-.5-.7-1 .3-1 .7-1Z"/></svg> |
1616 | 1616 | </span> |
@@ -2061,11 +2061,11 @@ <h3 style="font-size: 13px; color: var(--accent); margin-bottom: 18px; letter-sp |
2061 | 2061 |
|
2062 | 2062 | <div class="code-block" style="margin-bottom: 24px;"> |
2063 | 2063 | <div class="bar"> |
2064 | | - <div class="label">Step 3 — macOS & Linux (easiest): connect via native CLI</div> |
| 2064 | + <div class="label">Step 3 — macOS & Linux: connect via native CLI</div> |
2065 | 2065 | </div> |
2066 | 2066 | <pre><code><span class="cm">// Payment (Steps 0-2 above) is identical. macOS & Linux skip the JS connect()</span> |
2067 | | -<span class="cm">// and use Sentinel's native CLI instead — WireGuard already ships with the OS,</span> |
2068 | | -<span class="cm">// so there's nothing to install for the tunnel. Four commands, scriptable end to end.</span> |
| 2067 | +<span class="cm">// and use Sentinel's native CLI instead. Unlike Windows, the CLI does NOT bundle a tunnel:</span> |
| 2068 | +<span class="cm">// it shells out to wg-quick, so install wireguard-tools first (apt/brew/pacman). Four commands.</span> |
2069 | 2069 | <span class="cm">// CLI: https://github.com/sentinel-official/sentinel-dvpncli</span> |
2070 | 2070 |
|
2071 | 2071 | <span class="cm">// Install once (Go 1.24+):</span> |
@@ -2417,11 +2417,12 @@ <h2>End-to-end: USDC to VPN tunnel</h2> |
2417 | 2417 | } |
2418 | 2418 |
|
2419 | 2419 | <span class="cm">// ── Step 5: Connect to VPN (0 gas, 0 P2P) ──</span> |
2420 | | -<span class="cm">// This connect() is the Windows path. On macOS/Linux (easiest) use the native CLI instead:</span> |
| 2420 | +<span class="cm">// This connect() is the Windows path. On macOS/Linux use the native CLI instead</span> |
| 2421 | +<span class="cm">// (install wireguard-tools first — the CLI shells out to wg-quick, it bundles no tunnel):</span> |
2421 | 2422 | <span class="cm">// printf '%s\n\n' "$MNEMONIC" | sentinel-dvpncli keys add agent --keyring.backend test</span> |
2422 | 2423 | <span class="cm">// sentinel-dvpncli tx session-start <nodeAddress> --subscription-id <id> --tx.fee-granter-addr <feeGranter> --tx.from-name agent --keyring.backend test</span> |
2423 | 2424 | <span class="cm">// sessionId=$(sentinel-dvpncli query sessions --account-addr <sent1...> --subscription-id <id> --output-format json | jq '.result[-1].id')</span> |
2424 | | -<span class="cm">// sentinel-dvpncli connect <sessionId> (WireGuard ships with the OS; nothing to install)</span> |
| 2425 | +<span class="cm">// sentinel-dvpncli connect <sessionId> (needs wg-quick on PATH: install wireguard-tools + sudo)</span> |
2425 | 2426 | <span class="kw">const</span> vpn <span class="op">=</span> <span class="kw">await</span> <span class="fn">connect</span>({ |
2426 | 2427 | <span class="prop">mnemonic</span><span class="op">:</span> wallet<span class="op">.</span>mnemonic<span class="op">,</span> |
2427 | 2428 | <span class="prop">nodeAddress</span><span class="op">,</span> |
|
0 commit comments