Sha256: 02847fdd345ab0e2c92350c30ebc69a74ee0433f47a369295b19d29472913a2f

Contents?: true

Size: 886 Bytes

Versions: 1

Compression:

Stored size: 886 Bytes

Contents

# Integration.

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

## Image Build.

1. Add peatio-cpuchain gem into your Gemfile.plugin
```ruby
gem 'peatio-cpuchain', '~> 0.2.0'
```

2. Run `bundle install` for updating Gemfile.lock

3. Build custom Peatio [docker image with CPUchain plugin](https://github.com/rubykube/peatio/blob/master/docs/plugins.md#build)

4. Push your image using `docker push`

5. Update your deployment to use image with peatio-cpuchain gem

## Peatio Configuration.

1. Create CPUchain Blockchain [config example](../config/blockchains.yml).
    * No additional steps are needed

2. Create CPUchain Currency [config example](../config/currencies.yml).
    * No additional steps are needed

3. Create CPUchain Wallets [config example](../config/wallets.yml)(deposit and hot wallets are required).
    * No additional steps are needed

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
peatio-cpuchain-0.2.0 docs/integration.md