8000 GitHub - andynog/cosmrs-tx-example: Example testing cosmrs to fetch transactions
[go: up one dir, main page]
More Web Proxy on the site http://driver.im/
Skip to content

andynog/cosmrs-tx-example

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

6 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

cosmrs-tx-example

Fetch transactions from Cosmos using gRPC

Configuration

To run, set an environment variable with a Cosmos chain gRPC address e.g. http://localhost:9090

export NODE_GRPC=http://localhost:9090

Running

$ cargo run

This should output something like (this is from a Cosmos Hub node)

Getting messages for transactions in height 8150664
8150664,"18CF16312CFAD57C320FB8A61477BD78B29062CABD8328AB747A2D28C5EC0F0A","MsgUpdateClient|MsgRecvPacket"
8150664,"F119370AFF4136E04E147BE20ED2942D8F99C32EF0EDD5022355F11D21C85A9F","MsgSend"

About

Example testing cosmrs to fetch transactions

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

0