Project

scale_rb

0.0
The project is in a healthy, maintained state
This gem includes a ruby implementation of SCALE Codec, a general Substrate Http JSONRPC Client, and, a general Substrate Websocket JSON-RPC Client.
2005
2006
2007
2008
2009
2010
2011
2012
2013
2014
2015
2016
2017
2018
2019
2020
2021
2022
2023
2024
 Dependencies

Runtime

 Project Readme

ScaleRb

Installation

Add this line to your application's Gemfile:

gem "scale_rb"

And then execute:

$ bundle install

Or install it yourself as:

$ gem install scale_rb

Run examples

git clone https://github.com/wuminzhe/scale_rb.git
cd scale_rb
bundle install
bundle exec ruby examples/http_client_1.rb

Development

Run devcontainer

Open the project in vscode, then in the command palette, type Reopen in Container to open the project in a devcontainer.

image

After the devcontainer is opened, you can run the following commands:

  1. Tests:

    bundle exec rspec
  2. Examples:

    bundle exec ruby examples/http_client_1.rb

Contributing

Bug reports and pull requests are welcome on GitHub at https://github.com/wuminzhe/scale_rb. This project is intended to be a safe, welcoming space for collaboration, and contributors are expected to adhere to the code of conduct.

License

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

Code of Conduct

Everyone interacting in the ScaleRb project's codebases, issue trackers, chat rooms and mailing lists is expected to follow the code of conduct.