asic-miner-facts 0.1.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (4) hide show
  1. checksums.yaml +7 -0
  2. data/README.md +22 -0
  3. data/lib/asic_miner_facts.rb +16 -0
  4. metadata +46 -0
checksums.yaml ADDED
@@ -0,0 +1,7 @@
1
+ ---
2
+ SHA256:
3
+ metadata.gz: 4793435ee5309ff0d008869a65a5f1bb9f29b874f7191649e3ca4e4edda0b691
4
+ data.tar.gz: 8cc6299db984a5f8846e3d76add7f855c11f37e141ed083f30525882a7d2f193
5
+ SHA512:
6
+ metadata.gz: 58f378a1b5ac227b0dd5a4e8553afdafd4178f28a186f04e80bdd5ed4ae33ed0161f1b716bdb93d40639a70f1c51d71d2ac11fb51c391f1b963868a43df53795
7
+ data.tar.gz: 57b7aa6fa41f5613ddc0dda7c53bf851ee7fd588c4324ca089f7f5b0a1a174b2343b37ff6bdf619ab27c40ac81eaaeffcdef952078525dc4a690789c3b862a8f
data/README.md ADDED
@@ -0,0 +1,22 @@
1
+ # asic-miner-facts
2
+
3
+ Reference J/TH efficiency and power figures for compact home ASIC miners,
4
+ plus small helpers to estimate daily kWh and monthly cost on EU 230V tariffs.
5
+
6
+ Data covers the Bitaxe Gamma class, classic Antminer S9, the S19 XP Hydro
7
+ and compact Avalon units: efficiency (J/TH), power draw in watts and a
8
+ short practical note per model.
9
+
10
+ ## Usage
11
+
12
+ require 'asic_miner_facts'
13
+ AsicMinerFacts::MODELS['bitaxe-gamma'] # => { jth: 20.9, watts: 162, ... }
14
+ AsicMinerFacts.daily_kwh(162) # => 3.89
15
+ AsicMinerFacts.monthly_cost_eur(162, 0.28)
16
+
17
+ ## Context
18
+
19
+ Figures are for planning home mining energy budgets in the EU: 230V circuits,
20
+ VAT invoicing and realistic household tariffs. For current EU stock and VAT
21
+ invoices see [ASIC miners with EU stock and VAT invoices](https://mineshop.eu/asic-miner-en).
22
+ Polish readers: [koparki ASIC z magazynu w UE i faktura VAT](https://mineshop.eu/pl/asic-miner-en).
@@ -0,0 +1,16 @@
1
+ # Home ASIC miner reference data: efficiency (J/TH), power (W), notes for 230V EU circuits.
2
+ module AsicMinerFacts
3
+ VERSION = '0.1.0'.freeze
4
+ MODELS = {
5
+ 'bitaxe-gamma' => { jth: 20.9, watts: 162, note: 'USB/solo class, 5V PSU' },
6
+ 'antminer-s9' => { jth: 98.0, watts: 1375, note: 'classic 230V home unit' },
7
+ 'antminer-s19-xp-hydr' => { jth: 21.5, watts: 3360, note: 'needs dedicated circuit' },
8
+ 'avalon-mini' => { jth: 31.0, watts: 650, note: 'compact radiator case' }
9
+ }.freeze
10
+ def self.daily_kwh(watts, hours = 24)
11
+ (watts * hours / 1000.0).round(2)
12
+ end
13
+ def self.monthly_cost_eur(watts, eur_per_kwh, hours = 24)
14
+ (daily_kwh(watts, hours) * 30 * eur_per_kwh).round(2)
15
+ end
16
+ end
metadata ADDED
@@ -0,0 +1,46 @@
1
+ --- !ruby/object:Gem::Specification
2
+ name: asic-miner-facts
3
+ version: !ruby/object:Gem::Version
4
+ version: 0.1.0
5
+ platform: ruby
6
+ authors:
7
+ - Mineshop EU
8
+ autorequire:
9
+ bindir: bin
10
+ cert_chain: []
11
+ date: 2026-11-14 00:00:00.000000000 Z
12
+ dependencies: []
13
+ description: A small data module with efficiency (J/TH), power draw and voltage notes
14
+ for compact home ASIC miners useful for energy planning in EU households on 230V
15
+ circuits.
16
+ email: guntis@mineshop.eu
17
+ executables: []
18
+ extensions: []
19
+ extra_rdoc_files: []
20
+ files:
21
+ - README.md
22
+ - lib/asic_miner_facts.rb
23
+ homepage: https://mineshop.eu/asic-miner-en
24
+ licenses:
25
+ - MIT
26
+ metadata: {}
27
+ post_install_message:
28
+ rdoc_options: []
29
+ require_paths:
30
+ - lib
31
+ required_ruby_version: !ruby/object:Gem::Requirement
32
+ requirements:
33
+ - - ">="
34
+ - !ruby/object:Gem::Version
35
+ version: '2.0'
36
+ required_rubygems_version: !ruby/object:Gem::Requirement
37
+ requirements:
38
+ - - ">="
39
+ - !ruby/object:Gem::Version
40
+ version: '0'
41
+ requirements: []
42
+ rubygems_version: 3.0.3.1
43
+ signing_key:
44
+ specification_version: 4
45
+ summary: Reference J/TH efficiency and power figures for home ASIC miners
46
+ test_files: []