One of the problems of Java is the verbosity of the language. However, it is also true that the life of the language it is very old in these that.
I fall into the problem to talk with the bitcoin rpc interface for one of my side projects on c-lightning and I was not able to find a clean library that is able to talk also with other rpc interfaces derived from ...
I am the one who made the video, and the video is a real wallet, but the password is lost forever, as everyone knows in Bitcoin core, passwords can be brute-force an unlimited number of times. The video is not fake, I can show any person any wallet in real time, as well as any evidence. The video contains the address of the site and you can see for yourself, ...
I'd recommend using the Esplora API that powers blockstream.info for testnet blockchain data.
For example you can use curl to get the latest testnet block hash:
Bitcoin Core supports creating a custom signet and mining utility for setting up a public test network with alternative functionality. This is not meant to be used to create an altcoin with actual or perceived monetary value as I (and many others) would recommend using a sidechain rather than attempting to start a new currency.
Right now, I manage to run ...
Run RPC listwallets and check if your account is listed.
If not, run loadwallet with only account name:
(assuming directory on disk: /home/user/.bitcoin/wallets/accountname/wallet.dat)
Command: loadwallet accountname
I advise you just to rely on https://github.com/dgarage/NBXplorer/
This is an API more flexible and more stable than Bitcoin Core to manage HD wallets. There is a C# client, and it integrate nicely with NBitcoin.
You can create PSBTs from it, ready to sign with NBitcoin. (Disclaimer: I am the main maintainer for both NBitcoin and NBXplorer)
You set the fee rate to 6 sat/vbyte. That's very low, median fee in recent blocks has been 30-70 sat/vbyte. See mempool.space.
You could wait until the weekend when the mining difficulty is expected to drop by more than 25%. This will decrease fees as more blocks can be mined per hour. The difficulty drop happens around 1AM UTC on Saturday.
I have created a bash script that is less complex than the Python script that @darosior references, but is heavily influenced by it. It keeps creating sets of 10-30 transactions until estimatesmartfee returns a fee rate.
set -eo pipefail
smartfee=$(bitcoin-cli estimatesmartfee 6)
if [[ "$smartfee" == *"\"...