Stack Exchange Network

Stack Exchange network consists of 175 Q&A communities including Stack Overflow, the largest, most trusted online community for developers to learn, share their knowledge, and build their careers.

Visit Stack Exchange

Questions tagged [bash]

The tag has no usage guidance.

0
votes
1answer
24 views

electrum wallet listaddress without change addresses

i use the command electrum listaddresses -w .electrum/testnet/wallets.... On a bash console to get all addresses of the wallet. This however also return the "change" addresses which i cannot ...
0
votes
1answer
80 views

Converting WIF as Base58 string to byte array in bash

I want to convert wif as Base58 string to byte array. Private key to WIF printf 800C28FCA386C7A227600B2FE50B7CAE11EC86D3BF1FBE471BE89827E19D72AA1D507A5B8D | xxd -r -p | base58 ...
0
votes
0answers
99 views

How to convert a bitcoin address to the respective hash160 using bash?

I want to convert a list of bitcoin addresses to their respective hash160 values as illustrated using bash :
1
vote
1answer
198 views

Failed to start lnd.service: Unit bitcoind.service not found. (lnd installation)

I installed my bitcoind and lnd correctly. I put my datadir=/mnt/vdb to bitcoind.conf file and it allows me to start bitcoind with this command: bitcoind -daemon. As a final step, I want to learn lnd ...
2
votes
1answer
568 views

How to get the balance of a wallet using only bash interface?

I need to get the balance of specifics wallets only by using bash terminal tools without installing anything new to the OS (An old customized Ubuntu Server) Any idea how to do it? Thanks in advance.
3
votes
1answer
2k views

Bitcoin: error parsing json in bashscript to send BTC using sendmany command

I am simulating a bitcoin network on my machine for which I have written a bash script to simulate the transactions between the nodes. When I use the sendmany option of bitcoin-cli to send ...
1
vote
1answer
466 views

Here is bash script that auto transfers from hot to cold wallet upon threshhold met. Do you see issues?

The idea is to run this via cron job at some interval and have the excess of funds transfered to cold wallet address. So, I thought it will be easier to open source it so I can give it to the ...