0.0
No release in over 3 years
Low commit activity in last 3 years
Infura Peatio gem which implements Peatio::Blockchain::Abstract & Peatio::Wallet::Abstract.
2005
2006
2007
2008
2009
2010
2011
2012
2013
2014
2015
2016
2017
2018
2019
2020
2021
2022
2023
2024
 Dependencies

Development

~> 1.16
~> 1.8
~> 13.0
~> 3.0
~> 3.5

Runtime

~> 0.15.4
~> 0.16.0
>= 0.6.3
 Project Readme

Peatio::Infura

Peatio infura plugin for Openware stack

Create Gem

Clone this repository

git clone https://github.com/irmaster/Peatio-Infura.git

Enter peatio-infura folder and build image

docker build -t evinsoft/ruby-infura .

Run container

docker run --name infura_container -d evinsoft/ruby-infura

Enter container

docker exec -it infura_container bash

Build GEM

gem build peatio-infura.gemspec

Test GEM

 gem build *.gemspec --output=peatio-infura.gem
 gem install peatio-infura.gem

./bin/setup
./bin/console
client = Peatio::Infura::Client.new('https://kovan.infura.io/v3/186a22c7f0fe4dff998d57a823085ce4')
client.json_rpc(:eth_blockNumber)

Push GEM

gem push peatio-infura-0.1.5.gem

others Delete accidentaly added rubygem if the gem contains password, you should reset all passwords

gem yank -v 0.1.5 peatio-infura

Installation

Add this line to your application's Gemfile:

gem 'peatio-infura'

And then execute:

$ bundle

Or install it yourself as:

$ gem install peatio-infura

Usage

For Peatio Infura plugin integration you need to do the following steps:

Image Build.

  1. Add peatio-infura gem into your Gemfile.plugin
gem 'peatio-infura', '~> 0.2.0'
  1. Run bundle install for updating Gemfile.lock

  2. Build custom Peatio docker image with Infura plugin

  3. Push your image using docker push

  4. Update your deployment to use image with peatio-infura gem

Peatio Configuration.

  1. Create Infura Blockchain config example.

    • No additional steps are needed
  2. Create Infura Currency config example.

    • No additional steps are needed
  3. Create Infura Wallets config example(deposit and hot wallets are required).

    • No additional steps are needed

Development

Plugin development example.

Contributing

Bug reports and pull requests are welcome on GitHub at https://github.com/rubykube/peatio-infura.

License

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

Consulting

You can contact Openware for finding certified vendors: Openware.com