Initial commit

This commit is contained in:
Yaser
2026-08-13 19:42:08 +03:30
commit d59bf30ef0
173 changed files with 11702 additions and 0 deletions

View 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 %>