johnalbertini14-glitch/openclaw-skills / skills/0juano/bondterminal-x402
bondterminal-x402
VerifiedQuery BondTerminal API using x402 keyless payments. No API key needed — pay $0.01 USDC per request on Base mainnet. Use when users ask for Argentine bond data, analytics, cashflows, history, riesgo país, or ISIN/ticker lookups (e.g. AL30, GD30, US040114HS26). Supports automatic 402 → payment → retry.
| File | Kind | Size |
|---|---|---|
| SKILL.md | skill md | 4.9 KB |
| _meta.json | config | 464 B |
| references/endpoints.md | markdown | 1.9 KB |
| references/signer-setup.md | markdown | 1.2 KB |
references/signer-setup.md
View on GitHub# Signer Setup
Example: configure a viem wallet client as an x402 signer on Base mainnet.
## Environment Variable
```bash
export X402_PRIVATE_KEY=0x... # EVM private key with USDC on Base
```
> **Security:** Store your private key in a secrets manager (Infisical, AWS Secrets Manager, 1Password CLI, etc). Avoid hardcoding or committing keys to version control.
## Code
```javascript
import { createWalletClient, http } from 'viem';
import { base } from 'viem/chains';
import { privateKeyToAccount } from 'viem/accounts';
const account = privateKeyToAccount(process.env.X402_PRIVATE_KEY);
const walletClient = createWalletClient({
account,
chain: base,
transport: http(),
});
// This is the signer object expected by ExactEvmScheme
const signer = {
address: account.address,
signTypedData: (args) => walletClient.signTypedData({ account, ...args }),
};
```
## Alternative Signers
Any object implementing `{ address: string, signTypedData: (args) => Promise<string> }` works:
- **Hardware wallet** via WalletConnect or Ledger USB
- **Cloud KMS** (AWS KMS, GCP KMS) with a viem custom signer
- **Browser injected** (MetaMask, Coinbase Wallet) via `window.ethereum`
See [viem wallet client docs](https://viem.sh/docs/clients/wallet) for more options.
Related skills
| Skill | Stars | Updated | Works with | Status | Install |
|---|---|---|---|---|---|
| deprecation-and-migrationaddyosmani/agent-skillsManages deprecation and migration. Use when removing old systems, APIs, or features. Use when migrating users from one implementation to another. Use when migrating a database schema in production, such as renaming or dropping a column without downtime (expand/contract). Use when deciding whether to maintain or sunset existing code. | Stars: 119k | Updated | Claude CodeCodex | Verified | Install |
| performance-optimizationaddyosmani/agent-skillsOptimizes application performance across frontend, backend, queries, and databases. Use when performance requirements exist, when you suspect performance regressions, when Core Web Vitals or load times need improvement, when N+1 query patterns need fixing, or when profiling reveals bottlenecks. | Stars: 119k | Updated | Claude CodeCodex | Verified | Install |
| agent-cost-reportthedotmack/claude-memBelievable agent cost report for any period, default the last 7 full days PT, not counting today. Measured tokens from Claude Code transcripts priced at OpenRouter list prices (ESTIMATED), measured provider spend when a sanctioned source exists, note-taker cost separate, Timing-style HTML/PDF plus report.json, line-items.csv, evidence.json. | Stars: 118k | Updated | Claude CodeCodex | Verified | Install |
| agent-cost-reportthedotmack/claude-memBelievable agent cost report for any period, default the last 7 full days PT, not counting today. Measured tokens from Claude Code transcripts priced at OpenRouter list prices (ESTIMATED), measured provider spend when a sanctioned source exists, note-taker cost separate, Timing-style HTML/PDF plus report.json, line-items.csv, evidence.json. | Stars: 118k | Updated | Claude CodeCodex | Verified | Install |