Peatio Plugin to enable Monero coin.
Add this line to your application's Gemfile.plugin
:
gem 'peatio-monero'
Coin:
config/seeds/currencies.yml
- id: xmr
name: Monero
blockchain_key: ~
symbol: 'M'
type: coin
precision: 12
base_factor: 1_000_000_000_000
enabled: true
# Deposits with less amount are skipped during blockchain synchronization.
# We advise to set value 10 times bigger than the network fee to prevent losses.
min_deposit_amount: 0.1
min_collection_amount: 0.1
withdraw_limit_24h: 0.5
withdraw_limit_72h: 1.2
deposit_fee: 0
withdraw_fee: 0
options: {}
wallet:
config/seeds/wallet.yml
deposit wallet:
settings:
# Monero gateway client settings.
uri: http://wallet_name:[email protected]:28083
account_index: 0 # Monero Account Index
hot wallet:
settings:
# Monero gateway client settings.
uri: http://wallet_name:[email protected]:28083
account_index: 0 # Monero Account Index
address_index: 1 # Monero Account Sub Address Index
Bug reports and pull requests are welcome on GitHub at https://github.com/[USERNAME]/peatio-monero. 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.
The gem is available as open source under the terms of the MIT License.
Everyone interacting in the Peatio::Monero project’s codebases, issue trackers, chat rooms and mailing lists is expected to follow the code of conduct.