<p>I want to convert a list of bitcoin addresses to their respective hash160 values as illustrated using bash :
<a href="https://i.sstatic.net/pWBEH.png" rel="nofollow noreferrer"><img src="https://i.sstatic.net/pWBEH.png" alt="sample"></a></p>

CC BY-SA 4.0
2018-12-13T19:29:12.097Z
came across this repo https://github.com/cryptocoinjs/bs58  which does the job but still have no clue how todo it without such tool in bash.
Aurigae
CC BY-SA 4.0
2018-12-13T19:43:57.707Z
Are you looking for a built-in tool package with your O.S.? Because you could use that node library in bash.
JBaczuk
CC BY-SA 4.0
2018-12-13T20:43:24.957Z
i did but its incredibly slow - if i understand the process i can rewrite it for bash which would be optimal.
Aurigae
<hash><base58><bash>
How to convert a bitcoin address to the respective hash160 using bash?
Aurigae
# How to convert a bitcoin address to the respective hash160 using bash?

(Asked by: username_0 on 2018-12-13)

I want to convert a list of bitcoin addresses to their respective hash160 values as illustrated using bash :
[![sample](https://i.sstatic.net/pWBEH.png)](https://i.sstatic.net/pWBEH.png)

**Tags:** hash, base58, bash

> **Comments:**
> **username_0**: came across this repo https://github.com/cryptocoinjs/bs58  which does the job but still have no clue how todo it without such tool in bash.  
> **username_1**: Are you looking for a built-in tool package with your O.S.? Because you could use that node library in bash.  
> **username_0**: i did but its incredibly slow - if i understand the process i can rewrite it for bash which would be optimal.  

---

## 0 answers

