@mainlayer/cli 0.1.2 → 0.1.3

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (2) hide show
  1. package/README.md +6 -6
  2. package/package.json +1 -1
package/README.md CHANGED
@@ -1,6 +1,6 @@
1
1
  # @mainlayer/cli
2
2
 
3
- > The official Mainlayer CLI. Sell and buy digital resources on-chain — APIs, data feeds, and AI services — directly from your terminal or AI agent.
3
+ > Payment CLI for AI agents.
4
4
 
5
5
  [![npm version](https://img.shields.io/npm/v/@mainlayer/cli)](https://www.npmjs.com/package/@mainlayer/cli)
6
6
  [![Node.js >=22](https://img.shields.io/badge/node-%3E%3D22-brightgreen)](https://nodejs.org)
@@ -16,9 +16,9 @@ Requires [Node.js >= 22](https://nodejs.org). The script installs the CLI global
16
16
 
17
17
  ## What is Mainlayer?
18
18
 
19
- Mainlayer is a payment marketplace for the agentic economy. Vendors list APIs, data feeds, and AI services. Buyers including AI agents — discover and pay for them on-chain using Solana USDC.
19
+ Mainlayer lets AI agents pay for digital resources APIs, data feeds, AI services — on-chain using Solana USDC.
20
20
 
21
- The CLI gives you full access to both sides of the marketplace from your terminal. It also works headlessly, so your AI agent can register, pay, and transact without any human in the loop.
21
+ The CLI works headlessly so your agent can register, pay, and transact with no human in the loop.
22
22
 
23
23
  ## Installation
24
24
 
@@ -44,7 +44,7 @@ export MAINLAYER_API_KEY=sk_live_...
44
44
  export MAINLAYER_WALLET_PASSPHRASE=your-passphrase
45
45
  mainlayer wallet create
46
46
 
47
- # List your resource on the marketplace
47
+ # List your resource
48
48
  mainlayer resource create \
49
49
  --slug my-api \
50
50
  --description "My API" \
@@ -68,7 +68,7 @@ export MAINLAYER_API_KEY=sk_live_...
68
68
  export MAINLAYER_WALLET_PASSPHRASE=your-passphrase
69
69
  mainlayer wallet create
70
70
 
71
- # Browse the marketplace
71
+ # Browse available resources
72
72
  mainlayer discover --query "data feeds"
73
73
 
74
74
  # Purchase (on-chain payment, no intermediary)
@@ -148,7 +148,7 @@ mainlayer setup --json # JSON output for programmatic use
148
148
  | `mainlayer webhook` | Configure webhook URL, view logs, retry deliveries |
149
149
  | `mainlayer earnings` | Revenue summary by resource and time period |
150
150
  | `mainlayer metrics` | Usage analytics per resource |
151
- | `mainlayer discover` | Search the marketplace — no auth required |
151
+ | `mainlayer discover` | Search available resources — no auth required |
152
152
  | `mainlayer buy` | Purchase a resource via on-chain payment |
153
153
  | `mainlayer entitlements` | View your active access grants |
154
154
  | `mainlayer subscribe` | Manage subscriptions (approve, pause, resume, cancel) |
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@mainlayer/cli",
3
- "version": "0.1.2",
3
+ "version": "0.1.3",
4
4
  "description": "Command-line interface to the Mainlayer payment infrastructure",
5
5
  "type": "module",
6
6
  "bin": {