Package Exports
- @axonsdk/cli
- @axonsdk/cli/dist/index.js
This package does not declare an exports field, so the exports above have been automatically detected and optimized by JSPM instead. If any package subpath is missing, it is recommended to post an issue to the original package (@axonsdk/cli) to support the "exports" field. If that is not possible, create a JSPM override to customize the exports field for this package.
Readme
@axonsdk/cli
Command-line tool for deploying and managing Axon edge applications across DePIN networks.
Installation
npm install -g @axonsdk/cliRequires Node.js ≥ 20.
Commands
| Command | Description |
|---|---|
axon init |
Interactive project setup — generates axon.json, .env, and template files |
axon auth [provider] |
Credential wizard — generates and stores provider keys securely |
axon deploy |
Bundle, upload to IPFS, and register your deployment on-chain |
axon run-local |
Run your script locally with a full mock provider runtime |
axon status |
List deployments, processor IDs, and live status |
axon send <id> <msg> |
Send a test message directly to a processor node |
Quick start
# 1. Create a new project
axon init
# 2. Set up credentials for your chosen provider
axon auth acurast # or: akash | fluence | koii
# 3. Test locally before spending tokens
axon run-local
# 4. Deploy to the network
axon deploy
# 5. Check your deployment
axon status
# 6. Send a test message
axon send <deployment-id> '{"prompt":"Hello"}'Supported providers
| Provider | Auth command | Requires |
|---|---|---|
| io.net | axon auth ionet |
io.net API key |
| Acurast | axon auth acurast |
Polkadot wallet mnemonic, IPFS endpoint |
| Akash Network | axon auth akash |
Cosmos wallet mnemonic |
| Fluence | axon auth fluence |
Fluence hex private key |
| Koii | axon auth koii |
Koii wallet keypair |
Documentation
Full docs at axon.dev · GitHub
License
Apache-2.0 © Axon