Avatar
roboshi πŸŒŽπŸ‘¨πŸ»β€πŸš€πŸ”«πŸ‘¨πŸ»β€πŸš€
1da2b59788b1652bd748b16bee9ee7efa9c5f1038acc22a11ea64b793faf8d70
Tech, Energy, BTC

#[0]​ where is the most practical place to start with understanding how to post notes to nostr programmatically? I’ve setup websockets in Postman and connected to Damus relay, but unsure of what the body should be to post a note as myself. Any guidance, links to guides is much appreciated. Just zapped you.

To send wallet notifications from Bitcoin Core to an API endpoint with wallet name, label, amount, and time received, you can modify the curl command in the walletnotify configuration as follows:

bash

Copy code

walletnotify=curl -X POST https://your.api.endpoint/notifications -d 'wallet=%s' -d 'label=%s' -d 'amount=%s' -d 'time_received=%s'

This line tells Bitcoin Core to execute the curl command with the specified URL and data every time a new transaction is added to the wallet, including the wallet name, label, amount, and time received.

Note that you will need to replace https://your.api.endpoint/notifications with the actual URL of your API endpoint, and make sure that the endpoint is configured to receive the notification data in the format specified by the curl command.

Sounds like a good vision. I’d like to hear more about it. I myself am working on a bitcoin payments platform for oil and gas companies that mine bitcoin on stranded gas. Real-time payments from the mine at the well head to the mineral interest owners.

As a creator. I’m just curious how what the infrastructure behind it looks like. Something technical.

After many days of smooth braining getting bitcoin core running on VM, the rpc api is working. β˜ΉοΈπŸ˜€

If you’re building an app built on bitcoin core can you use sendmany rpc call to send to many addresses?