انضم إلى نوستر
2026-05-18 15:51:30 CEST

Derek Ross on Nostr: hey claude, i want to create a script that i can run via a cronjob that checks the ...

hey claude, i want to create a script that i can run via a cronjob that checks the bitcoin balance of a specific address. if a balance over 10 USD is found, then the balance is automatically sent to a new wallet address derived from another wallet's XPUB. you can use this tool to learn how derive bitcoin addresses from extended public keys https://github.com/swan-bitcoin/xpub-tool. enter plan mode and devise a plan to build this. include risk analysis and potential stop gaps. the bitcoin private key for this will be a nostr nsec, which is a taproot address, so we'll need to convert it. we should also consider how we store this nsec/private key. thanks.