@moltbankhq/openclaw 0.1.0 → 0.1.1

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 +98 -0
  2. package/package.json +1 -1
package/README.md ADDED
@@ -0,0 +1,98 @@
1
+ # @moltbankhq/openclaw
2
+
3
+ OpenClaw plugin for [MoltBank](https://moltbank.bot) — spend control, approvals, and audit trails for agent fleets.
4
+
5
+ ## Install
6
+
7
+ ```bash
8
+ openclaw plugins install @moltbankhq/openclaw
9
+ ```
10
+
11
+ ## What it does
12
+
13
+ This plugin connects your OpenClaw agent to MoltBank's banking infrastructure. On install, it:
14
+
15
+ - Downloads and configures the MoltBank skill (SKILL.md + scripts)
16
+ - Installs and registers [mcporter](https://www.npmjs.com/package/mcporter) for MCP server connectivity
17
+ - Handles OAuth device-code authentication to link your agent to your MoltBank account
18
+ - Configures sandbox (Docker) or host mode automatically based on your OpenClaw setup
19
+ - Injects required environment variables (`MOLTBANK`, `SIGNER`, `ACTIVE_ORG_OVERRIDE`)
20
+
21
+ Once set up, your agent can manage treasury operations, set per-agent spending limits, handle x402 payments, and interact with MoltBank's MCP server — all within OpenClaw.
22
+
23
+ ## Setup
24
+
25
+ After installing, run:
26
+
27
+ ```bash
28
+ openclaw moltbank setup
29
+ ```
30
+
31
+ The plugin will guide you through linking your MoltBank account via browser-based OAuth. Once approved, setup finalizes automatically.
32
+
33
+ ## CLI Commands
34
+
35
+ | Command | Description |
36
+ |---------|-------------|
37
+ | `openclaw moltbank setup` | Run full setup (nonblocking auth) |
38
+ | `openclaw moltbank setup-blocking` | Setup and wait for OAuth approval |
39
+ | `openclaw moltbank auth-status` | Check current auth state |
40
+ | `openclaw moltbank sandbox-setup` | Reconfigure sandbox Docker settings |
41
+ | `openclaw moltbank inject-key` | Re-inject env vars from credentials |
42
+ | `openclaw moltbank register` | Re-register mcporter MCP server |
43
+
44
+ ## Configuration
45
+
46
+ Optional config in your `openclaw.json`:
47
+
48
+ ```json
49
+ {
50
+ "plugins": {
51
+ "entries": {
52
+ "moltbank": {
53
+ "config": {
54
+ "appBaseUrl": "https://app.moltbank.bot",
55
+ "skillName": "MoltBank"
56
+ }
57
+ }
58
+ }
59
+ }
60
+ }
61
+ ```
62
+
63
+ ## Environment Variables
64
+
65
+ | Variable | Description |
66
+ |----------|-------------|
67
+ | `APP_BASE_URL` | MoltBank deployment URL (default: `https://app.moltbank.bot`) |
68
+ | `MOLTBANK_SKILL_NAME` | Override skill folder name (default: `MoltBank`) |
69
+ | `MOLTBANK_CREDENTIALS_PATH` | Custom credentials file path |
70
+ | `MOLTBANK_SETUP_AUTH_WAIT_MODE` | `blocking` or `nonblocking` (default: `nonblocking`) |
71
+
72
+ ## Capabilities
73
+
74
+ The MoltBank skill gives your agent access to:
75
+
76
+ - **Treasury management** — balances, transfers, account operations
77
+ - **Per-agent spending limits** — transaction, daily, and weekly caps
78
+ - **Approval workflows** — human-in-the-loop for spend above thresholds
79
+ - **x402 payments** — agent-to-agent payments via the x402 protocol
80
+ - **Audit trails** — full visibility into which agent spent what, when, and why
81
+ - **Polymarket** — prediction market operations
82
+ - **Pump.Fun** — Solana token operations
83
+
84
+ ## Requirements
85
+
86
+ - OpenClaw v2026.3+
87
+ - Node.js 22+
88
+ - Docker (if using sandbox mode)
89
+
90
+ ## Links
91
+
92
+ - [MoltBank](https://moltbank.bot)
93
+ - [Documentation](https://app.moltbank.bot)
94
+ - [GitHub](https://github.com/moltbankhq/openclaw-plugin)
95
+
96
+ ## License
97
+
98
+ ISC
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@moltbankhq/openclaw",
3
- "version": "0.1.0",
3
+ "version": "0.1.1",
4
4
  "description": "MoltBank OpenClaw plugin",
5
5
  "main": "index.ts",
6
6
  "openclaw": {