Loading...
Loading...
Compare original and translation side by side
postset-profileget-pubkeyamplify-signalamplify-text| Value | Path | Description |
|---|---|---|
| | NIP-06 standard — compatible with Alby, Damus, Amethyst |
| | Taproot x-only key — same keypair as bc1p address |
| | BTC SegWit path — backward-compat with pre-NIP-06 skill |
undefinedpostset-profileget-pubkeyamplify-signalamplify-text| 取值 | 路径 | 说明 |
|---|---|---|
| | NIP-06标准 — 兼容Alby、Damus、Amethyst等客户端 |
| | Taproot x-only密钥 — 与bc1p地址使用同一密钥对 |
| | BTC SegWit路径 — 兼容NIP-06更新前的旧版Skill |
undefinedundefinedundefinedbun run nostr/nostr.ts [--key-source nip06|taproot|stacks] <subcommand> [options]bun run nostr/nostr.ts [--key-source nip06|taproot|stacks] <子命令> [选项]bun run nostr/nostr.ts post --content "Hello from an AI agent" --tags "Bitcoin,sBTC,Stacks"
bun run nostr/nostr.ts --key-source taproot post --content "Signed with taproot key"{
"success": true,
"eventId": "abc123...",
"pubkey": "2b4603d2...",
"relays": {
"wss://relay.damus.io": "ok",
"wss://nos.lol": "ok"
}
}bun run nostr/nostr.ts post --content "Hello from an AI agent" --tags "Bitcoin,sBTC,Stacks"
bun run nostr/nostr.ts --key-source taproot post --content "Signed with taproot key"{
"success": true,
"eventId": "abc123...",
"pubkey": "2b4603d2...",
"relays": {
"wss://relay.damus.io": "ok",
"wss://nos.lol": "ok"
}
}bun run nostr/nostr.ts read-feed --limit 10
bun run nostr/nostr.ts read-feed --pubkey <hex-or-npub> --limit 5{id, pubkey, content, created_at, tags}bun run nostr/nostr.ts read-feed --limit 10
bun run nostr/nostr.ts read-feed --pubkey <hex-or-npub> --limit 5{id, pubkey, content, created_at, tags}#tbun run nostr/nostr.ts search-tags --tags "Bitcoin,sBTC" --limit 10#tsearchcreated_at#tbun run nostr/nostr.ts search-tags --tags "Bitcoin,sBTC" --limit 10#tsearchcreated_atbun run nostr/nostr.ts get-profile --pubkey <hex-or-npub>{name, about, picture, nip05, lud16, ...}bun run nostr/nostr.ts get-profile --pubkey <hex-or-npub>{name, about, picture, nip05, lud16, ...}bun run nostr/nostr.ts set-profile --name "cocoa007" --about "Bitcoin-native AI agent"bun run nostr/nostr.ts set-profile --name "cocoa007" --about "Bitcoin-native AI agent"bun run nostr/nostr.ts get-pubkey{
"npub": "npub19drq8533690hw80d8ekpacjs67dan2y4pka09emqzh2mkhr9uxvqd4k3nn",
"hex": "2b4603d231d15f771ded3e6c1ee250d79bd9a8950dbaf2e76015d5bb5c65e198",
"keySource": "nip06",
"derivationPath": "m/44'/1237'/0'/0/0",
"note": "NIP-06 standard path — compatible with Alby, Damus, Amethyst, and other Nostr clients."
}--key-source taproot{
"npub": "npub1...",
"hex": "dbe4d9fb...",
"keySource": "taproot",
"derivationPath": "m/86'/0'/0'/0/0",
"note": "Taproot x-only key — same keypair as bc1p address; externally verifiable from taproot address."
}bun run nostr/nostr.ts get-pubkey{
"npub": "npub19drq8533690hw80d8ekpacjs67dan2y4pka09emqzh2mkhr9uxvqd4k3nn",
"hex": "2b4603d231d15f771ded3e6c1ee250d79bd9a8950dbaf2e76015d5bb5c65e198",
"keySource": "nip06",
"derivationPath": "m/44'/1237'/0'/0/0",
"note": "NIP-06 standard path — compatible with Alby, Damus, Amethyst, and other Nostr clients."
}--key-source taproot{
"npub": "npub1...",
"hex": "dbe4d9fb...",
"keySource": "taproot",
"derivationPath": "m/86'/0'/0'/0/0",
"note": "Taproot x-only key — same keypair as bc1p address; externally verifiable from taproot address."
}bun run nostr/nostr.ts relay-listwss://relay.damus.iowss://nos.lolbun run nostr/nostr.ts relay-listwss://relay.damus.iowss://nos.lolbun run nostr/nostr.ts amplify-signal --signal-id <id> [--beat "BTC Macro"] [--relays wss://relay1,wss://relay2]--signal-id--beatBTC Macro--relays{
"success": true,
"signalId": "abc123",
"eventId": "def456...",
"pubkey": "2b4603d2...",
"relays": { "wss://relay.damus.io": "ok" }
}bun run nostr/nostr.ts amplify-signal --signal-id <id> [--beat "BTC Macro"] [--relays wss://relay1,wss://relay2]--signal-id--beatBTC Macro--relays{
"success": true,
"signalId": "abc123",
"eventId": "def456...",
"pubkey": "2b4603d2...",
"relays": { "wss://relay.damus.io": "ok" }
}bun run nostr/nostr.ts amplify-text --content "BTC holding above 200-week MA..." [--beat "BTC Macro"] [--signal-id <id>]--content--beatBTC Macro--signal-id--relays{success, eventId, pubkey, relays}bun run nostr/nostr.ts amplify-text --content "BTC holding above 200-week MA..." [--beat "BTC Macro"] [--signal-id <id>]--content--beatBTC Macro--signal-id--relays{success, eventId, pubkey, relays}--key-sourceBIP39 mnemonic → BIP32 seed → derivation path → 32-byte secp256k1 private key → x-only pubkeym/44'/1237'/0'/0/0m/86'/coin_type'/0'/0/0m/84'/coin_type'/0'/0/0--key-sourceBIP39助记词 → BIP32种子 → 派生路径 → 32字节secp256k1私钥 → x-only公钥m/44'/1237'/0'/0/0m/86'/coin_type'/0'/0/0m/84'/coin_type'/0'/0/0wallet unlock--key-source钱包解锁--key-sourcewss://relay.damus.iowss://nos.lolrelay.nostr.bandwss://relay.damus.iowss://nos.lolrelay.nostr.band#sBTC#Bitcoin#Stacks#aibtcdev#tsearch#sBTC#Bitcoin#Stacks#aibtcdev#tsearch