Initial commit
This commit is contained in:
47
config/templates/seed/blockchains.yml.erb
Normal file
47
config/templates/seed/blockchains.yml.erb
Normal file
@@ -0,0 +1,47 @@
|
||||
<% if ENV['BLOCKCHAINS_CONFIG'] %>
|
||||
<%= File.read(ENV['BLOCKCHAINS_CONFIG']) %>
|
||||
<% else %>
|
||||
- key: prt-kovan
|
||||
name: Ethereum Kovan
|
||||
client: parity # API client name.
|
||||
server: http://127.0.0.1:8545 # Public Ethereum node endpoint. IMPORTANT: full syncmode.
|
||||
height: 2500000 # Initial block number from which sync will be started.
|
||||
min_confirmations: 6 # Minimal confirmations needed for withdraw and deposit confirmation.
|
||||
explorer:
|
||||
address: https://kovan.etherscan.io/address/#{address}
|
||||
transaction: https://kovan.etherscan.io/tx/#{txid}
|
||||
status: disabled
|
||||
|
||||
- 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: eth-mainet
|
||||
name: Ethereum Mainet
|
||||
client: geth # API client name.
|
||||
server: http://127.0.0.1:8545 # Public Ethereum node endpoint. IMPORTANT: full syncmode.
|
||||
height: 7500000 # Initial block number from which sync will be started.
|
||||
min_confirmations: 6 # Minimal confirmations needed for withdraw and deposit confirmation.
|
||||
explorer:
|
||||
address: https://etherscan.io/address/#{address}
|
||||
transaction: https://etherscan.io/tx/#{txid}
|
||||
status: disabled
|
||||
|
||||
- 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: 6 # Minimal confirmations needed for withdraw and deposit confirmation.
|
||||
explorer:
|
||||
address: https://testnet.blockchain.info/address/#{address}
|
||||
transaction: https://testnet.blockchain.info/tx/#{txid}
|
||||
status: active
|
||||
<% end %>
|
||||
Reference in New Issue
Block a user