@zakyirsyaad/monagent-plugin 0.1.3 → 0.1.4

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.
package/README.md CHANGED
@@ -1,17 +1,52 @@
1
- # @monagent/plugin-monad
1
+ # @zakyirsyaad/monagent-plugin
2
2
 
3
- MetaMask Agent Wallet Plugin for **Monad A2A Commerce & Trust** (Monad Metropolis Hackathon).
3
+ MetaMask Agent Wallet (`mm`) plugin for agent-to-agent commerce on **Monad**: payments in MON and
4
+ ERC-20, ERC-8004 identity and reputation, x402 paid API calls, and task escrow. Every write goes
5
+ through the MetaMask wallet executor and its transaction protection policy; the plugin never sees keys.
6
+
7
+ Supports **Monad Mainnet (`143`)** and **Monad Testnet (`10143`)**. Requires `@metamask/agent-wallet`
8
+ 6.2+ or 7.x.
9
+
10
+ ## Install
11
+
12
+ ```bash
13
+ npm install -g @metamask/agent-wallet@7
14
+ mm config set experimentalPlugins true
15
+ mm config set experimentalAllowUnverifiedInstalls true
16
+ mm plugins install @zakyirsyaad/monagent-plugin --accept-permissions
17
+ mm login # needed for write commands
18
+ mm init # first run only
19
+ ```
4
20
 
5
21
  ## Commands
6
22
 
7
- - `mm monad pay`: Send direct native MON or token micro-payment on Monad.
8
- - `mm monad identity register`: Register an ERC-721 Agent ID on Monad's ERC-8004 Registry.
9
- - `mm monad identity get`: Lookup an agent card and wallet address on Monad.
10
- - `mm monad reputation check`: Query counterparty reputation track record and calculate trust tier.
11
- - `mm monad reputation give`: Submit immutable on-chain review & rating feedback.
12
- - `mm monad x402 pay`: Execute paid API / tool call over HTTP 402 with Monad micropayments.
13
- - `mm monad jobs create`: Fund subcontracted task escrow on Monad.
14
-
15
- ## Verification
16
- - Deployed MonadAgentRegistry: `0x3a933f9d5e2ee210c9690c803c4d24cd6dd28e51`
17
- - Deployed MonadA2AEscrow: `0x31665c49a8e0565f3e496080a08f089d29bbcaae`
23
+ Every command takes `--chain-id 10143|143` (default `10143`, testnet). Add `--json` for machine-readable output.
24
+
25
+ | Command | What it does | Chains |
26
+ |---|---|---|
27
+ | `mm monad pay` | Send MON, USDC, or any ERC-20 (`--token MON\|USDC\|0x…`) | 10143, 143 |
28
+ | `mm monad identity register` | Register an agent on the official ERC-8004 Identity Registry | 10143, 143 |
29
+ | `mm monad identity get <agentId>` | Read owner, agent wallet and registration file | 10143, 143 |
30
+ | `mm monad reputation check <agentId>` | Feedback count, average score and trust tier | 10143, 143 |
31
+ | `mm monad reputation give` | Submit feedback to the official ERC-8004 Reputation Registry | 10143, 143 |
32
+ | `mm monad x402 pay` | Call an HTTP 402 API, signing an EIP-3009 USDC authorization | 10143, 143 |
33
+ | `mm monad jobs create` / `complete <jobId>` / `refund <jobId>` | Fund, release or refund a task escrow | 10143 |
34
+
35
+ ```bash
36
+ mm monad identity get 1 --chain-id 143
37
+ mm monad pay --to 0x… --amount 1.5 --token USDC --chain-id 143
38
+ mm monad x402 pay --url https://api.example.com/tool --payer 0x<your mm wallet> --maxSpend 100000
39
+ ```
40
+
41
+ ## Contracts
42
+
43
+ | | Testnet (`10143`) | Mainnet (`143`) |
44
+ |---|---|---|
45
+ | ERC-8004 Identity | `0x8004A818BFB912233c491871b3d84c89A494BD9e` | `0x8004A169FB4a3325136EB29fA0ceB6D2e539a432` |
46
+ | ERC-8004 Reputation | `0x8004B663056A597Dffe9eCcC1965A193B7388713` | `0x8004BAa17C55a88189AE136b182e5fdA19dE9b63` |
47
+ | USDC | `0x534b2f3A21130d7a60830c2Df862319e593943A3` | `0x754704Bc059F8C67012fEd69BC8A327a5aafb603` |
48
+ | MonadA2AEscrow | `0x8dcab9ddf394eb29cb891b264627bf60ea6af6ff` | not deployed |
49
+
50
+ Full documentation, flags, error codes and the agent skill:
51
+ [github.com/zakyirsyaad/monagent](https://github.com/zakyirsyaad/monagent) ·
52
+ [SKILL.md](https://github.com/zakyirsyaad/monagent/blob/main/skills/monad-agent/SKILL.md)
@@ -1330,5 +1330,5 @@
1330
1330
  ]
1331
1331
  }
1332
1332
  },
1333
- "version": "0.1.3"
1333
+ "version": "0.1.4"
1334
1334
  }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@zakyirsyaad/monagent-plugin",
3
- "version": "0.1.3",
3
+ "version": "0.1.4",
4
4
  "description": "MetaMask Agent Wallet Plugin for Monad A2A Commerce & Trust (ERC-8004 & x402)",
5
5
  "type": "module",
6
6
  "keywords": [