Project

nis-cli

0.0
No commit activity in last 3 years
No release in over 3 years
Ruby CUI client for the NEM Infrastructure Server API
2005
2006
2007
2008
2009
2010
2011
2012
2013
2014
2015
2016
2017
2018
2019
2020
2021
2022
2023
2024
 Dependencies

Development

~> 1.15
~> 0.10
~> 10.0
~> 3.0
~> 0.47

Runtime

~> 0.0.1
~> 0.19
 Project Readme

nis-cli

Join the chat at https://gitter.im/44uk/nis-ruby

nem

Ruby CUI client for the NEM Infrastructure Server(NIS) API.

It is dependent on nis-ruby.gem.

Installation

$ gem install nis-cli

Usage

$ nis status
# => {"code":6,"type":4,"message":"status"}

$ nis heartbeat
# => {"code":1,"type":2,"message":"ok"}

$ nis request get account/get --params=address:TALICELCD3XPH4FFI5STGGNSNSWPOTG5E4DS2TOS
# => [AccountMetaDataPair structure]

$ nis request get account/harvests --params=address:TALICELCD3XPH4FFI5STGGNSNSWPOTG5E4DS2TOS hash:81d52a7df4abba8bb1613bcc42b6b93cf3114524939035d88ae8e864cd2c34c8
# => [Array <HervestInfo structure>]

Connection

You can choose nodes from NEM Node Rewards.

Environment Variable

$ export NIS_URL=http://23.228.67.85:7890
$ nis heartbeat # => {"code":1,"type":2,"message":"ok"}

Feedback and Contact

For further development of nem with ruby, feel free to send me your feedback!

Contributing

Bug reports and pull requests are welcome on GitHub at 44uk/nis-cli. This project is intended to be a safe, welcoming space for collaboration, and contributors are expected to adhere to the Contributor Covenant code of conduct.

License

The gem is available as open source under the terms of the MIT License.