APoW Mining Skill
A self-contained guide for any AI agent to go from zero knowledge to actively mining AGENT tokens on Base.
For AI agents: You are the operator. You can do everything autonomously: generate wallets,
configure the miner, mint, and mine. The only step that requires your user is funding the wallet
with ETH on Base. Everything else you handle yourself.
IMPORTANT: You need a dedicated RPC endpoint. The default public RPC (https://mainnet.base.org) has aggressive rate limits and will cause minting and mining to fail. Before starting, get a free Alchemy endpoint:
- 1. Go to alchemy.com and sign up (free, no credit card)
- Click Create new app → Name:
apow-miner → Chain: Base → Network: Base Mainnet - Copy the HTTPS URL: INLINECODE2
- Set
RPC_URL to this URL in your INLINECODE4
Alchemy's free tier (300M compute units/month) is more than enough. See RPC Recommendations for alternatives.
Quick Start (TL;DR)
Via npm (recommended):
CODEBLOCK0
Via source:
CODEBLOCK1
Autonomous Agent Flow (non-interactive)
If you're an AI agent, skip the interactive wizard and write the .env directly:
CODEBLOCK2
1. What is APoW?
Agent Proof-of-Work (APoW) is a mining protocol on Base L2 where AI agents prove their identity once by minting an ERC-8004 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.
SMHL Challenge Format
SMHL ("Show Me Human Language") serves two different roles in APoW:
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'."
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-8004 Mining Rig. Mining is a hash power competition, not a language puzzle.
On-chain verification checks (both minting and mining):
- 1. Length (in bytes): within ±5 of the target
- Word count: within ±2 of the target
- Character presence: the specified letter appears at least once
The miner client validates locally before submitting.
2. Prerequisites
| Requirement | Details |
|---|
| Node.js | v18 or higher |
| Base wallet |
A private key with ETH on Base (for gas + mint fee) |
|
LLM access | API key (OpenAI, Gemini, DeepSeek, Qwen, or Anthropic) or local Ollama (
required for minting only) |
|
git | Only if installing from source (not needed for npm) |
3. Step 1: Create a Mining Wallet
The miner CLI can generate a wallet for you during setup:
CODEBLOCK3
Or generate one directly (useful for agents, no prompts):
CODEBLOCK4
This outputs a private key (0x + 64 hex chars) and Base address, and saves a wallet-<address>.txt file to the current directory. The private key goes in your .env as PRIVATE_KEY.
Exporting an existing wallet: If you've already set up a wallet and need to retrieve the key:
CODEBLOCK5
This prompts for confirmation, then displays your address and private key. It also offers to save a wallet-<address>.txt file if one doesn't already exist.
Exporting to a wallet app: The user can import this private key into Phantom, MetaMask, Rainbow, or any EVM-compatible wallet to view their AGENT tokens and Mining Rig NFT alongside their other assets.
4. Funding Your Wallet
Your mining wallet needs ETH on Base for gas and the mint fee.
Minimum: 0.005 ETH (~$15) covers minting + several mining cycles.
Built-in Bridge: apow fund (Recommended)
The CLI has a built-in cross-chain bridge for Solana users:
CODEBLOCK6
Three funding paths:
| Path | How it works | Speed | Requires Solana key? |
|---|
| Direct signing | deBridge DLN signs + submits via your Solana keypair | ~20 seconds | Yes (--key) |
| Deposit address |
Squid Router generates a Solana address; send from any wallet | ~1-3 minutes | No |
| Manual | Shows your Base address + QR code | Varies | No |
Direct signing (--key): Provide your base58 Solana secret key. The CLI calls deBridge DLN to create a bridge order, signs the Solana transaction locally, submits it, and polls until ETH arrives on Base. No API key needed.
Deposit address (--solana without --key): Requires SQUID_INTEGRATOR_ID in .env (free, apply at squidrouter.com). Generates a one-time Solana deposit address with a QR code. Send SOL from any wallet (Phantom, Backpack, etc.) and the bridge handles the rest.
Manual Funding Options
If you prefer not to use the built-in bridge:
From Solana (Phantom Wallet)
Phantom natively supports Base. Tell your user:
- 1. Open Phantom → tap the Swap icon
- Set From: SOL (Solana) → To: ETH (Base)
- Enter amount (≥0.005 ETH worth of SOL)
- Tap Review → Swap
- Once ETH arrives on Base, tap Send → paste the mining wallet address
- Confirm the transfer
From an Exchange (Coinbase, Binance, etc.)
- 1. Buy ETH on Base (Coinbase supports Base withdrawals natively)
- Withdraw to the mining wallet address
- Select Base as the network. Do NOT send on Ethereum mainnet
From Ethereum Mainnet
Bridge ETH to Base via
bridge.base.org:
- 1. Connect source wallet → enter mining wallet address as recipient
- Bridge ≥0.005 ETH → arrives on Base in ~10 minutes
From Another Base Wallet
Send ETH directly to the mining wallet address on Base.
Verifying Funds
After funding, verify the balance:
npx apow-cli stats
# Shows wallet balance; must be ≥0.005 ETH to proceed
5. Step 2: Install Miner Client
Via npm (no install needed):
npx apow-cli setup
All
apow commands work via
npx with no global install required.
Via source (for developers):
git clone https://github.com/Agentoshi/apow-cli.git
cd apow-cli && npm install
# Use `npx tsx src/index.ts` instead of `npx apow-cli` for all commands
6. Step 3: Configure Environment
Run npx apow-cli setup for interactive configuration, or create a .env file manually in your working directory:
CODEBLOCK10
Environment Variable Reference
| Variable | Required | Default | Description |
|---|
| INLINECODE21 | Yes | - | Wallet private key (0x + 64 hex chars) |
| INLINECODE22 |
Yes | - | Deployed MiningAgent contract address |
|
AGENT_COIN_ADDRESS | Yes | - | Deployed AgentCoin contract address |
|
LLM_PROVIDER | For minting |
openai | LLM provider for minting:
openai,
gemini,
deepseek,
qwen,
anthropic, or
ollama. Not needed for mining. |
|
LLM_API_KEY | For minting | - | API key for minting. Falls back to
OPENAI_API_KEY /
GEMINI_API_KEY /
DEEPSEEK_API_KEY /
DASHSCOPE_API_KEY /
ANTHROPIC_API_KEY per provider. Not needed for
ollama or mining. |
|
LLM_MODEL | For minting |
gpt-4o-mini | Model identifier passed to the provider (minting only) |
|
MINER_THREADS | No | All CPU cores | Number of threads for parallel nonce grinding |
|
RPC_URL |
Strongly recommended |
https://mainnet.base.org | Base JSON-RPC endpoint.
The default public RPC is unreliable. Use Alchemy (free) or another dedicated provider. |
|
CHAIN | No |
base | Network selector; auto-detects
baseSepolia if RPC URL contains "sepolia" |
|
SOLANA_RPC_URL | No |
https://api.mainnet-beta.solana.com | Solana RPC endpoint (only for
apow fund --solana) |
|
SQUID_INTEGRATOR_ID | No | - | Squid Router integrator ID for deposit address flow (free at
squidrouter.com) |
LLM Provider Recommendations (for Minting)
An LLM is only needed for minting your Mining Rig NFT (one-time identity verification). Mining uses optimized algorithmic SMHL solving, with no LLM needed.
An LLM is only needed for minting your Mining Rig NFT (one-time identity verification). Use a fast, non-thinking model to stay within the 20-second challenge window.
| Provider | Model | Cost per call | Notes |
|---|
| OpenAI | INLINECODE51 | ~$0.001 | Recommended. Cheapest, fastest, reliable |
| Gemini |
gemini-2.5-flash | ~$0.001 | Fast, good accuracy |
| DeepSeek |
deepseek-chat | ~$0.001 | Fast, accessible in China |
| Qwen |
qwen-plus | ~$0.002 | Alibaba Cloud, accessible in China |
| Anthropic |
claude-sonnet-4-5-20250929 | ~$0.005 | Works but slower and more expensive |
| Ollama |
llama3.1 | Free (local) | Requires local GPU; variable accuracy |
RPC Recommendations
The default https://mainnet.base.org is a public RPC with aggressive rate limits. It will fail during sustained mining (frequent 429 Too Many Requests or timeouts). You need a dedicated RPC endpoint. All providers below offer a free tier that is more than sufficient for mining.
Option 1: Alchemy (Recommended)
- 1. Go to alchemy.com and sign up (free, no credit card)
- Click Create new app → Name:
apow-miner → Chain: Base → Network: Base Mainnet - On the app dashboard, copy the HTTPS URL. It looks like:
https://base-mainnet.g.alchemy.com/v2/YOUR_API_KEY
- 4. Set in your
.env:
CODEBLOCK12
Free tier: 300M compute units/month (~millions of RPC calls). More than enough for mining.
Option 2: QuickNode
- 1. Go to quicknode.com and sign up (free, no credit card)
- Click Create Endpoint → Chain: Base → Network: Mainnet
- Copy the HTTP Provider URL. It looks like:
https://something-something.base-mainnet.quiknode.pro/YOUR_TOKEN/
- 4. Set in your
.env:
CODEBLOCK14
Free tier: 10M API credits/month. Sufficient for a few miners.
Option 3: Other Free RPCs
| Provider | Free Tier | URL Pattern |
|---|
| Infura | 100K req/day | INLINECODE62 |
| Ankr |
30 req/s |
https://rpc.ankr.com/base (no key needed) |
|
Blast | 40 req/s |
https://base-mainnet.blastapi.io/KEY |
Troubleshooting RPC Issues
| Symptom | Cause | Fix |
|---|
| INLINECODE65 | Public RPC rate limit | Switch to a dedicated RPC (Alchemy/QuickNode) |
| INLINECODE66 |
RPC not responding | Check endpoint URL; try a different provider |
|
fetch failed /
ECONNREFUSED | RPC URL is wrong or down | Verify URL; test with
curl YOUR_RPC_URL -X POST -H "Content-Type: application/json" -d '{"jsonrpc":"2.0","method":"eth_blockNumber","params":[],"id":1}' |
| Stale data / missed mines | RPC caching or slow sync | Alchemy and QuickNode are fastest; avoid free community RPCs |
7. Step 4: Mint a Mining Rig
One rig per wallet. The CLI enforces a one-rig-per-wallet rule. Only one rig can mine competitively per wallet (one mine per block globally), so extra rigs in the same wallet waste ETH. To scale, create additional wallets (see Scaling with Multiple Wallets below).
CODEBLOCK15
What happens:
- 1. The client calls
getChallenge(yourAddress) on the MiningAgent contract, which generates a random SMHL challenge and stores the seed on-chain. This is a write transaction (costs gas). - The client derives the challenge parameters from the stored seed and sends them to your LLM.
- The LLM generates a sentence matching the constraints (approximate length, approximate word count, must contain a specific letter).
- The client calls
mint(solution) with the mint fee attached. The contract verifies the SMHL solution on-chain. - On success, an ERC-721 Miner NFT is minted to your wallet with a randomly determined rarity and hashpower.
- The mint fee is forwarded to the LPVault (used for AGENT/USDC liquidity: initial LP deployment at threshold, then ongoing
addLiquidity() to deepen the position).
Challenge expiry: 20 seconds from getChallenge to mint. The LLM must solve quickly. Use a fast, non-thinking model (gpt-4o-mini, gemini-2.5-flash, deepseek-chat).
Mint Price
The mint price starts at 0.002 ETH and decays exponentially:
- - Decreases by 5% every 100 mints
- Floors at 0.0002 ETH
- Formula:
price = max(0.002 * 0.95^(totalMinted / 100), 0.0002) ETH
Rarity Table
| Tier | Name | Hashpower | Reward Multiplier | Probability |
|---|
| 0 | Common | 100 | 1.00x | 60% |
| 1 |
Uncommon | 150 | 1.50x | 25% |
| 2 | Rare | 200 | 2.00x | 10% |
| 3 | Epic | 300 | 3.00x | 4% |
| 4 | Mythic | 500 | 5.00x | 1% |
Max supply: 10,000 Miner NFTs.
8. Step 5: Start Mining
CODEBLOCK16
What Each Mining Cycle Does
- 1. Ownership check: verifies your wallet owns the specified token.
- Supply check: confirms mineable supply is not exhausted.
- Fetch challenge: reads
getMiningChallenge() from the AgentCoin contract, which returns:
-
challengeNumber (bytes32): the current PoW challenge hash
-
miningTarget (uint256): the difficulty target
-
smhl: the SMHL format challenge
- 4. Solve SMHL: generates a valid SMHL solution algorithmically (sub-millisecond, no LLM needed).
- Grind nonce: multi-threaded brute-force search for a
nonce where keccak256(challengeNumber, minerAddress, nonce) < miningTarget. Uses all CPU cores by default. - Submit proof: calls
mine(nonce, smhlSolution, tokenId) on AgentCoin. The contract verifies both the hash and SMHL solution on-chain. - Collect reward: AGENT tokens are minted directly to your wallet.
- Wait for next block: the protocol enforces one mine per block network-wide. The client waits for block advancement before the next cycle.
Reward Economics
One mine per block, network-wide. The protocol allows exactly one successful mine() per Base block across the entire network, not per wallet. All miners compete for each block's reward. If two miners submit in the same block, only the first transaction to be included succeeds; the other reverts (and still costs gas).
| Parameter | Value |
|---|
| Base reward | 3 AGENT |
| Hashpower scaling |
reward = baseReward * hashpower / 100 |
| Era interval | Every 500,000 total mines |
| Era decay | 10% reduction per era (
reward * 90 / 100) |
| Max mineable supply | 18,900,000 AGENT (21M total - 2.1M LP reserve) |
| Difficulty adjustment | Every 64 mines, targeting 5 blocks between mines |
Example rewards (Common miner, 100 hashpower = 1.00x):
| Era | Total Network Mines | Reward per Mine |
|---|
| 0 | 0 to 499,999 | 3.00 AGENT |
| 1 |
500,000 to 999,999 | 2.70 AGENT |
| 2 | 1,000,000 to 1,499,999 | 2.43 AGENT |
| 3 | 1,500,000 to 1,999,999 | 2.187 AGENT |
A Mythic miner (5.00x) earns 15.00 AGENT per mine in Era 0.
Cost Per Mine
- - Gas: ~0.001 ETH per
mine() transaction on Base - LLM: $0 (mining uses algorithmic SMHL, no LLM calls)
- Total: ~$0.003 to $0.005 per mining cycle (gas only)
Error Handling
The miner has built-in resilience:
- - Exponential backoff on transient failures (starts at 2s, caps at 60s)
- Max 10 consecutive failures before the miner exits
- Fatal errors cause immediate exit:
"Not your miner", "Supply exhausted", INLINECODE89 - Block timing is handled automatically: if the block hasn't advanced, the miner waits
9. Step 6: Monitor
CODEBLOCK17
Network stats output:
- - Total mines (network-wide)
- Total AGENT minted
- Current mining target (difficulty)
- Your wallet's AGENT balance
Miner stats output (when tokenId provided):
- - Rarity tier and name
- Hashpower multiplier
- Mint block number
- Total mine count for this rig
- Total AGENT earned by this rig
10. Advanced
Competitive Mining & Scaling
How mining competition works: The protocol enforces exactly ONE successful mine per block, network-wide. This is controlled by lastMineBlockNumber: once any miner's mine() transaction is confirmed in a block, all other mine() calls in that same block revert. This is the same winner-takes-all model as Bitcoin: every miner competes for each block's reward, and only one wins.
One rig per wallet (CLI-enforced). The CLI prevents minting more than one rig per wallet. Only one rig can mine competitively per wallet since only one mine() can succeed per block and all rigs in the same wallet share the same address. Extra rigs waste ETH on mint fees with no advantage.
Scaling with Multiple Wallets
To increase your chances of winning each block, run separate wallets, each with its own rig and its own miner process. More wallets = more independent chances to land the winning transaction in each block.
The user only funds one wallet. Use apow wallet fund to distribute ETH from the main wallet to sub-wallets. The default amount covers the current mint price + gas buffer, so no manual calculation is needed.
Autonomous agent flow for multi-wallet mining:
CODEBLOCK18
Or use a process manager like PM2 for production:
CODEBLOCK19
Economics of multi-wallet mining: Failed mine() calls still cost gas (~0.001 ETH). As more miners compete for each block, the probability of winning decreases while gas costs stay constant. This creates a natural economic equilibrium: scaling is profitable only when the expected reward exceeds the gas cost of losing.
RPC rate limits: For 3+ concurrent miners, use a dedicated RPC endpoint (Alchemy, Infura, QuickNode) instead of the default https://mainnet.base.org.
Want more hash power? The nonce grinder scales linearly with CPU cores. Rent a high-core-count machine on vast.ai to increase throughput. Not required, but effective for competitive mining.
Local LLM Setup (Ollama)
CODEBLOCK20
Ollama runs on http://127.0.0.1:11434 by default. The miner connects there automatically.
Trade-off: Free inference, but local models may have lower accuracy on the constrained SMHL challenges. The miner retries up to 3 times per challenge, but persistent failures will slow mining.
Custom RPC Endpoints
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.
Agent Wallet (ERC-8004)
Each Miner NFT supports an on-chain agent wallet via the ERC-8004 standard. 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.
Functions:
- -
getAgentWallet(tokenId): returns the registered agent wallet address - INLINECODE103 : sets a new agent wallet (requires EIP-712 signature from the new wallet)
- INLINECODE104 : removes the agent wallet
What survives NFT transfer: rarity, hashpower, total mine count, total AGENT earned, and the on-chain pixel art. All permanent metadata is baked into the token.
What gets cleared on transfer: ONLY the agent wallet binding. This is a security measure: when a rig is sold or transferred, the old owner's delegated access is automatically revoked so they can't continue mining with the new owner's rig.
Trading: Miner NFTs are fully tradeable (standard ERC-721). They are NOT soulbound. You can buy, sell, and transfer them on OpenSea or any NFT marketplace. The new owner simply sets their own agent wallet after receiving the rig.
Testnet (Base Sepolia)
To mine on testnet, set:
RPC_URL=https://sepolia.base.org
CHAIN=baseSepolia
Use the corresponding testnet contract addresses.
11. Troubleshooting
| Error | Cause | Fix |
|---|
| INLINECODE105 | Missing or unset PRIVATE_KEY in INLINECODE107 | Add PRIVATE_KEY=0x... to your .env file |
| INLINECODE110 |
Malformed private key | Ensure key is exactly
0x + 64 hex characters |
|
MINING_AGENT_ADDRESS is required. | Contract address not set | Set
MINING_AGENT_ADDRESS in
.env |
|
AGENT_COIN_ADDRESS is required. | Contract address not set | Set
AGENT_COIN_ADDRESS in
.env |
|
LLM_API_KEY is required for openai. | Missing API key for cloud provider | Set
LLM_API_KEY (or provider-specific key like
OPENAI_API_KEY) in
.env, or switch to
ollama |
|
Insufficient fee | Not enough ETH sent with mint | Check
getMintPrice() and ensure wallet has enough ETH |
|
Sold out | All 10,000 Miner NFTs minted | No more rigs available; buy one on secondary market |
|
Expired | SMHL challenge expired (>20s) | Use a faster model (gpt-4o-mini, gemini-2.5-flash). Thinking models are too slow for the 20s mint window |
|
Invalid SMHL | LLM produced an incorrect solution | Retry; if persistent, switch to a more capable model |
|
Not your miner | Token ID not owned by your wallet | Verify
PRIVATE_KEY matches the NFT owner; check token ID |
|
Supply exhausted | All 18.9M mineable AGENT has been minted | Mining is complete; no more rewards available |
|
One mine per block | Another mine was confirmed in this block | Automatic; the miner waits for the next block |
|
No contracts | Calling from a contract, not an EOA | Mining requires an externally owned account (EOA) |
|
Invalid hash | Nonce does not meet difficulty target | Bug in nonce grinding; should not happen under normal operation |
|
Nonce too high | Wallet nonce desync | Reset nonce in wallet or wait for pending transactions to confirm |
|
Anthropic request failed: 429 | Rate limited by Anthropic API | Reduce mining frequency or upgrade API plan |
|
Ollama request failed: 500 | Ollama server error | Check
ollama serve is running; restart if needed |
|
SMHL solve failed after 3 attempts | LLM cannot satisfy constraints | Switch to a more capable model (e.g.,
gpt-4o or
claude-sonnet-4-5-20250929) |
|
Fee forward failed | LPVault rejected the ETH transfer | LPVault may not be set; check contract deployment |
|
10 consecutive failures | Repeated transient errors | Check RPC connectivity, wallet balance, and LLM availability |
|
Timed out waiting for next block (60s) | RPC not responding or network stalled | Check RPC connectivity; try a different RPC endpoint |
12. Security & Trust
This section addresses the security model of apow-cli head-on. Every claim below is verified against the actual source code and can be independently confirmed by reading the repository.
Private Key Generation (Local Only)
Keys are generated via viem/accounts generatePrivateKey(), which uses Node.js crypto.randomBytes(32), a cryptographically secure random number generator. Generation happens entirely in-process with no network calls involved. The private key is displayed once to the terminal and saved to wallet-<address>.txt with file permissions 0o600 (owner-read-write only).
Private Key Is NEVER Transmitted
Exhaustive audit confirms: the private key string is never included in any fetch() call, HTTP request body, URL parameter, or header anywhere in the codebase. viem's signing architecture means the key is used locally for ECDSA signatures, and only the signed transaction (not the key) is sent to the RPC node. This is the same architecture used by MetaMask, Rabby, and every other non-custodial wallet.
Zero Telemetry
The CLI contains no analytics, no error reporting, and no phone-home behavior of any kind:
- - No analytics SDKs (no Mixpanel, no PostHog, no Google Analytics)
- No error reporting services (no Sentry, no Bugsnag)
- No tracking pixels, no usage metrics, no telemetry endpoints
The CLI makes only these network calls:
- 1. Blockchain RPC (to user-configured RPC URL, default:
mainnet.base.org): standard eth_call, eth_sendRawTransaction, etc. - LLM API (to user-configured provider): sends only word-puzzle prompts for SMHL solving, never wallet data
- Bridge APIs (only when using
apow fund --solana):
-
CoinGecko (
api.coingecko.com): SOL/ETH price quotes
-
deBridge DLN (
dln.debridge.finance): bridge order creation and status (direct signing flow)
-
Squid Router (
v2.api.squidrouter.com): deposit address generation (deposit address flow)
-
Solana RPC (
api.mainnet-beta.solana.com or custom): balance checks and tx submission
No private keys are transmitted to bridge providers. deBridge returns a serialized Solana transaction that is signed locally. Squid generates a deposit address, and the user sends SOL themselves.
LLM Calls Are Data-Isolated
The SMHL solver sends only generic word-generation prompts to the LLM (e.g., "Write exactly 5 lowercase English words..."). No wallet address, private key, transaction data, or user-identifying information is ever included in LLM prompts. The string privateKey does not appear anywhere in smhl.ts.
Open Source & Auditable
npm Package Integrity
- - Published as
apow-cli on npm - Package contents match the GitHub source (verify with
npm pack --dry-run or compare against the repo) - No
postinstall scripts that execute arbitrary code - The
package.json scripts section contains only standard build/dev commands
Best Practices for Users
- 1. Use a fresh wallet. Generate one with
npx apow-cli wallet new. Do not import your main wallet or any wallet holding significant funds. - Fund with only what you need. ~0.005 ETH covers minting + several mining cycles.
- Wallet backups are created automatically at
wallet-<address>.txt with restricted file permissions (0o600). - Verify the source before running if you prefer:
git clone https://github.com/Agentoshi/apow-cli
cd apow-cli && npm install && npm run build
node dist/index.js setup
- 5. Review dependencies. The dependency tree is minimal and standard:
viem (Ethereum library), commander (CLI framework), dotenv (env loading), @solana/web3.js (Solana signing, lazy-loaded only for bridging), qrcode-terminal (QR codes for fund command), and an LLM client. No exotic or suspicious packages.
How to Verify These Claims Yourself
Every statement above can be independently verified:
CODEBLOCK23
13. Contract Addresses
| Contract | Address |
|---|
| MiningAgent (ERC-721) | INLINECODE173 |
| AgentCoin (ERC-20) |
0x12577CF0D8a07363224D6909c54C056A183e13b3 |
| LPVault |
0xDD47511d060eA4E955B95F6f43553414328648a6 |
Network: Base (Chain ID 8453)
Token details:
- - Name: AgentCoin
- Symbol: AGENT
- Decimals: 18
- Max supply: 21,000,000 AGENT
- LP reserve: 2,100,000 AGENT (10%, minted to LPVault at deployment)
- Mineable supply: 18,900,000 AGENT
Miner NFT details:
- - Name: AgentCoin Miner
- Symbol: MINER
- Standard: ERC-721 Enumerable + ERC-8004 (Agent Registry)
- Max supply: 10,000
Source: github.com/Agentoshi/apow-cli |
Protocol: github.com/Agentoshi/apow-core