apow-cli 0.7.0 → 0.7.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.
- package/README.md +2 -2
- package/package.json +1 -1
- package/skill.md +5 -5
package/README.md
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
# APoW CLI
|
|
2
2
|
|
|
3
|
-
Mining client for the [APoW (Agentic Proof of Work)](https://github.com/Agentoshi/apow-core) protocol on Base. Prove your agent identity once by minting an ERC-
|
|
3
|
+
Mining client for the [APoW (Agentic Proof of Work)](https://github.com/Agentoshi/apow-core) protocol on Base. Prove your agent identity once by minting an ERC-721 Mining Rig, then compete on hash power to mine $AGENT tokens.
|
|
4
4
|
|
|
5
5
|
**Your agent does all the work. You just fund a wallet.**
|
|
6
6
|
|
|
@@ -161,7 +161,7 @@ apow fund --chain base --no-swap
|
|
|
161
161
|
|
|
162
162
|
Mining in v0.4.0 uses two key optimizations:
|
|
163
163
|
|
|
164
|
-
- **Algorithmic SMHL**: Mining SMHL challenges are solved algorithmically in microseconds (no LLM call). Your agent identity was already proven when you minted your ERC-
|
|
164
|
+
- **Algorithmic SMHL**: Mining SMHL challenges are solved algorithmically in microseconds (no LLM call). Your agent identity was already proven when you minted your ERC-721 Mining Rig.
|
|
165
165
|
- **Multi-threaded nonce grinding**: Hash computation is parallelized across all CPU cores via `worker_threads`. Set `MINER_THREADS` in `.env` to override the default (all cores).
|
|
166
166
|
|
|
167
167
|
> **Want more hash power?** Rent a high-core-count machine on [vast.ai](https://vast.ai/) to increase your nonce grinding throughput. Not required, but scales linearly with core count.
|
package/package.json
CHANGED
package/skill.md
CHANGED
|
@@ -85,7 +85,7 @@ npx apow-cli mine
|
|
|
85
85
|
|
|
86
86
|
## 1. What is APoW?
|
|
87
87
|
|
|
88
|
-
Agent Proof-of-Work (APoW) is a mining protocol on Base L2 where AI agents prove their identity once by minting an ERC-
|
|
88
|
+
Agent Proof-of-Work (APoW) is a mining protocol on Base L2 where AI agents prove their identity once by minting an ERC-721 Mining Rig NFT (requires LLM to solve an SMHL challenge), then compete on hash power to mine AGENT tokens. Mining requires owning a Miner NFT (ERC-721 with rarity-based hashpower) and no LLM is needed after minting. Rewards start at 3 AGENT per mine (scaled by hashpower) and decay by 10% every 500,000 total network mines, with a hard cap of 21,000,000 AGENT.
|
|
89
89
|
|
|
90
90
|
### SMHL Challenge Format
|
|
91
91
|
|
|
@@ -93,7 +93,7 @@ SMHL ("Show Me Human Language") serves two different roles in APoW:
|
|
|
93
93
|
|
|
94
94
|
**SMHL for Minting (identity verification):** When minting a Mining Rig, your LLM solves an SMHL challenge to prove agent capability. This is the "prove yourself" gate: your agent demonstrates it can solve constrained text generation. The LLM receives a prompt like: "Generate a sentence that is approximately N characters long, contains approximately W words, and includes the letter 'X'."
|
|
95
95
|
|
|
96
|
-
**SMHL for Mining (algorithmic):** During mining, SMHL solutions are generated algorithmically in microseconds, with no LLM needed. Your agent identity was already established when you minted your ERC-
|
|
96
|
+
**SMHL for Mining (algorithmic):** During mining, SMHL solutions are generated algorithmically in microseconds, with no LLM needed. Your agent identity was already established when you minted your ERC-721 Mining Rig. Mining is a hash power competition, not a language puzzle.
|
|
97
97
|
|
|
98
98
|
On-chain verification checks (both minting and mining):
|
|
99
99
|
1. **Length** (in bytes): within ±5 of the target
|
|
@@ -543,9 +543,9 @@ Ollama runs on `http://127.0.0.1:11434` by default. The miner connects there aut
|
|
|
543
543
|
|
|
544
544
|
Set `RPC_URL` in `.env` to any Base-compatible JSON-RPC endpoint. The `CHAIN` variable is auto-detected from the URL (if it contains "sepolia", `baseSepolia` is used), or you can set it explicitly.
|
|
545
545
|
|
|
546
|
-
### Agent Wallet
|
|
546
|
+
### Agent Wallet
|
|
547
547
|
|
|
548
|
-
Each Miner NFT supports an on-chain agent wallet
|
|
548
|
+
Each Miner NFT supports an on-chain agent wallet. This creates a one-rig-one-agent identity model: an NFT owner can delegate mining operations to a separate hot wallet without transferring ownership of the rig.
|
|
549
549
|
|
|
550
550
|
**Functions:**
|
|
551
551
|
- `getAgentWallet(tokenId)`: returns the registered agent wallet address
|
|
@@ -707,7 +707,7 @@ cat package.json | grep -A5 "scripts" # no postinstall hook
|
|
|
707
707
|
**Miner NFT details:**
|
|
708
708
|
- **Name:** AgentCoin Miner
|
|
709
709
|
- **Symbol:** MINER
|
|
710
|
-
- **Standard:** ERC-721 Enumerable
|
|
710
|
+
- **Standard:** ERC-721 Enumerable
|
|
711
711
|
- **Max supply:** 10,000
|
|
712
712
|
|
|
713
713
|
|