31 lines
1.2 KiB
Plaintext
31 lines
1.2 KiB
Plaintext
<% 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 %>
|