Initial commit
This commit is contained in:
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 %>
|
||||
Reference in New Issue
Block a user