Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
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: 8 days ago
JSON representation
Helps identify if an account exists on multiple cosmos chains with the same address
- Host: GitHub
- URL: https://github.com/blockpane/findaccount
- Owner: blockpane
- Created: 2022-06-08T19:42:42.000Z (over 2 years ago)
- Default Branch: main
- Last Pushed: 2022-06-09T18:10:47.000Z (over 2 years ago)
- Last Synced: 2024-01-25T05:11:22.360Z (10 months ago)
- Language: Go
- Size: 426 KB
- Stars: 37
- Watchers: 2
- Forks: 14
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
- awesome-cosmos - findaccount - Helps identify if an account exists on multiple Cosmos chains with the same address. (Tools / CLI)
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
```