Initial commit
This commit is contained in:
69
templates/config/peatio/seed/accounts.yml.erb
Normal file
69
templates/config/peatio/seed/accounts.yml.erb
Normal file
@@ -0,0 +1,69 @@
|
||||
- code: 101
|
||||
type: asset
|
||||
kind: main
|
||||
currency_type: fiat
|
||||
description: Main Fiat Assets Account
|
||||
scope: platform
|
||||
|
||||
- code: 102
|
||||
type: asset
|
||||
kind: main
|
||||
currency_type: coin
|
||||
description: Main Crypto Assets Account
|
||||
scope: platform
|
||||
|
||||
- code: 201
|
||||
type: liability
|
||||
kind: main
|
||||
currency_type: fiat
|
||||
description: Main Fiat Liabilities Account
|
||||
scope: member
|
||||
|
||||
- code: 202
|
||||
type: liability
|
||||
kind: main
|
||||
currency_type: coin
|
||||
description: Main Crypto Liabilities Account
|
||||
scope: member
|
||||
|
||||
- code: 211
|
||||
type: liability
|
||||
kind: locked
|
||||
currency_type: fiat
|
||||
description: Locked Fiat Liabilities Account
|
||||
scope: member
|
||||
|
||||
- code: 212
|
||||
type: liability
|
||||
kind: locked
|
||||
currency_type: coin
|
||||
description: Locked Crypto Liabilities Account
|
||||
scope: member
|
||||
|
||||
- code: 301
|
||||
type: revenue
|
||||
kind: main
|
||||
currency_type: fiat
|
||||
description: Main Fiat Revenues Account
|
||||
scope: platform
|
||||
|
||||
- code: 302
|
||||
type: revenue
|
||||
kind: main
|
||||
currency_type: coin
|
||||
description: Main Crypto Revenues Account
|
||||
scope: platform
|
||||
|
||||
- code: 401
|
||||
type: expense
|
||||
kind: main
|
||||
currency_type: fiat
|
||||
description: Main Fiat Expenses Account
|
||||
scope: platform
|
||||
|
||||
- code: 402
|
||||
type: expense
|
||||
kind: main
|
||||
currency_type: coin
|
||||
description: Main Crypto Expenses Account
|
||||
scope: platform
|
||||
96
templates/config/peatio/seed/blockchains.yml.erb
Normal file
96
templates/config/peatio/seed/blockchains.yml.erb
Normal file
@@ -0,0 +1,96 @@
|
||||
<% if @config['parity']['enabled'] %>
|
||||
- key: eth-<%= @config['parity']['network'] %>
|
||||
name: Ethereum <%= @config['parity']['network'].capitalize %>
|
||||
client: parity
|
||||
server: http://<%= @config['parity']['address'] %>:<%= @config['parity']['rpcport'] %>
|
||||
height: 8670000
|
||||
min_confirmations: 6
|
||||
explorer:
|
||||
address: https://etherscan.io/address/#{address}
|
||||
transaction: https://etherscan.io/tx/#{txid}
|
||||
status: active
|
||||
<% end %>
|
||||
|
||||
<% if @config['bitcoind']['enabled'] %>
|
||||
- key: btc-<%= @config['bitcoind']['network'] %>
|
||||
name: Bitcoin <%= @config['bitcoind']['network'].capitalize %>
|
||||
client: bitcoin
|
||||
server: http://<%= @config['bitcoind']['rpcuser'] %>:<%= @config['bitcoind']['rpcpassword'] %>@<%= @config['bitcoind']['address'] %>:<%= @config['bitcoind']['rpcport'] %>
|
||||
height: 597000
|
||||
min_confirmations: 6
|
||||
explorer:
|
||||
address: https://blockchain.com/address/#{address}
|
||||
transaction: https://blockchain.com/tx/#{txid}
|
||||
status: active
|
||||
<% end %>
|
||||
|
||||
<% if @config['BetaCandaTestNetwork'] %>
|
||||
|
||||
- key: eth-rinkeby
|
||||
name: Ethereum Rinkeby
|
||||
client: geth # API client name.
|
||||
server: http://127.0.0.1:8545 # Public Ethereum node endpoint. IMPORTANT: full syncmode.
|
||||
height: 4000000 # Initial block number from which sync will be started.
|
||||
min_confirmations: 6 # Minimal confirmations needed for withdraw and deposit confirmation.
|
||||
explorer:
|
||||
address: https://rinkeby.etherscan.io/address/#{address}
|
||||
transaction: https://rinkeby.etherscan.io/tx/#{txid}
|
||||
status: active
|
||||
|
||||
- key: btc-testnet
|
||||
name: Bitcoin Testnet
|
||||
client: bitcoin # API client name.
|
||||
server: http://user:password@127.0.0.1:18332 # Public Bitcoin node endpoint.
|
||||
height: 1500000 # Initial block number from which sync will be started.
|
||||
min_confirmations: 2 # Minimal confirmations needed for withdraw and deposit confirmation.
|
||||
explorer:
|
||||
address: https://testnet.blockchain.com/address/#{address}
|
||||
transaction: https://testnet.blockchain.com/tx/#{txid}
|
||||
status: active
|
||||
|
||||
- key: bsc-testnet
|
||||
name: BSC Testnet
|
||||
client: bitcoin # API client name.
|
||||
server: http://user:password@127.0.0.1:18332 # Public Bitcoin node endpoint.
|
||||
height: 4000000 # Initial block number from which sync will be started.
|
||||
min_confirmations: 15 # Minimal confirmations needed for withdraw and deposit confirmation.
|
||||
explorer:
|
||||
address: https://testnet.bscscan.com/address/#{address}
|
||||
transaction: https://testnet.bscscan.com/tx/#{txid}
|
||||
status: active
|
||||
|
||||
- key: trx-testnet
|
||||
name: Tron Testnet
|
||||
client: bitcoin # API client name.
|
||||
server: http://user:password@127.0.0.1:18332 # Public Bitcoin node endpoint.
|
||||
height: 4000000 # Initial block number from which sync will be started.
|
||||
min_confirmations: 15 # Minimal confirmations needed for withdraw and deposit confirmation.
|
||||
explorer:
|
||||
address: https://tronscan.org/#/address/#{address}
|
||||
transaction: https://tronscan.org/#/tx/#{txid}
|
||||
status: active
|
||||
|
||||
- key: xlm-testnet
|
||||
name: XLM Testnet
|
||||
client: bitcoin # API client name.
|
||||
server: http://user:password@127.0.0.1:18332 # Public Bitcoin node endpoint.
|
||||
height: 4000000 # Initial block number from which sync will be started.
|
||||
min_confirmations: 1 # Minimal confirmations needed for withdraw and deposit confirmation.
|
||||
explorer:
|
||||
address: https://stellarscan.io/address/#{address}
|
||||
transaction: https://stellarscan.io/tx/#{txid}
|
||||
status: active
|
||||
|
||||
- key: xrp-testnet
|
||||
name: XRP Testnet
|
||||
client: bitcoin # API client name.
|
||||
server: http://user:password@127.0.0.1:18332 # Public Bitcoin node endpoint.
|
||||
height: 4000000 # Initial block number from which sync will be started.
|
||||
min_confirmations: 1 # Minimal confirmations needed for withdraw and deposit confirmation.
|
||||
explorer:
|
||||
address: https://xrpscan.com/account/#{address}
|
||||
transaction: https://xrpscan.com/tx/#{txid}
|
||||
status: active
|
||||
|
||||
|
||||
<% end %>
|
||||
411
templates/config/peatio/seed/currencies.yml.erb
Normal file
411
templates/config/peatio/seed/currencies.yml.erb
Normal file
@@ -0,0 +1,411 @@
|
||||
- id: irt
|
||||
name: Iranian Toman
|
||||
type: fiat
|
||||
precision: 2
|
||||
base_factor: 1
|
||||
visible: true
|
||||
deposit_enabled: false
|
||||
withdrawal_enabled: false
|
||||
min_deposit_amount: 10
|
||||
min_collection_amount: 10
|
||||
withdraw_limit_24h: 1000
|
||||
withdraw_limit_72h: 2000
|
||||
deposit_fee: 0
|
||||
withdraw_fee: 0
|
||||
position: 100
|
||||
options: {}
|
||||
|
||||
<% if @config['BetaCandaTestNetwork'] %>
|
||||
|
||||
- id: cad
|
||||
name: Canadian Dollar
|
||||
type: fiat
|
||||
precision: 2
|
||||
base_factor: 1
|
||||
visible: true
|
||||
deposit_enabled: false
|
||||
withdrawal_enabled: false
|
||||
min_deposit_amount: 10
|
||||
min_collection_amount: 10
|
||||
withdraw_limit_24h: 1000
|
||||
withdraw_limit_72h: 2000
|
||||
deposit_fee: 0
|
||||
withdraw_fee: 0
|
||||
position: 1
|
||||
options: {}
|
||||
|
||||
- id: usdt
|
||||
name: Tether
|
||||
blockchain_key: eth-rinkeby
|
||||
type: coin
|
||||
precision: 2
|
||||
base_factor: 1
|
||||
# IMPORTANT: Don't forget to update this variable according
|
||||
# to your ERC20-based currency requirements (usually can be found on the official website).
|
||||
visible: true
|
||||
deposit_enabled: false
|
||||
withdrawal_enabled: false
|
||||
# Deposits with less amount are skipped during blockchain synchronization.
|
||||
# We advise to set value 10 times bigger than the network fee to prevent losses.
|
||||
# NOTE: Network fee is paid in ETH but min_deposit_amount is in TRST.
|
||||
min_deposit_amount: 2
|
||||
min_collection_amount: 20
|
||||
withdraw_limit_24h: 1000
|
||||
withdraw_limit_72h: 3000
|
||||
deposit_fee: 0
|
||||
withdraw_fee: 4
|
||||
position: 2
|
||||
options:
|
||||
# ERC20 tx fees configurations.
|
||||
# Maximum amount of gas you're willing to spend on a particular transaction.
|
||||
gas_limit: 90_000
|
||||
# Internal price that is paid for running a contract on the Ethereum network.
|
||||
gas_price: 1_000_000_000
|
||||
#
|
||||
# ERC20 configuration.
|
||||
erc20_contract_address: '0xdac17f958d2ee523a2206206994597c13d831ec7' # Always wrap this value in quotes!
|
||||
|
||||
- id: btc
|
||||
name: Bitcoin
|
||||
blockchain_key: btc-testnet
|
||||
type: coin
|
||||
precision: 8
|
||||
base_factor: 100_000_000
|
||||
visible: true
|
||||
deposit_enabled: false
|
||||
withdrawal_enabled: false
|
||||
min_deposit_amount: 0.00005
|
||||
min_collection_amount: 0.0001
|
||||
withdraw_limit_24h: 0.1
|
||||
withdraw_limit_72h: 0.2
|
||||
deposit_fee: 0
|
||||
withdraw_fee: 0.0003
|
||||
position: 3
|
||||
options: {}
|
||||
|
||||
- id: eth
|
||||
name: Ethereum
|
||||
blockchain_key: eth-rinkeby
|
||||
type: coin
|
||||
precision: 8
|
||||
base_factor: 1_000_000_000_000_000_000
|
||||
visible: true
|
||||
deposit_enabled: false
|
||||
withdrawal_enabled: false
|
||||
min_deposit_amount: 0.00021
|
||||
min_collection_amount: 0.00021
|
||||
withdraw_limit_24h: 0.2
|
||||
withdraw_limit_72h: 0.5
|
||||
deposit_fee: 0
|
||||
withdraw_fee: 0
|
||||
position: 4
|
||||
options:
|
||||
gas_limit: 21_000
|
||||
gas_price: 1_000_000_000
|
||||
|
||||
- id: etc
|
||||
name: Ethereum Classic
|
||||
blockchain_key: btc-testnet
|
||||
type: coin
|
||||
precision: 8
|
||||
base_factor: 1_000_000_000_000_000_000
|
||||
visible: true
|
||||
deposit_enabled: false
|
||||
withdrawal_enabled: false
|
||||
min_deposit_amount: 0.00021
|
||||
min_collection_amount: 0.00021
|
||||
withdraw_limit_24h: 0.2
|
||||
withdraw_limit_72h: 0.5
|
||||
deposit_fee: 0
|
||||
withdraw_fee: 0
|
||||
position: 5
|
||||
options: {}
|
||||
|
||||
- id: shib
|
||||
name: 1000 Shiba Inu
|
||||
blockchain_key: btc-testnet
|
||||
type: coin
|
||||
precision: 8
|
||||
base_factor: 100_000_000
|
||||
visible: true
|
||||
deposit_enabled: false
|
||||
withdrawal_enabled: false
|
||||
min_deposit_amount: 1000
|
||||
min_collection_amount: 1000
|
||||
withdraw_limit_24h: 0.2
|
||||
withdraw_limit_72h: 0.5
|
||||
deposit_fee: 0
|
||||
withdraw_fee: 400
|
||||
position: 6
|
||||
options: {}
|
||||
|
||||
- id: bch
|
||||
name: Bitcoin Cash
|
||||
blockchain_key: btc-testnet
|
||||
type: coin
|
||||
precision: 8
|
||||
base_factor: 100_000_000
|
||||
visible: true
|
||||
deposit_enabled: false
|
||||
withdrawal_enabled: false
|
||||
min_deposit_amount: 1000
|
||||
min_collection_amount: 1000
|
||||
withdraw_limit_24h: 0.2
|
||||
withdraw_limit_72h: 0.5
|
||||
deposit_fee: 0
|
||||
withdraw_fee: 400
|
||||
position: 7
|
||||
options: {}
|
||||
|
||||
- id: ltc
|
||||
name: Litecoin
|
||||
blockchain_key: btc-testnet
|
||||
type: coin
|
||||
precision: 8
|
||||
base_factor: 100_000_000
|
||||
visible: true
|
||||
deposit_enabled: false
|
||||
withdrawal_enabled: false
|
||||
min_deposit_amount: 1000
|
||||
min_collection_amount: 1000
|
||||
withdraw_limit_24h: 0.2
|
||||
withdraw_limit_72h: 0.5
|
||||
deposit_fee: 0
|
||||
withdraw_fee: 400
|
||||
position: 8
|
||||
options: {}
|
||||
|
||||
- id: ada
|
||||
name: Cardano
|
||||
blockchain_key: btc-testnet
|
||||
type: coin
|
||||
precision: 8
|
||||
base_factor: 100_000_000
|
||||
visible: true
|
||||
deposit_enabled: false
|
||||
withdrawal_enabled: false
|
||||
min_deposit_amount: 1000
|
||||
min_collection_amount: 1000
|
||||
withdraw_limit_24h: 0.2
|
||||
withdraw_limit_72h: 0.5
|
||||
deposit_fee: 0
|
||||
withdraw_fee: 400
|
||||
position: 9
|
||||
options: {}
|
||||
|
||||
- id: bnb
|
||||
name: BNB
|
||||
blockchain_key: btc-testnet
|
||||
type: coin
|
||||
precision: 8
|
||||
base_factor: 100_000_000
|
||||
visible: true
|
||||
deposit_enabled: false
|
||||
withdrawal_enabled: false
|
||||
min_deposit_amount: 1000
|
||||
min_collection_amount: 1000
|
||||
withdraw_limit_24h: 0.2
|
||||
withdraw_limit_72h: 0.5
|
||||
deposit_fee: 0
|
||||
withdraw_fee: 400
|
||||
position: 10
|
||||
options: {}
|
||||
|
||||
- id: xlm
|
||||
name: Stellar Lumens
|
||||
blockchain_key: xlm-testnet
|
||||
type: coin
|
||||
precision: 8
|
||||
base_factor: 100_000_000
|
||||
visible: true
|
||||
deposit_enabled: false
|
||||
withdrawal_enabled: false
|
||||
min_deposit_amount: 1000
|
||||
min_collection_amount: 1000
|
||||
withdraw_limit_24h: 0.2
|
||||
withdraw_limit_72h: 0.5
|
||||
deposit_fee: 0
|
||||
withdraw_fee: 400
|
||||
position: 11
|
||||
options: {}
|
||||
|
||||
- id: xrp
|
||||
name: Ripple
|
||||
blockchain_key: bsc-testnet
|
||||
type: coin
|
||||
precision: 8
|
||||
base_factor: 100_000_000
|
||||
visible: true
|
||||
deposit_enabled: false
|
||||
withdrawal_enabled: false
|
||||
min_deposit_amount: 1000
|
||||
min_collection_amount: 1000
|
||||
withdraw_limit_24h: 0.2
|
||||
withdraw_limit_72h: 0.5
|
||||
deposit_fee: 0
|
||||
withdraw_fee: 400
|
||||
position: 12
|
||||
options: {}
|
||||
|
||||
- id: trx
|
||||
name: Tron
|
||||
blockchain_key: trx-testnet
|
||||
type: coin
|
||||
precision: 8
|
||||
base_factor: 100_000_000
|
||||
visible: true
|
||||
deposit_enabled: false
|
||||
withdrawal_enabled: false
|
||||
min_deposit_amount: 1000
|
||||
min_collection_amount: 1000
|
||||
withdraw_limit_24h: 0.2
|
||||
withdraw_limit_72h: 0.5
|
||||
deposit_fee: 0
|
||||
withdraw_fee: 400
|
||||
position: 13
|
||||
options: {}
|
||||
|
||||
- id: doge
|
||||
name: Dogecoin
|
||||
blockchain_key: bsc-testnet
|
||||
type: coin
|
||||
precision: 8
|
||||
base_factor: 100_000_000
|
||||
visible: true
|
||||
deposit_enabled: false
|
||||
withdrawal_enabled: false
|
||||
min_deposit_amount: 1000
|
||||
min_collection_amount: 1000
|
||||
withdraw_limit_24h: 0.2
|
||||
withdraw_limit_72h: 0.5
|
||||
deposit_fee: 0
|
||||
withdraw_fee: 400
|
||||
position: 14
|
||||
options: {}
|
||||
|
||||
- id: uni
|
||||
name: Uniswap
|
||||
blockchain_key: bsc-testnet
|
||||
type: coin
|
||||
precision: 8
|
||||
base_factor: 100_000_000
|
||||
visible: true
|
||||
deposit_enabled: false
|
||||
withdrawal_enabled: false
|
||||
min_deposit_amount: 1000
|
||||
min_collection_amount: 1000
|
||||
withdraw_limit_24h: 0.2
|
||||
withdraw_limit_72h: 0.5
|
||||
deposit_fee: 0
|
||||
withdraw_fee: 400
|
||||
position: 15
|
||||
options: {}
|
||||
|
||||
- id: link
|
||||
name: Chainlink
|
||||
blockchain_key: bsc-testnet
|
||||
type: coin
|
||||
precision: 8
|
||||
base_factor: 100_000_000
|
||||
visible: true
|
||||
deposit_enabled: false
|
||||
withdrawal_enabled: false
|
||||
min_deposit_amount: 1000
|
||||
min_collection_amount: 1000
|
||||
withdraw_limit_24h: 0.2
|
||||
withdraw_limit_72h: 0.5
|
||||
deposit_fee: 0
|
||||
withdraw_fee: 400
|
||||
position: 16
|
||||
options: {}
|
||||
|
||||
- id: dot
|
||||
name: Polkadot
|
||||
blockchain_key: bsc-testnet
|
||||
type: coin
|
||||
precision: 8
|
||||
base_factor: 100_000_000
|
||||
visible: true
|
||||
deposit_enabled: false
|
||||
withdrawal_enabled: false
|
||||
min_deposit_amount: 1000
|
||||
min_collection_amount: 1000
|
||||
withdraw_limit_24h: 0.2
|
||||
withdraw_limit_72h: 0.5
|
||||
deposit_fee: 0
|
||||
withdraw_fee: 400
|
||||
position: 17
|
||||
options: {}
|
||||
|
||||
- id: aave
|
||||
name: AAVE
|
||||
blockchain_key: bsc-testnet
|
||||
type: coin
|
||||
precision: 8
|
||||
base_factor: 100_000_000
|
||||
visible: true
|
||||
deposit_enabled: false
|
||||
withdrawal_enabled: false
|
||||
min_deposit_amount: 1000
|
||||
min_collection_amount: 1000
|
||||
withdraw_limit_24h: 0.2
|
||||
withdraw_limit_72h: 0.5
|
||||
deposit_fee: 0
|
||||
withdraw_fee: 400
|
||||
position: 18
|
||||
options: {}
|
||||
|
||||
- id: matic
|
||||
name: Polygon
|
||||
blockchain_key: bsc-testnet
|
||||
type: coin
|
||||
precision: 8
|
||||
base_factor: 100_000_000
|
||||
visible: true
|
||||
deposit_enabled: false
|
||||
withdrawal_enabled: false
|
||||
min_deposit_amount: 1000
|
||||
min_collection_amount: 1000
|
||||
withdraw_limit_24h: 0.2
|
||||
withdraw_limit_72h: 0.5
|
||||
deposit_fee: 0
|
||||
withdraw_fee: 400
|
||||
position: 19
|
||||
options: {}
|
||||
|
||||
- id: mkr
|
||||
name: Maker
|
||||
blockchain_key: bsc-testnet
|
||||
type: coin
|
||||
precision: 8
|
||||
base_factor: 100_000_000
|
||||
visible: true
|
||||
deposit_enabled: false
|
||||
withdrawal_enabled: false
|
||||
min_deposit_amount: 1000
|
||||
min_collection_amount: 1000
|
||||
withdraw_limit_24h: 0.2
|
||||
withdraw_limit_72h: 0.5
|
||||
deposit_fee: 0
|
||||
withdraw_fee: 400
|
||||
position: 20
|
||||
options: {}
|
||||
|
||||
- id: sol
|
||||
name: Solana
|
||||
blockchain_key: bsc-testnet
|
||||
type: coin
|
||||
precision: 8
|
||||
base_factor: 100_000_000
|
||||
visible: true
|
||||
deposit_enabled: false
|
||||
withdrawal_enabled: false
|
||||
min_deposit_amount: 1000
|
||||
min_collection_amount: 1000
|
||||
withdraw_limit_24h: 0.2
|
||||
withdraw_limit_72h: 0.5
|
||||
deposit_fee: 0
|
||||
withdraw_fee: 400
|
||||
position: 21
|
||||
options: {}
|
||||
<% end %>
|
||||
4
templates/config/peatio/seed/deposit_limit.yml.erb
Normal file
4
templates/config/peatio/seed/deposit_limit.yml.erb
Normal file
@@ -0,0 +1,4 @@
|
||||
- id: 1
|
||||
kind: 'fiat'
|
||||
kyc_level: 1
|
||||
limit_24_hour: 10000
|
||||
20
templates/config/peatio/seed/engines.yml.erb
Normal file
20
templates/config/peatio/seed/engines.yml.erb
Normal file
@@ -0,0 +1,20 @@
|
||||
- name: peatio-default-engine
|
||||
driver: peatio
|
||||
state: online
|
||||
- name: local-finex-spot-engine
|
||||
driver: finex-spot
|
||||
state: online
|
||||
- name: opendax-finex-spot-engine
|
||||
driver: opendax
|
||||
url: https://www.opendax.io/api/v2/finex
|
||||
key: ""
|
||||
secret: ""
|
||||
# The data field for store some special data engine
|
||||
# Can be used in upstream worker
|
||||
data: |
|
||||
{
|
||||
"rest"=>"https://www.opendax.io/api/v2/finex",
|
||||
"websocket"=>"wss://www.opendax.io/api/v2/ranger",
|
||||
"trade_proxy"=>true,
|
||||
}
|
||||
state: online
|
||||
524
templates/config/peatio/seed/markets.yml.erb
Normal file
524
templates/config/peatio/seed/markets.yml.erb
Normal file
@@ -0,0 +1,524 @@
|
||||
- id: usdtirt
|
||||
engine_name: peatio-default-engine
|
||||
base_unit: usdt
|
||||
quote_unit: irt
|
||||
amount_precision: 2
|
||||
price_precision: 4
|
||||
min_price: 1000
|
||||
max_price: 100000
|
||||
min_amount: 1
|
||||
position: 1
|
||||
state: disabled
|
||||
data: {}
|
||||
|
||||
<% if @config['BetaCandaTestNetwork'] %>
|
||||
# CAD Market------------------------------------------
|
||||
- id: usdtcad
|
||||
engine_name: peatio-default-engine
|
||||
base_unit: usdt
|
||||
quote_unit: cad
|
||||
amount_precision: 2
|
||||
price_precision: 2
|
||||
min_price: 0.1
|
||||
max_price: 100
|
||||
min_amount: 1
|
||||
position: 1
|
||||
state: enabled
|
||||
data: {}
|
||||
|
||||
- id: btccad
|
||||
engine_name: peatio-default-engine
|
||||
base_unit: btc
|
||||
quote_unit: cad
|
||||
amount_precision: 6
|
||||
price_precision: 2
|
||||
min_price: 1000
|
||||
max_price: 200000
|
||||
min_amount: 0.0001
|
||||
position: 2
|
||||
state: enabled
|
||||
data: {}
|
||||
|
||||
- id: ethcad
|
||||
engine_name: peatio-default-engine
|
||||
base_unit: eth
|
||||
quote_unit: cad
|
||||
amount_precision: 5
|
||||
price_precision: 2
|
||||
min_price: 100
|
||||
max_price: 20000
|
||||
min_amount: 0.0001
|
||||
position: 3
|
||||
state: enabled
|
||||
data: {}
|
||||
|
||||
- id: etccad
|
||||
engine_name: peatio-default-engine
|
||||
base_unit: etc
|
||||
quote_unit: cad
|
||||
amount_precision: 2
|
||||
price_precision: 4
|
||||
min_price: 1
|
||||
max_price: 500
|
||||
min_amount: 0.01
|
||||
position: 4
|
||||
state: enabled
|
||||
data: {}
|
||||
|
||||
- id: shibcad
|
||||
engine_name: peatio-default-engine
|
||||
base_unit: shib
|
||||
quote_unit: cad
|
||||
amount_precision: 0
|
||||
price_precision: 6
|
||||
min_price: 0.00001
|
||||
max_price: 10
|
||||
min_amount: 1
|
||||
position: 5
|
||||
state: enabled
|
||||
data: {}
|
||||
|
||||
- id: bchcad
|
||||
engine_name: peatio-default-engine
|
||||
base_unit: bch
|
||||
quote_unit: cad
|
||||
amount_precision: 5
|
||||
price_precision: 2
|
||||
min_price: 0.1
|
||||
max_price: 5000
|
||||
min_amount: 0.001
|
||||
position: 6
|
||||
state: enabled
|
||||
data: {}
|
||||
|
||||
- id: ltccad
|
||||
engine_name: peatio-default-engine
|
||||
base_unit: ltc
|
||||
quote_unit: cad
|
||||
amount_precision: 6
|
||||
price_precision: 2
|
||||
min_price: 0.1
|
||||
max_price: 5000
|
||||
min_amount: 0.001
|
||||
position: 7
|
||||
state: enabled
|
||||
data: {}
|
||||
|
||||
- id: adacad
|
||||
engine_name: peatio-default-engine
|
||||
base_unit: ada
|
||||
quote_unit: cad
|
||||
amount_precision: 3
|
||||
price_precision: 4
|
||||
min_price: 0.0001
|
||||
max_price: 100
|
||||
min_amount: 0.1
|
||||
position: 8
|
||||
state: enabled
|
||||
data: {}
|
||||
|
||||
- id: bnbcad
|
||||
engine_name: peatio-default-engine
|
||||
base_unit: bnb
|
||||
quote_unit: cad
|
||||
amount_precision: 4
|
||||
price_precision: 3
|
||||
min_price: 1
|
||||
max_price: 5000
|
||||
min_amount: 0.01
|
||||
position: 9
|
||||
state: enabled
|
||||
data: {}
|
||||
|
||||
- id: xlmcad
|
||||
engine_name: peatio-default-engine
|
||||
base_unit: xlm
|
||||
quote_unit: cad
|
||||
amount_precision: 5
|
||||
price_precision: 4
|
||||
min_price: 0.0001
|
||||
max_price: 100
|
||||
min_amount: 0.1
|
||||
position: 10
|
||||
state: enabled
|
||||
data: {}
|
||||
|
||||
- id: xrpcad
|
||||
engine_name: peatio-default-engine
|
||||
base_unit: xrp
|
||||
quote_unit: cad
|
||||
amount_precision: 5
|
||||
price_precision: 4
|
||||
min_price: 0.0001
|
||||
max_price: 100
|
||||
min_amount: 0.1
|
||||
position: 11
|
||||
state: enabled
|
||||
data: {}
|
||||
|
||||
- id: trxcad
|
||||
engine_name: peatio-default-engine
|
||||
base_unit: trx
|
||||
quote_unit: cad
|
||||
amount_precision: 5
|
||||
price_precision: 4
|
||||
min_price: 0.0001
|
||||
max_price: 100
|
||||
min_amount: 0.1
|
||||
position: 12
|
||||
state: enabled
|
||||
data: {}
|
||||
|
||||
- id: dogecad
|
||||
engine_name: peatio-default-engine
|
||||
base_unit: doge
|
||||
quote_unit: cad
|
||||
amount_precision: 5
|
||||
price_precision: 4
|
||||
min_price: 0.0001
|
||||
max_price: 100
|
||||
min_amount: 1
|
||||
position: 13
|
||||
state: enabled
|
||||
data: {}
|
||||
|
||||
- id: unicad
|
||||
engine_name: peatio-default-engine
|
||||
base_unit: uni
|
||||
quote_unit: cad
|
||||
amount_precision: 4
|
||||
price_precision: 4
|
||||
min_price: 0.0001
|
||||
max_price: 100
|
||||
min_amount: 0.001
|
||||
position: 14
|
||||
state: enabled
|
||||
data: {}
|
||||
|
||||
- id: linkcad
|
||||
engine_name: peatio-default-engine
|
||||
base_unit: link
|
||||
quote_unit: cad
|
||||
amount_precision: 4
|
||||
price_precision: 4
|
||||
min_price: 0.0001
|
||||
max_price: 100
|
||||
min_amount: 0.001
|
||||
position: 15
|
||||
state: enabled
|
||||
data: {}
|
||||
|
||||
- id: dotcad
|
||||
engine_name: peatio-default-engine
|
||||
base_unit: dot
|
||||
quote_unit: cad
|
||||
amount_precision: 3
|
||||
price_precision: 4
|
||||
min_price: 0.001
|
||||
max_price: 100
|
||||
min_amount: 0.1
|
||||
position: 16
|
||||
state: enabled
|
||||
data: {}
|
||||
|
||||
- id: aavecad
|
||||
engine_name: peatio-default-engine
|
||||
base_unit: aave
|
||||
quote_unit: cad
|
||||
amount_precision: 4
|
||||
price_precision: 6
|
||||
min_price: 0.1
|
||||
max_price: 5000
|
||||
min_amount: 0.0001
|
||||
position: 17
|
||||
state: enabled
|
||||
data: {}
|
||||
|
||||
- id: maticcad
|
||||
engine_name: peatio-default-engine
|
||||
base_unit: matic
|
||||
quote_unit: cad
|
||||
amount_precision: 3
|
||||
price_precision: 4
|
||||
min_price: 0.001
|
||||
max_price: 100
|
||||
min_amount: 1
|
||||
position: 18
|
||||
state: enabled
|
||||
data: {}
|
||||
|
||||
- id: mkrcad
|
||||
engine_name: peatio-default-engine
|
||||
base_unit: mkr
|
||||
quote_unit: cad
|
||||
amount_precision: 4
|
||||
price_precision: 4
|
||||
min_price: 0.1
|
||||
max_price: 5000
|
||||
min_amount: 0.0001
|
||||
position: 19
|
||||
state: enabled
|
||||
data: {}
|
||||
|
||||
- id: solcad
|
||||
engine_name: peatio-default-engine
|
||||
base_unit: sol
|
||||
quote_unit: cad
|
||||
amount_precision: 4
|
||||
price_precision: 6
|
||||
min_price: 0.001
|
||||
max_price: 100
|
||||
min_amount: 0.001
|
||||
position: 20
|
||||
state: enabled
|
||||
data: {}
|
||||
|
||||
# USDT Market------------------------------------------
|
||||
- id: btcusdt
|
||||
engine_name: peatio-default-engine
|
||||
base_unit: btc
|
||||
quote_unit: usdt
|
||||
amount_precision: 6
|
||||
price_precision: 4
|
||||
min_price: 1000
|
||||
max_price: 200000
|
||||
min_amount: 0.0001
|
||||
position: 21
|
||||
state: enabled
|
||||
data: {}
|
||||
|
||||
- id: ethusdt
|
||||
engine_name: peatio-default-engine
|
||||
base_unit: eth
|
||||
quote_unit: usdt
|
||||
amount_precision: 5
|
||||
price_precision: 4
|
||||
min_price: 100
|
||||
max_price: 20000
|
||||
min_amount: 0.0001
|
||||
position: 22
|
||||
state: enabled
|
||||
data: {}
|
||||
|
||||
- id: etcusdt
|
||||
engine_name: peatio-default-engine
|
||||
base_unit: etc
|
||||
quote_unit: usdt
|
||||
amount_precision: 4
|
||||
price_precision: 4
|
||||
min_price: 1
|
||||
max_price: 500
|
||||
min_amount: 0.001
|
||||
position: 23
|
||||
state: enabled
|
||||
data: {}
|
||||
|
||||
- id: shibusdt
|
||||
engine_name: peatio-default-engine
|
||||
base_unit: shib
|
||||
quote_unit: usdt
|
||||
amount_precision: 0
|
||||
price_precision: 6
|
||||
min_price: 0.000001
|
||||
max_price: 10
|
||||
min_amount: 1
|
||||
position: 24
|
||||
state: enabled
|
||||
data: {}
|
||||
|
||||
- id: bchusdt
|
||||
engine_name: peatio-default-engine
|
||||
base_unit: bch
|
||||
quote_unit: usdt
|
||||
amount_precision: 5
|
||||
price_precision: 4
|
||||
min_price: 0.1
|
||||
max_price: 5000
|
||||
min_amount: 0.001
|
||||
position: 25
|
||||
state: enabled
|
||||
data: {}
|
||||
|
||||
- id: ltcusdt
|
||||
engine_name: peatio-default-engine
|
||||
base_unit: ltc
|
||||
quote_unit: usdt
|
||||
amount_precision: 6
|
||||
price_precision: 4
|
||||
min_price: 0.1
|
||||
max_price: 5000
|
||||
min_amount: 0.0001
|
||||
position: 26
|
||||
state: enabled
|
||||
data: {}
|
||||
|
||||
- id: adausdt
|
||||
engine_name: peatio-default-engine
|
||||
base_unit: ada
|
||||
quote_unit: usdt
|
||||
amount_precision: 3
|
||||
price_precision: 4
|
||||
min_price: 0.0001
|
||||
max_price: 100
|
||||
min_amount: 0.1
|
||||
position: 27
|
||||
state: enabled
|
||||
data: {}
|
||||
|
||||
- id: bnbusdt
|
||||
engine_name: peatio-default-engine
|
||||
base_unit: bnb
|
||||
quote_unit: usdt
|
||||
amount_precision: 4
|
||||
price_precision: 3
|
||||
min_price: 1
|
||||
max_price: 5000
|
||||
min_amount: 0.01
|
||||
position: 28
|
||||
state: enabled
|
||||
data: {}
|
||||
|
||||
- id: xlmusdt
|
||||
engine_name: peatio-default-engine
|
||||
base_unit: xlm
|
||||
quote_unit: usdt
|
||||
amount_precision: 5
|
||||
price_precision: 4
|
||||
min_price: 0.0001
|
||||
max_price: 100
|
||||
min_amount: 0.1
|
||||
position: 29
|
||||
state: enabled
|
||||
data: {}
|
||||
|
||||
- id: xrpusdt
|
||||
engine_name: peatio-default-engine
|
||||
base_unit: xrp
|
||||
quote_unit: usdt
|
||||
amount_precision: 5
|
||||
price_precision: 4
|
||||
min_price: 0.0001
|
||||
max_price: 100
|
||||
min_amount: 0.1
|
||||
position: 30
|
||||
state: enabled
|
||||
data: {}
|
||||
|
||||
- id: trxusdt
|
||||
engine_name: peatio-default-engine
|
||||
base_unit: trx
|
||||
quote_unit: usdt
|
||||
amount_precision: 5
|
||||
price_precision: 4
|
||||
min_price: 0.0001
|
||||
max_price: 100
|
||||
min_amount: 0.1
|
||||
position: 31
|
||||
state: enabled
|
||||
data: {}
|
||||
|
||||
- id: dogeusdt
|
||||
engine_name: peatio-default-engine
|
||||
base_unit: doge
|
||||
quote_unit: usdt
|
||||
amount_precision: 5
|
||||
price_precision: 4
|
||||
min_price: 0.0001
|
||||
max_price: 100
|
||||
min_amount: 1
|
||||
position: 32
|
||||
state: enabled
|
||||
data: {}
|
||||
|
||||
- id: uniusdt
|
||||
engine_name: peatio-default-engine
|
||||
base_unit: uni
|
||||
quote_unit: usdt
|
||||
amount_precision: 4
|
||||
price_precision: 4
|
||||
min_price: 0.0001
|
||||
max_price: 100
|
||||
min_amount: 0.001
|
||||
position: 33
|
||||
state: enabled
|
||||
data: {}
|
||||
|
||||
- id: linkusdt
|
||||
engine_name: peatio-default-engine
|
||||
base_unit: link
|
||||
quote_unit: usdt
|
||||
amount_precision: 4
|
||||
price_precision: 4
|
||||
min_price: 0.0001
|
||||
max_price: 100
|
||||
min_amount: 0.001
|
||||
position: 34
|
||||
state: enabled
|
||||
data: {}
|
||||
|
||||
- id: dotusdt
|
||||
engine_name: peatio-default-engine
|
||||
base_unit: dot
|
||||
quote_unit: usdt
|
||||
amount_precision: 3
|
||||
price_precision: 4
|
||||
min_price: 0.001
|
||||
max_price: 100
|
||||
min_amount: 0.1
|
||||
position: 35
|
||||
state: enabled
|
||||
data: {}
|
||||
|
||||
- id: aaveusdt
|
||||
engine_name: peatio-default-engine
|
||||
base_unit: aave
|
||||
quote_unit: usdt
|
||||
amount_precision: 4
|
||||
price_precision: 6
|
||||
min_price: 0.1
|
||||
max_price: 5000
|
||||
min_amount: 0.0001
|
||||
position: 36
|
||||
state: enabled
|
||||
data: {}
|
||||
|
||||
- id: maticusdt
|
||||
engine_name: peatio-default-engine
|
||||
base_unit: matic
|
||||
quote_unit: usdt
|
||||
amount_precision: 3
|
||||
price_precision: 4
|
||||
min_price: 0.001
|
||||
max_price: 100
|
||||
min_amount: 1
|
||||
position: 37
|
||||
state: enabled
|
||||
data: {}
|
||||
|
||||
- id: mkrusdt
|
||||
engine_name: peatio-default-engine
|
||||
base_unit: mkr
|
||||
quote_unit: usdt
|
||||
amount_precision: 4
|
||||
price_precision: 4
|
||||
min_price: 0.1
|
||||
max_price: 5000
|
||||
min_amount: 0.001
|
||||
position: 38
|
||||
state: enabled
|
||||
data: {}
|
||||
|
||||
- id: solusdt
|
||||
engine_name: peatio-default-engine
|
||||
base_unit: sol
|
||||
quote_unit: usdt
|
||||
amount_precision: 4
|
||||
price_precision: 6
|
||||
min_price: 0.0001
|
||||
max_price: 100
|
||||
min_amount: 0.001
|
||||
position: 39
|
||||
state: enabled
|
||||
data: {}
|
||||
|
||||
<% end %>
|
||||
28
templates/config/peatio/seed/members.yml.erb
Normal file
28
templates/config/peatio/seed/members.yml.erb
Normal file
@@ -0,0 +1,28 @@
|
||||
- id: 1
|
||||
uid: '1'
|
||||
email: 'test1@test.com'
|
||||
level: 2
|
||||
role: 'admin'
|
||||
group: 'vip-3'
|
||||
state: 'active'
|
||||
|
||||
- id: 2
|
||||
uid: '2'
|
||||
email: 'test2@test.com'
|
||||
level: 2
|
||||
role: 'admin'
|
||||
group: 'vip-3'
|
||||
state: 'active'
|
||||
|
||||
|
||||
|
||||
- id: 3
|
||||
uid: '3'
|
||||
email: 'test3@test.com'
|
||||
level: 2
|
||||
role: 'admin'
|
||||
group: 'vip-3'
|
||||
state: 'active'
|
||||
|
||||
|
||||
|
||||
29
templates/config/peatio/seed/trading_fees.yml.erb
Normal file
29
templates/config/peatio/seed/trading_fees.yml.erb
Normal file
@@ -0,0 +1,29 @@
|
||||
- market_id: any
|
||||
group: any
|
||||
maker: 0.002
|
||||
taker: 0.002
|
||||
|
||||
- market_id: any
|
||||
group: vip-0
|
||||
maker: 0.0030
|
||||
taker: 0.0035
|
||||
|
||||
- market_id: any
|
||||
group: vip-1
|
||||
maker: 0.0025
|
||||
taker: 0.0030
|
||||
|
||||
- market_id: any
|
||||
group: vip-2
|
||||
maker: 0.0020
|
||||
taker: 0.0025
|
||||
|
||||
- market_id: any
|
||||
group: vip-3
|
||||
maker: 0.0015
|
||||
taker: 0.0020
|
||||
|
||||
- market_id: any
|
||||
group: vip-4
|
||||
maker: 0.001
|
||||
taker: 0.0015
|
||||
30
templates/config/peatio/seed/wallets.yml.erb
Normal file
30
templates/config/peatio/seed/wallets.yml.erb
Normal file
@@ -0,0 +1,30 @@
|
||||
<% if @config['parity']['enabled'] %>
|
||||
<% @config['wallets']['eth'].each do |wallet| -%>
|
||||
- name: Ethereum <%= wallet['kind'].capitalize %> Wallet
|
||||
blockchain_key: eth-<%= @config['parity']['network'] %>
|
||||
currency_ids: eth,trst
|
||||
address: '<%= wallet['address'] %>'
|
||||
kind: <%= wallet['kind'] %>
|
||||
max_balance: <%= wallet['max_balance'] %>
|
||||
status: active
|
||||
gateway: parity
|
||||
settings:
|
||||
uri: http://<%= @config['parity']['address'] %>:<%= @config['parity']['rpcport'] %>
|
||||
secret: '<%= wallet['secret'] %>'
|
||||
<% end %>
|
||||
<% end %>
|
||||
|
||||
<% if @config['bitcoind']['enabled'] %>
|
||||
<% @config['wallets']['btc'].each do |wallet| -%>
|
||||
- name: Bitcoin <%= wallet['kind'].capitalize %> Wallet
|
||||
blockchain_key: btc-<%= @config['bitcoind']['network'] %>
|
||||
currency_ids: btc
|
||||
address: '<%= wallet['address'] %>'
|
||||
kind: <%= wallet['kind'] %>
|
||||
max_balance: <%= wallet['max_balance'] %>
|
||||
status: active
|
||||
gateway: bitcoind
|
||||
settings:
|
||||
uri: http://<%= @config['bitcoind']['rpcuser'] %>:<%= @config['bitcoind']['rpcpassword'] %>@<%= @config['bitcoind']['address'] %>:<%= @config['bitcoind']['rpcport'] %>
|
||||
<% end %>
|
||||
<% end %>
|
||||
9
templates/config/peatio/seed/withdraw_limits.yml.erb
Normal file
9
templates/config/peatio/seed/withdraw_limits.yml.erb
Normal file
@@ -0,0 +1,9 @@
|
||||
<% if ENV['WITHDRAW_LIMITS_CONFIG'] %>
|
||||
<%= File.read(ENV['WITHDRAW_LIMITS_CONFIG']) %>
|
||||
<% else %>
|
||||
- kyc_level: any
|
||||
group: any
|
||||
# limits in USD
|
||||
limit_24_hour: 100
|
||||
limit_1_month: 1000
|
||||
<% end %>
|
||||
Reference in New Issue
Block a user