Sardis CLI
Command-line interface for interacting with the Sardis payment platform.
Installation
pip install sardis-cli
Quick Start
# Configure API credentials
sardis login
# Check status
sardis status
# List agents
sardis agents list
# Execute a payment
sardis payments execute --from wallet_001 --to 0x1234... --amount 100 --token USDC
Commands
Authentication
# Login with API key
sardis login
# Check authentication status
sardis auth status
# Logout
sardis logout
Agents
# List all agents
sardis agents list
# Get agent details
sardis agents get <agent_id>
# Create new agent
sardis agents create --name "My Agent"
Wallets
# List wallets
sardis wallets list
# Get wallet balance
sardis wallets balance <wallet_id>
# Create wallet
sardis wallets create --agent <agent_id>
Payments
# Execute payment
sardis payments execute \
--from <wallet_id> \
--to <destination> \
--amount 100.00 \
--token USDC \
--chain base_sepolia
# Get payment status
sardis payments status <tx_id>
Holds
# Create hold
sardis holds create \
--wallet <wallet_id> \
--amount 50.00 \
--token USDC
# Capture hold
sardis holds capture <hold_id> --amount 45.00
# Void hold
sardis holds void <hold_id>
# List holds
sardis holds list --wallet <wallet_id>
Chains
# List supported chains
sardis chains list
# Get gas estimate
sardis chains gas --chain base_sepolia --amount 100 --token USDC
# Route analysis
sardis chains route --from ethereum --to polygon --amount 1000
Configuration
The CLI stores configuration in ~/.sardis/config.json:
{
"api_base_url": "https://api.sardis.network",
"api_key": "sk_...",
"default_chain": "base_sepolia"
}
Environment Variables
SARDIS_API_KEY=sk_...
SARDIS_API_BASE_URL=https://api.sardis.network
SARDIS_DEFAULT_CHAIN=base_sepolia
Development
# Install in development mode
pip install -e ".[dev]"
# Run tests
pytest
# Run CLI
python -m sardis_cli --help
Metadata
Release files for sardis-cli 1.0.0
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | Provenance | Actions |
|---|---|---|---|---|
| sardis_cli-1.0.0.tar.gz | 52.3 kB | Without provenance | Details for sardis_cli-1.0.0.tar.gz |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Actions Reset |
|---|---|---|---|---|
| sardis_cli-1.0.0-py3-none-any.whl | Python 3 | none | any | Details for sardis_cli-1.0.0-py3-none-any.whl |
Total release size: 78.8 kB
Release files / sardis_cli-1.0.0.tar.gz
| Download URL | sardis_cli-1.0.0.tar.gz |
|---|---|
| Size | 52.3 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
36991eea9db33e20a8b76dec1a993063f6c5b2b7c39734e9087cdea0b79d6c66
|
|
BLAKE2b-256 checksum How to use checksums |
952aae4e1be6a7f00d4d473c658dc654ffa199192504b6cf3dfb8929ec359014
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/6.2.0 CPython/3.13.7
|
Release files / sardis_cli-1.0.0-py3-none-any.whl
| Download URL | sardis_cli-1.0.0-py3-none-any.whl |
|---|---|
| Size | 26.5 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
3d77d5b5963a4dc4694768a967b9adf1bec95e2318ff31f93213dfb8a053f5cc
|
|
BLAKE2b-256 checksum How to use checksums |
c21a8bed5d65c99376bab0b99cd7d185007287f7b53fd8e97e9e04e81609b762
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/6.2.0 CPython/3.13.7
|
Security for sardis-cli 1.0.0
Provenance
Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.
No provenance found
None of the files in this release were uploaded with provenance metadata.
A note on package security
PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.
To learn more about protecting yourself from malicious actors, visit our package security documentation.