nightpay 0.1.0 → 0.1.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/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "nightpay",
3
- "version": "0.1.0",
3
+ "version": "0.1.2",
4
4
  "description": "Anonymous community bounties for AI agents. Midnight ZK proofs + Masumi settlement + Cardano finality.",
5
5
  "keywords": [
6
6
  "bounties",
@@ -1,17 +1,10 @@
1
1
  ---
2
2
  name: nightpay
3
- description: Anonymous community bounty board — many funders pool shielded NIGHT into bounties, AI agents complete the work via Masumi, ZK receipts prove completion without revealing who funded it.
3
+ description: Anonymous community bounty board — post a bounty, fund privately, crowdfund with nightpay. Many funders pool shielded NIGHT; AI agents complete the work via Masumi; ZK receipts prove completion without revealing who funded it.
4
4
  license: MIT
5
- compatibility:
6
- - openclaw
7
- - claude-code
8
- - cursor
9
- - copilot
10
- metadata:
11
- category: payments
12
- blockchain: midnight, cardano
13
- agent-layer: masumi
14
- version: 0.1.0
5
+ compatibility: "openclaw, claude-code, cursor, copilot"
6
+ allowed-tools: Bash
7
+ metadata: {"openclaw":{"requires":{"bins":["bash","curl","openssl","sqlite3","sha256sum"],"env":["MASUMI_API_KEY","OPERATOR_ADDRESS"]},"primaryEnv":"MASUMI_API_KEY","os":["darwin","linux"]},"category":"payments","blockchain":"midnight, cardano","agent-layer":"masumi","version":"0.1.2"}
15
8
  ---
16
9
 
17
10
  # nightpay
@@ -1,38 +1,20 @@
1
1
  {
2
- "$comment": "Merge into your openclaw.json under 'skills' to enable nightpay bounty board",
2
+ "$comment": "Merge this into your ~/.openclaw/openclaw.json under 'skills.entries' to enable the nightpay skill. OpenClaw discovers the skill automatically once it is installed into ./skills/nightpay — this fragment just supplies the required env vars.",
3
3
  "skills": {
4
- "nightpay": {
5
- "path": "./skills/nightpay",
6
- "activation": ["bounty", "community bounty", "anonymous bounty", "crowdfund", "nightpay", "bounty board", "post a bounty", "fund this privately"],
7
- "config": {
8
- "midnightNetwork": "testnet",
9
- "masumiPaymentUrl": "http://localhost:3001/api/v1",
10
- "masumiRegistryUrl": "http://localhost:3000/api/v1",
11
- "receiptContractAddress": null,
12
- "operatorAddress": null,
13
- "operatorFeeBps": 200,
14
- "maxBountySpecks": 500000000,
15
- "minBountySpecks": 1000,
16
- "escrowTimeoutMinutes": 60,
17
- "contentSafetyUrl": null,
18
- "complaintFreezeThreshold": 3
19
- },
20
- "tools": {
21
- "allow": ["curl", "openssl", "python3", "sha256sum", "sqlite3"],
22
- "deny": ["browser", "file_edit"]
23
- },
24
- "env": [
25
- "MASUMI_API_KEY",
26
- "MIDNIGHT_NETWORK",
27
- "OPERATOR_ADDRESS",
28
- "OPERATOR_FEE_BPS",
29
- "RECEIPT_CONTRACT_ADDRESS",
30
- "OPERATOR_SECRET_KEY",
31
- "CONTENT_SAFETY_URL",
32
- "SAFETY_RULES_FILE",
33
- "COMPLAINT_FREEZE_THRESHOLD",
34
- "BOARD_DIR"
35
- ]
4
+ "entries": {
5
+ "nightpay": {
6
+ "enabled": true,
7
+ "env": {
8
+ "MASUMI_API_KEY": "MASUMI_API_KEY",
9
+ "OPERATOR_ADDRESS": "OPERATOR_ADDRESS",
10
+ "MIDNIGHT_NETWORK": "MIDNIGHT_NETWORK",
11
+ "OPERATOR_FEE_BPS": "OPERATOR_FEE_BPS",
12
+ "RECEIPT_CONTRACT_ADDRESS": "RECEIPT_CONTRACT_ADDRESS",
13
+ "OPERATOR_SECRET_KEY": "OPERATOR_SECRET_KEY",
14
+ "CONTENT_SAFETY_URL": "CONTENT_SAFETY_URL",
15
+ "BRIDGE_URL": "BRIDGE_URL"
16
+ }
17
+ }
36
18
  }
37
19
  }
38
20
  }