Lnd and Lit setup. Figuring out Pubkey in base64 with the payment hash ate my lunch this week. In all it took me two years to understand Bitcoin core api, itβs taken me a week to get lnd up and running and all the api calls setup. Progress happen with applied pressure overtime, much like how a diamond is made.
roboshi ππ¨π»βππ«π¨π»βπ
npub1rk3t...fmn5
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.
Learn how to spin up a node.
After many days of smooth braining getting bitcoin core running on VM, the rpc api is working. βΉοΈπ