eth-rb 0.1.1 → 0.1.2

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 (5) hide show
  1. checksums.yaml +4 -4
  2. data/lib/eth.rb +2 -1
  3. metadata +1 -3
  4. data/Gemfile +0 -6
  5. data/Gemfile.lock +0 -15
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: b6ddedc90f9cea9a890fed169bc06426a9740fe09888922f05a02633632821f4
4
- data.tar.gz: d68c12983f6df10b79a2eac26cf1a4f7e6687c463c830cdb67b5c2c16543bc17
3
+ metadata.gz: 00fd96065aaaf94dbd745f5107028e12c4685064490e8954de7f1de0d4a52baa
4
+ data.tar.gz: 6216af149d237abdebe73f3056da4ec30e1d11ceb8711a32b0395647456f0362
5
5
  SHA512:
6
- metadata.gz: b9e5c89e8f40564acbe032c98c49c9b7b63ad249bae9dde561de6b29bdbf334b7b620122f2a70337fd350115037ecaa2c9f501f3b678f8435a6ca84af72c1456
7
- data.tar.gz: 55096bdc99198469b2f889a300d14e27556ad557b0722391b07a6644976e836ad24adca7d454ab30648b4d682ba3d8032e49a57e97043fc129f3c04ea1e40ccc
6
+ metadata.gz: efa352a5b7b6cbc99ffb90d849cd11883a9591b8847c5866de70d70654303854e48d0d17501789672ab4a48db17ade3ea2758db61493fde941fb746d6f509698
7
+ data.tar.gz: 9b2aa9456446a6219710643ab1a1f66410f0c12636104d217cf915afca9f5c5249a0c6ec0e430c6711686058b15547e1bb5d5daae86b596843b4bfe0aede7803
data/lib/eth.rb CHANGED
@@ -6,6 +6,7 @@
6
6
  # ./eth.rb — show latest block number
7
7
  # ./eth.rb <address> — show ETH balance of <address>
8
8
  # ./eth.rb --price — show current ETH/USD price
9
+ # ./eth.rb --version or -v — show version
9
10
  # ./eth.rb send <key> <to> <amount> — send ETH (amount in ETH)
10
11
  # ./eth.rb send <key> <to> $<amount> — send ETH (amount in USD, converted at current price)
11
12
  # ./eth.rb --help — show this usage info
@@ -20,7 +21,7 @@ require "digest/keccak"
20
21
  ALCHEMY_URL = "https://eth-mainnet.g.alchemy.com/v2/alch_PhpVkmsabZhYV69otj1rF"
21
22
  COINGECKO_URL = "https://api.coingecko.com/api/v3/simple/price?ids=ethereum&vs_currencies=usd"
22
23
  CHAIN_ID = 1 # Ethereum mainnet
23
- VERSION = "0.1.1"
24
+ VERSION = "0.1.2"
24
25
 
25
26
  # ── JSON-RPC ────────────────────────────────────────────────────────────────
26
27
 
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: eth-rb
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.1.1
4
+ version: 0.1.2
5
5
  platform: ruby
6
6
  authors:
7
7
  - Khalid Shaikh
@@ -46,8 +46,6 @@ executables:
46
46
  extensions: []
47
47
  extra_rdoc_files: []
48
48
  files:
49
- - Gemfile
50
- - Gemfile.lock
51
49
  - exe/eth.rb
52
50
  - lib/eth.rb
53
51
  homepage: https://github.com/kshaikh/eth.rb
data/Gemfile DELETED
@@ -1,6 +0,0 @@
1
- source "https://rubygems.org"
2
-
3
- gemspec
4
-
5
- gem "ecdsa", "~> 1.2"
6
- gem "keccak", "~> 1.3"
data/Gemfile.lock DELETED
@@ -1,15 +0,0 @@
1
- GEM
2
- remote: https://rubygems.org/
3
- specs:
4
- ecdsa (1.2.0)
5
- keccak (1.3.1)
6
-
7
- PLATFORMS
8
- ruby
9
-
10
- DEPENDENCIES
11
- ecdsa (~> 1.2)
12
- keccak (~> 1.3)
13
-
14
- BUNDLED WITH
15
- 1.17.2