Ecosyste.ms: Awesome

An open API service indexing awesome lists of open source software.

Awesome Lists | Featured Topics | Projects

https://github.com/blockpane/findaccount

Helps identify if an account exists on multiple cosmos chains with the same address
https://github.com/blockpane/findaccount

Last synced: 7 days ago
JSON representation

Helps identify if an account exists on multiple cosmos chains with the same address

Awesome Lists containing this project

README

        

# findaccount

Tool for identifying what IBC chains an account exists on. Give it an address and it will query public RPC nodes and print out CSV with info.

**Important** it is necessary to retrieve the JSON files from the [Cosmos chain-registry](https://github.com/cosmos/chain-registry). To do this, run the [chains/fetch.sh](chains/fetch.sh) script.

Build:

```
bash ./chains/fetch.sh
go get ./...
go build -o findaccounts cmd/findaccounts/main.go
```

![example](example.png)

Example:

```
findaccounts juno1aeh8gqu9wr4u8ev6edlgfq03rcy6v5twfn0ja8 |grep true
cerberus,cerberus1aeh8gqu9wr4u8ev6edlgfq03rcy6v5twrxvq0s,"",true,balance: ,ok
chihuahua,chihuahua1aeh8gqu9wr4u8ev6edlgfq03rcy6v5twu5p8me,"",true,balance: ,ok
comdex,comdex1aeh8gqu9wr4u8ev6edlgfq03rcy6v5twcwwtrv,"",true,balance: ,ok
cosmoshub,cosmos1aeh8gqu9wr4u8ev6edlgfq03rcy6v5twlpvf6m,"",true,balance: ,ok
dig,dig1aeh8gqu9wr4u8ev6edlgfq03rcy6v5tw849zcq,"",true,balance: ,ok
evmos,evmos1aeh8gqu9wr4u8ev6edlgfq03rcy6v5twaqa8qn,"",true,balance: ,ok
galaxy,galaxy1aeh8gqu9wr4u8ev6edlgfq03rcy6v5twr72f3f,"",true,balance: ,ok
gravitybridge,gravity1aeh8gqu9wr4u8ev6edlgfq03rcy6v5twm373ln,"",true,balance: ,ok
juno,juno1aeh8gqu9wr4u8ev6edlgfq03rcy6v5twfn0ja8,"",true,balance: ,ok
kichain,ki1aeh8gqu9wr4u8ev6edlgfq03rcy6v5twwvax70,"",true,balance: ,ok
likecoin,like1aeh8gqu9wr4u8ev6edlgfq03rcy6v5twvasteq,"",true,balance: ,ok
meme,meme1aeh8gqu9wr4u8ev6edlgfq03rcy6v5twp767a3,"",true,balance: ,ok
osmosis,osmo1aeh8gqu9wr4u8ev6edlgfq03rcy6v5twh6levf,"",true,balance: ,ok
stargaze,stars1aeh8gqu9wr4u8ev6edlgfq03rcy6v5twtam532,"",true,balance: ,ok
```