aawp-skill 1.3.0 → 1.3.2

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 ADDED
@@ -0,0 +1,83 @@
1
+ # AAWP — AI Agent Wallet Protocol
2
+
3
+ <p>
4
+ <img src="https://img.shields.io/npm/v/aawp-skill?style=flat-square&label=npm&color=CB3837" alt="npm">
5
+ <img src="https://img.shields.io/badge/Live-6_EVM_Chains-0052FF?style=flat-square" alt="chains">
6
+ <img src="https://img.shields.io/badge/License-BUSL--1.1-1a1a2e?style=flat-square" alt="license">
7
+ </p>
8
+
9
+ The only crypto wallet protocol built exclusively for AI Agents. Not for humans. The AI Agent is the signer — by protocol, by design, forever.
10
+
11
+ **[aawp.ai](https://aawp.ai) · [GitHub](https://github.com/aawp-skill/aawp)**
12
+
13
+ ---
14
+
15
+ ## Install
16
+
17
+ ```bash
18
+ npx aawp-skill
19
+ ```
20
+
21
+ Auto-detects your AI client (OpenClaw, Cursor, Claude Code, Gemini CLI, OpenCode, Goose) and installs the AAWP skill.
22
+
23
+ ---
24
+
25
+ ## What it does
26
+
27
+ - Installs `SKILL.md` to your AI client's skills directory
28
+ - For OpenClaw: runs `clawhub install aawp` for full daemon + cron support
29
+
30
+ ---
31
+
32
+ ## What is AAWP?
33
+
34
+ AAWP wallets are smart contract wallets where **only AI Agents can be the signer** — enforced at the contract level, not by policy. The AI Agent generates its own key pair at provisioning time. The signer is locked in and immutable forever.
35
+
36
+ Key features:
37
+
38
+ - **AI Agent-exclusive signing** — humans cannot produce signatures or move funds
39
+ - **Hardware-bound seed** — 4-shard + 2 hardware-anchor key derivation
40
+ - **Guardian oversight** — humans can freeze/recover but never sign
41
+ - **Same address on 6 chains** — Base, Ethereum, Arbitrum, Optimism, Polygon, BSC via CREATE2
42
+ - **Token launch** — deploy Clanker V4 tokens where your AI wallet is the on-chain owner
43
+ - **DCA & price alerts** — autonomous strategies with no live session required (OpenClaw)
44
+
45
+ ---
46
+
47
+ ## Quick start (after install)
48
+
49
+ Ask your AI agent:
50
+
51
+ ```
52
+ set up my AAWP wallet
53
+ ```
54
+
55
+ Or run directly:
56
+
57
+ ```bash
58
+ # Provision signing key + daemon
59
+ bash ~/.agents/skills/aawp/scripts/provision.sh
60
+
61
+ # Create wallet on Base
62
+ node ~/.agents/skills/aawp/scripts/wallet-manager.js --chain base create
63
+
64
+ # Check balance
65
+ node ~/.agents/skills/aawp/scripts/wallet-manager.js --chain base balance
66
+ ```
67
+
68
+ ---
69
+
70
+ ## Contract addresses (same on all chains)
71
+
72
+ | Contract | Address |
73
+ |----------|---------|
74
+ | Factory | `0xAAAA3Df87F112c743BbC57c4de1700C72eB7aaAA` |
75
+ | Identity | `0xAAAafBf6F88367C75A9B701fFb4684Df6bCA1D1d` |
76
+
77
+ ---
78
+
79
+ ## Links
80
+
81
+ - Website: [aawp.ai](https://aawp.ai)
82
+ - GitHub: [aawp-skill/aawp](https://github.com/aawp-skill/aawp)
83
+ - License: [BUSL-1.1](https://github.com/aawp-skill/aawp/blob/main/LICENSE)
package/bin/install.js CHANGED
@@ -6,10 +6,10 @@ const path = require('path');
6
6
  const os = require('os');
7
7
  const { execSync, spawnSync } = require('child_process');
8
8
 
9
- const VERSION = '1.0.4';
9
+ const VERSION = '1.3.1';
10
10
  const SKILL_NAME = 'aawp';
11
11
  const RAW_BASE = 'https://raw.githubusercontent.com/aawp-ai/aawp/main/skills/aawp';
12
- const FALLBACK = 'http://185.198.26.196:8080/skill';
12
+ const FALLBACK = 'https://aawp.ai/skill';
13
13
 
14
14
  // ── ANSI colors ───────────────────────────────────────────────────────────────
15
15
  const isTTY = process.stdout.isTTY;
@@ -28,7 +28,6 @@ const fail = s => console.log(` ${red('✗')} ${s}`);
28
28
 
29
29
  // ── Fetch helper ──────────────────────────────────────────────────────────────
30
30
  async function fetchText(url) {
31
- // Node 18+ has native fetch; fallback to https module
32
31
  if (typeof fetch !== 'undefined') {
33
32
  const res = await fetch(url);
34
33
  if (!res.ok) throw new Error(`HTTP ${res.status}`);
@@ -75,7 +74,7 @@ const CLIENTS = [
75
74
  const r = spawnSync('clawhub', ['install', SKILL_NAME], { stdio: 'inherit' });
76
75
  return r.status === 0;
77
76
  },
78
- skillDir: null, // handled by clawhub
77
+ skillDir: null,
79
78
  },
80
79
  {
81
80
  name: 'Cursor',
@@ -104,7 +103,6 @@ const CLIENTS = [
104
103
  },
105
104
  ];
106
105
 
107
- // Universal dir — read by Cursor, OpenCode, and most standard clients
108
106
  const UNIVERSAL_DIR = path.join(HOME, '.agents', 'skills');
109
107
 
110
108
  // ── Install to dir ────────────────────────────────────────────────────────────
@@ -119,10 +117,9 @@ function installToDir(baseDir, skillMd) {
119
117
  async function main() {
120
118
  console.log('');
121
119
  console.log(` ${bold('AAWP Skill Installer')} ${dim('v' + VERSION)}`);
122
- console.log(` ${dim('AI Agent Wallet Protocol — agentskills.io standard')}`);
120
+ console.log(` ${dim('AI Agent Wallet Protocol — aawp.ai')}`);
123
121
  console.log('');
124
122
 
125
- // Detect clients
126
123
  const detected = CLIENTS.filter(c => c.detect());
127
124
  const detectedNames = detected.map(c => c.name);
128
125
 
@@ -133,7 +130,6 @@ async function main() {
133
130
  }
134
131
  console.log('');
135
132
 
136
- // Download SKILL.md
137
133
  info('Downloading SKILL.md...');
138
134
  let skillMd;
139
135
  try {
@@ -147,7 +143,6 @@ async function main() {
147
143
 
148
144
  let count = 0;
149
145
 
150
- // OpenClaw via clawhub
151
146
  const openclaw = detected.find(c => c.name === 'OpenClaw');
152
147
  if (openclaw) {
153
148
  info('Installing via clawhub (OpenClaw)...');
@@ -161,7 +156,6 @@ async function main() {
161
156
  console.log('');
162
157
  }
163
158
 
164
- // Collect unique dirs
165
159
  const seenDirs = new Set();
166
160
  const dirsToInstall = [];
167
161
 
@@ -172,7 +166,6 @@ async function main() {
172
166
  }
173
167
  }
174
168
 
175
- // Always add universal
176
169
  if (!seenDirs.has(UNIVERSAL_DIR)) {
177
170
  dirsToInstall.push({ dir: UNIVERSAL_DIR, label: 'universal (~/.agents/skills)' });
178
171
  }
@@ -189,7 +182,6 @@ async function main() {
189
182
  }
190
183
  }
191
184
 
192
- // Done
193
185
  console.log('');
194
186
  if (count > 0) {
195
187
  console.log(` ${bold(green('AAWP skill installed!'))}`);
@@ -197,11 +189,10 @@ async function main() {
197
189
  console.log(` ${dim('Restart your AI client to load the skill.')}`);
198
190
  console.log(` ${dim('Then ask: "set up my AAWP wallet"')}`);
199
191
  console.log(` ${dim('Full autonomy (24/7 daemon + cron): clawhub install aawp')}`);
200
- console.log(` ${dim('Docs: https://github.com/aawp-ai/aawp')}`);
192
+ console.log(` ${dim('Docs: https://aawp.ai · https://github.com/aawp-ai/aawp')}`);
201
193
  } else {
202
194
  warn('Nothing was installed.');
203
195
  console.log(` ${dim('Try manually: copy SKILL.md to your client\'s skills directory.')}`);
204
- console.log(` ${dim('Guide: https://agentskills.io/what-are-skills')}`);
205
196
  }
206
197
  console.log('');
207
198
  }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "aawp-skill",
3
- "version": "1.3.0",
3
+ "version": "1.3.2",
4
4
  "description": "Install the AAWP skill for any Agent Skills compatible AI client",
5
5
  "keywords": [
6
6
  "aawp",
@@ -27,6 +27,6 @@
27
27
  },
28
28
  "files": [
29
29
  "bin/",
30
- "skill/"
30
+ "README.md"
31
31
  ]
32
32
  }