Git Product home page Git Product logo

cosmos-tools's Introduction

Cosmos Chain Client Tools

Whenever possible, this tools will be made compatible with any chain based on the Cosmos SDK

FreshSTAKING logo

Tools

1) parse-output.sh:

appending | ./parse-output.sh (to a TX-generating cosmos client command) will strip out unnecessary output, pick and highlight the relevant messages (errors or results), and streamline checking for a success/fail of the TX after it has been included in the block. It has three possible outcomes:

a) command wasn't accepted (along with the reason why, stripping out any irrelevant information)

b) command was accepted and broadcasted to the network but not indexed (usually a temporary error, and the scripts gives up after 3 attemtps to find it indexed)

c) command was accepted, broadcasted to the network and indexed, and the result was success or fail (in which case the reason and only the reason why is displayed, stripping out any irrelevant information).

2) check-upgrade.py:

Python script to be run on demand of via cron. It checks whether there is a planned upgrade, from your select set of networks, within a specified X amount of hours. Notifies any service you wish to use (PagerDuty, PushOver, Telegram, etc).

3) peer-info.sh:

Bash script to show a daemon's peers, in the format ID@IP:port, followed by whether the peer is outbound or inbound, along with the peer's city according to an API query to an IP location service.

4) peer-paste.sh:

Bash script to parse the output of an RPC's peerlist into a format ready to paste in persistent peers.

cosmos-tools's People

Contributors

gaia avatar

Watchers

 avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.