TW

tempoxyz/wallet-cli

Developer tools

Эта страница переведена автоматически. Технические детали смотрите в оригинале. Открыть оригинал

5 stars Качество 66 Тренд 33Apache-2.0

A command-line wallet and HTTP client for Tempo. tempo wallet manages your wallet, keys, tokens, and payment sessions. tempo request makes HTTP requests and handles MPP payment challenges.

Обзор

A command-line wallet and HTTP client for Tempo. tempo wallet manages your wallet, keys, tokens, and payment sessions. tempo request makes HTTP requests and handles MPP payment challenges. Use this CLI for terminal and script workflows. For payment handling inside an application, use an MPP SDK such as mpp-rs, mpp-go, or pympp. Install the Tempo launcher, which manages the wallet and request extensions: login opens a device-code approval in the wallet app. Replace the example URL with a service endpoint. request --dry-run probes the endpoint and previews a payment without paying; a non-GET probe may still have server-side effects. balance and whoami include MACH alongside the default currency, including zero balances. For an eligible charge, request --dry-run shows MACH under mach, separately from the advertised currency's balance and access-key limit. To add funds, run tempo wallet fund. It opens the wallet app and returns a link; it does not wait for or confirm a deposit.

README

Показан фрагмент оригинального README. Открыть оригинал.

Tempo Wallet CLI

A command-line wallet and HTTP client for Tempo. tempo wallet manages your wallet, keys, tokens, and payment sessions. tempo request makes HTTP requests and handles MPP payment challenges.

Use this CLI for terminal and script workflows. For payment handling inside an application, use an MPP SDK such as mpp-rs, mpp-go, or pympp.

Wallet · CLI docs · Command reference · Usage guide

Install

Install the Tempo launcher, which manages the wallet and request extensions:

curl -fsSL https://tempo.xyz/install | bash

Quick start

tempo wallet login
tempo wallet balance
tempo wallet services search ai
tempo request --dry-run https://example.mpp.tempo.xyz/v1/resource
tempo request https://example.mpp.tempo.xyz/v1/resource

login opens a device-code approval in the wallet app. Replace the example URL with a service endpoint. request --dry-run probes the endpoint and previews a payment without paying; a non-GET probe may still have server-side effects.

balance and whoami include MACH alongside the default currency, including zero balances. For an eligible charge, request --dry-run shows MACH under mach, separately from the advertised currency’s balance and access-key limit.

To add funds, run tempo wallet fund. It opens the wallet app and returns a link; it does not wait for or confirm a deposit. Check tempo wallet balance after funding. To receive a transfer, run tempo wallet address.

Common commands

Task Command
Check wallet and access key tempo wallet whoami
Send tokens tempo wallet send
Swap tokens tempo wallet swap
Check a transaction tempo wallet tx status
Manage payment sessions tempo wallet sessions list / tempo wallet sessions close
Открыть полный README на GitHub

Рекомендуемые инструменты

Попробуйте другой запрос или уберите фильтр.

Установка

npx skillfish add tempoxyz/wallet-cli
Новичок в MCP? Начните с руководства на mcpskill.org →