Initial commit

This commit is contained in:
Yaser
2026-08-13 19:50:53 +03:30
commit 38084458fe
879 changed files with 95198 additions and 0 deletions

View File

@@ -0,0 +1,63 @@
# encoding: UTF-8
# frozen_string_literal: true
FactoryBot.define do
factory :blockchain do
trait 'eth-rinkeby' do
key { 'eth-rinkeby' }
name { 'Ethereum Rinkeby' }
client { 'geth' }
server { 'http://127.0.0.1:8545' }
height { 2500000 }
min_confirmations { 6 }
explorer_address { 'https://etherscan.io/address/#{address}' }
explorer_transaction { 'https://etherscan.io/tx/#{txid}' }
status { 'active' }
end
trait 'eth-kovan' do
key { 'eth-kovan' }
name { 'Ethereum Kovan' }
client { 'parity' }
server { 'http://127.0.0.1:8545' }
height { 2500000 }
min_confirmations { 6 }
explorer_address { 'https://kovan.etherscan.io/address/#{address}' }
explorer_transaction { 'https://kovan.etherscan.io/tx/#{txid}' }
status { 'active' }
end
trait 'eth-mainet' do
key { 'eth-mainet' }
name { 'Ethereum Mainet' }
client { 'geth' }
server { 'http://127.0.0.1:8545' }
height { 2500000 }
min_confirmations { 4 }
explorer_address { 'https://etherscan.io/address/#{address}' }
explorer_transaction { 'https://etherscan.io/tx/#{txid}' }
status { 'disabled' }
end
trait 'btc-testnet' do
key { 'btc-testnet' }
name { 'Bitcoin Testnet' }
client { 'bitcoin' }
server { 'http://127.0.0.1:18332' }
height { 1350000 }
min_confirmations { 1 }
explorer_address { 'https://blockchain.info/address/#{address}' }
explorer_transaction { 'https://blockchain.info/tx/#{txid}' }
status { 'active' }
end
trait 'fake-testnet' do
key { 'fake-testnet' }
name { 'Fake Testnet' }
client { 'fake' }
height { 1 }
status { 'active' }
end
end
end