New Case Study:See how Anthropic automated 95% of dependency reviews with Socket.Learn More
Socket
Sign inDemoInstall
Socket

module-render-xyz

Package Overview
Dependencies
Maintainers
1
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

module-render-xyz

  • 0.1.3
  • Rubygems
  • Socket score

Version published
Maintainers
1
Created
Source

Peatio::Infura

Peatio infura plugin for Openware stack

Create Gem

Clone this repository

git clone https://github.com/mycework/peatio-infura.git

Enter peatio-infura folder and build image

docker build -t sundanny26/ruby-infura .

Run container

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

Enter container

docker exec -it infura_container bash

Build GEM

gem build peatio-infura.gemspec

Test GEM

./bin/setup
./bin/console
client = Peatio::Infura::Client.new('https://rinkeby.infura.io/v3/b5d560f71a4341428acacd4a5b25a8a0','https://rinkeby.infura.io/v3/b5d560f71a4341428acacd4a5b25a8a0')
client.json_rpc(:eth_blockNumber)

Push GEM

gem push peatio-infura-0.1.0.gem

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

gem yank -v 0.1.0 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

FAQs

Package last updated on 17 Dec 2019

Did you know?

Socket

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc