Hello!
I’m new here, do i use BITCOIN CORE (V0.17.1) or (V0.21.1) for the lesson in bitcoin programming 101?
also as shown in the image, if i need V0.17.1 which one do i use?
Hello!
I’m new here, do i use BITCOIN CORE (V0.17.1) or (V0.21.1) for the lesson in bitcoin programming 101?
also as shown in the image, if i need V0.17.1 which one do i use?
You can use the latest version, but there have been some changes to the api. Like for example when running bitcoin cli you have to first create a wallet and use fallbackfee.
You should use the appropriate binary for your os and architecture. Most probably win64.
I’m having problems creating a wallet. Can anyone help? Using a PC.
if your Running in regtest mode use this command
bitcoin-cli -regtest createwallet “wallet_name”
if your using to do this Testnet then
bitcoin-cli -testnet createwallet “wallet_name”
how’d you get bitcoind running? i just downloaded the version ivan suggested (0.17.1), and it had not bitocind program when i “show package contents”… just 3 folders and some parameter files… i see the bitcoinqt executable, but no other executables…
for finding bitcoind, which is NOT included in the .dmg but requires the tar.gz download, your answer was almost perfect (and nevertheless extremely helpful: thank you!); just scroll down a bit looking for bitcoind instructions for mac (and all the associated terminal commands):
Bitcoin Core Downloading Issue:
I seem to be having a downloading issue, whenever I click download, it takes me to a white screen saying “404 not found” - nginx. Could someone help me? - Truls.
Oh, I have found the issue. {This software is presently not available for download in the UK, and download links will not work if you are located within the UK}
Hello it seems in 2022 that -getnewaddress is no longer supported in powershell, can anyone tell me what the fix for this is? @ivan @filip
you need to create new wallet first
bitcoin-cli --regtest createwallet "wallet_name"
Thank you. Glad I found your post by searching. Since I am completely new to coding, didn’t know how to “load” the wallet.
Thanks for the advice. It finally worked! I got an error message, that it failed to create new database, and that database already exists. But I then repeated the command getnewaddress, and this time it worked, and I got a new address. I do not know why the error message was shown, when I entered bitcoin-cli --regtest createwallet “wallet_name”. Anyway, the address finally was made!
By the way, it looks like you put 2 hyphens before regtest, but there should only be 1 hyphen, -regtest
Worked for only with the following commands:
./bitcoin-cli createwallet “wallet_name”
./bitcoin-cli -rpcwallet=“wallet_name” getnewaddress
Happy to start this course, let’s see what it is !
Very helpful thanks man
Please help.
I am trying to generate a new address in regtest and have tried many variations of input without success.
Any advice?
You already have a wallet with that name
Finally. I didn’t get the concept of, creating a wallet with a name and then generating and address, at first but got there now:) Thanks for your help
Previous versions of bitcoin client, didn’t had this feature. . . later this got added! to define a specific wallet name. . which does help for advance programming.!