ethers 0.0.1
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +7 -0
- data/CHANGELOG.md +3 -0
- data/Manifest.txt +5 -0
- data/README.md +73 -0
- data/Rakefile +36 -0
- data/lib/ethers.rb +7 -0
- metadata +185 -0
checksums.yaml
ADDED
@@ -0,0 +1,7 @@
|
|
1
|
+
---
|
2
|
+
SHA256:
|
3
|
+
metadata.gz: 6db41c155006c063833c13fa5c7ff7fdc6d081fb4d25b1bea3cb147221de8019
|
4
|
+
data.tar.gz: 427699e1dfd3f73e9d4ac037fa2cc299ba39f97e3ac4393b87ace81ed2abbdec
|
5
|
+
SHA512:
|
6
|
+
metadata.gz: 824d35f1cddf6b83fa8a3e8ea05cf2ade7c9e0fbaae4076fa3db3999f6eb2ffe8bb97e20153e8fcfc17f5976e5ec32a504d3cc45405b6c689bb8838d83569668
|
7
|
+
data.tar.gz: b242e8e685e15a44a3a09f744c93f9619cfe49e29f35ef1a742192ffba30d184f1fd49845c7de9e38c44e4ea8d31724b7e933242ee06ca146147c5170e8bac11
|
data/CHANGELOG.md
ADDED
data/Manifest.txt
ADDED
data/README.md
ADDED
@@ -0,0 +1,73 @@
|
|
1
|
+
# Ethers
|
2
|
+
|
3
|
+
ethers - all-in-one umbrella for ethereum & co. (blockchain) contract services
|
4
|
+
|
5
|
+
|
6
|
+
* home :: [github.com/rubycocos/blockchain](https://github.com/rubycocos/blockchain)
|
7
|
+
* bugs :: [github.com/rubycocos/blockchain/issues](https://github.com/rubycocos/blockchain/issues)
|
8
|
+
* gem :: [rubygems.org/gems/ethers](https://rubygems.org/gems/ethers)
|
9
|
+
* rdoc :: [rubydoc.info/gems/ethers](http://rubydoc.info/gems/ethers)
|
10
|
+
|
11
|
+
|
12
|
+
|
13
|
+
## Usage
|
14
|
+
|
15
|
+
For now
|
16
|
+
|
17
|
+
``` ruby
|
18
|
+
require 'ethers'
|
19
|
+
```
|
20
|
+
|
21
|
+
is a (convenience) all-in-one short-cut for:
|
22
|
+
|
23
|
+
``` ruby
|
24
|
+
require 'ethlite'
|
25
|
+
require 'ethlite-contracts'
|
26
|
+
require 'ethname'
|
27
|
+
require 'etherscan-lite'
|
28
|
+
```
|
29
|
+
|
30
|
+
|
31
|
+
|
32
|
+
### Gems
|
33
|
+
|
34
|
+
For now ethers includes:
|
35
|
+
|
36
|
+
- [crypto-lite](../crypto-lite) - cryptographic secure hash functions and public key signature algorithms made easy
|
37
|
+
- [ethlite](../ethlite) - light-weight machinery to query / call ethereum (blockchain contract) services via json-rpc (incl. tuple support)
|
38
|
+
- [ethlite-contracts](../ethlite-contracts) - pre-packaged ready-to-use "out-of-the-gem" (blockchain) contract services / function calls for ethereum & co
|
39
|
+
- [ethname](../ethname) - light-weight crowd-sourced "off-chain" ethereum name to (contract) address service / helper (incl. punks v1,v2,v3,v4; phunks v1,v2, synth punks, punk blocks, etc.) - yes, you can! - add more names / contracts via git ;-)
|
40
|
+
- [etherscan-lite](../etherscan-lite) - light-weight machinery / helper for the Etherscan (blockchain) JSON HTTP API / web services (note: API key sign-up required)
|
41
|
+
- [abidoc](../abidoc) - application binary interface (abi) documentation generator for Ethereum & Co. (blockchain) contracts
|
42
|
+
- [abigen](../abigen) - generate ready-to-use (blockchain) contract services / function calls for ethereum & co. via application binary inferfaces (abis)
|
43
|
+
|
44
|
+
|
45
|
+
|
46
|
+
|
47
|
+
|
48
|
+
|
49
|
+
and via dependencies pulls-in:
|
50
|
+
|
51
|
+
- [digest-lite](../digest-lite) - crypto(graphic) hash functions / classes - Digest::KeccakLite (512bit, 256bit, etc), Digest::SHA3Lite (512bit, 256bit, etc) in "100% pure" ruby "lite" scripts, that is, without any c-extensions and with zero-dependency
|
52
|
+
- [elliptic](../elliptic) - elliptic curve digital signature algorithm (ECDSA) cryptography with OpenSSL made easy (incl. secp256k1 curve)
|
53
|
+
- [abicoder](../abicoder) - "lite" application binary interface (abi) encoding / decoding machinery / helper (incl. nested arrays and/or tuples) for Ethereum & Co. (blockchain) contracts with zero-dependencies for easy (re)use
|
54
|
+
- [abiparser](../abiparser) - application binary interface (abi) parser machinery / helper for Ethereum & Co. (blockchain) contracts
|
55
|
+
|
56
|
+
|
57
|
+
|
58
|
+
Anything missing? Please, tell.
|
59
|
+
|
60
|
+
|
61
|
+
|
62
|
+
## License
|
63
|
+
|
64
|
+
The scripts are dedicated to the public domain.
|
65
|
+
Use it as you please with no restrictions whatsoever.
|
66
|
+
|
67
|
+
|
68
|
+
## Questions? Comments?
|
69
|
+
|
70
|
+
|
71
|
+
Post them on the [D.I.Y. Punk (Pixel) Art reddit](https://old.reddit.com/r/DIYPunkArt). Thanks.
|
72
|
+
|
73
|
+
|
data/Rakefile
ADDED
@@ -0,0 +1,36 @@
|
|
1
|
+
require 'hoe'
|
2
|
+
|
3
|
+
|
4
|
+
Hoe.spec 'ethers' do
|
5
|
+
|
6
|
+
self.version = '0.0.1'
|
7
|
+
self.summary = "ethers - all-in-one umbrella for ethereum & co. (blockchain) contract services"
|
8
|
+
self.description = summary
|
9
|
+
|
10
|
+
self.urls = { home: 'https://github.com/rubycocos/blockchain' }
|
11
|
+
|
12
|
+
self.author = 'Gerald Bauer'
|
13
|
+
self.email = 'wwwmake@googlegroups.com'
|
14
|
+
|
15
|
+
# switch extension to .markdown for gihub formatting
|
16
|
+
self.readme_file = 'README.md'
|
17
|
+
self.history_file = 'CHANGELOG.md'
|
18
|
+
|
19
|
+
self.extra_deps = [
|
20
|
+
['crypto-lite'],
|
21
|
+
['ethlite'],
|
22
|
+
['ethlite-contracts'],
|
23
|
+
['ethname'],
|
24
|
+
['etherscan-lite'],
|
25
|
+
['abidoc'],
|
26
|
+
['abigen'],
|
27
|
+
]
|
28
|
+
|
29
|
+
self.licenses = ['Public Domain']
|
30
|
+
|
31
|
+
self.spec_extras = {
|
32
|
+
required_ruby_version: '>= 2.3'
|
33
|
+
}
|
34
|
+
|
35
|
+
end
|
36
|
+
|
data/lib/ethers.rb
ADDED
metadata
ADDED
@@ -0,0 +1,185 @@
|
|
1
|
+
--- !ruby/object:Gem::Specification
|
2
|
+
name: ethers
|
3
|
+
version: !ruby/object:Gem::Version
|
4
|
+
version: 0.0.1
|
5
|
+
platform: ruby
|
6
|
+
authors:
|
7
|
+
- Gerald Bauer
|
8
|
+
autorequire:
|
9
|
+
bindir: bin
|
10
|
+
cert_chain: []
|
11
|
+
date: 2023-01-14 00:00:00.000000000 Z
|
12
|
+
dependencies:
|
13
|
+
- !ruby/object:Gem::Dependency
|
14
|
+
name: crypto-lite
|
15
|
+
requirement: !ruby/object:Gem::Requirement
|
16
|
+
requirements:
|
17
|
+
- - ">="
|
18
|
+
- !ruby/object:Gem::Version
|
19
|
+
version: '0'
|
20
|
+
type: :runtime
|
21
|
+
prerelease: false
|
22
|
+
version_requirements: !ruby/object:Gem::Requirement
|
23
|
+
requirements:
|
24
|
+
- - ">="
|
25
|
+
- !ruby/object:Gem::Version
|
26
|
+
version: '0'
|
27
|
+
- !ruby/object:Gem::Dependency
|
28
|
+
name: ethlite
|
29
|
+
requirement: !ruby/object:Gem::Requirement
|
30
|
+
requirements:
|
31
|
+
- - ">="
|
32
|
+
- !ruby/object:Gem::Version
|
33
|
+
version: '0'
|
34
|
+
type: :runtime
|
35
|
+
prerelease: false
|
36
|
+
version_requirements: !ruby/object:Gem::Requirement
|
37
|
+
requirements:
|
38
|
+
- - ">="
|
39
|
+
- !ruby/object:Gem::Version
|
40
|
+
version: '0'
|
41
|
+
- !ruby/object:Gem::Dependency
|
42
|
+
name: ethlite-contracts
|
43
|
+
requirement: !ruby/object:Gem::Requirement
|
44
|
+
requirements:
|
45
|
+
- - ">="
|
46
|
+
- !ruby/object:Gem::Version
|
47
|
+
version: '0'
|
48
|
+
type: :runtime
|
49
|
+
prerelease: false
|
50
|
+
version_requirements: !ruby/object:Gem::Requirement
|
51
|
+
requirements:
|
52
|
+
- - ">="
|
53
|
+
- !ruby/object:Gem::Version
|
54
|
+
version: '0'
|
55
|
+
- !ruby/object:Gem::Dependency
|
56
|
+
name: ethname
|
57
|
+
requirement: !ruby/object:Gem::Requirement
|
58
|
+
requirements:
|
59
|
+
- - ">="
|
60
|
+
- !ruby/object:Gem::Version
|
61
|
+
version: '0'
|
62
|
+
type: :runtime
|
63
|
+
prerelease: false
|
64
|
+
version_requirements: !ruby/object:Gem::Requirement
|
65
|
+
requirements:
|
66
|
+
- - ">="
|
67
|
+
- !ruby/object:Gem::Version
|
68
|
+
version: '0'
|
69
|
+
- !ruby/object:Gem::Dependency
|
70
|
+
name: etherscan-lite
|
71
|
+
requirement: !ruby/object:Gem::Requirement
|
72
|
+
requirements:
|
73
|
+
- - ">="
|
74
|
+
- !ruby/object:Gem::Version
|
75
|
+
version: '0'
|
76
|
+
type: :runtime
|
77
|
+
prerelease: false
|
78
|
+
version_requirements: !ruby/object:Gem::Requirement
|
79
|
+
requirements:
|
80
|
+
- - ">="
|
81
|
+
- !ruby/object:Gem::Version
|
82
|
+
version: '0'
|
83
|
+
- !ruby/object:Gem::Dependency
|
84
|
+
name: abidoc
|
85
|
+
requirement: !ruby/object:Gem::Requirement
|
86
|
+
requirements:
|
87
|
+
- - ">="
|
88
|
+
- !ruby/object:Gem::Version
|
89
|
+
version: '0'
|
90
|
+
type: :runtime
|
91
|
+
prerelease: false
|
92
|
+
version_requirements: !ruby/object:Gem::Requirement
|
93
|
+
requirements:
|
94
|
+
- - ">="
|
95
|
+
- !ruby/object:Gem::Version
|
96
|
+
version: '0'
|
97
|
+
- !ruby/object:Gem::Dependency
|
98
|
+
name: abigen
|
99
|
+
requirement: !ruby/object:Gem::Requirement
|
100
|
+
requirements:
|
101
|
+
- - ">="
|
102
|
+
- !ruby/object:Gem::Version
|
103
|
+
version: '0'
|
104
|
+
type: :runtime
|
105
|
+
prerelease: false
|
106
|
+
version_requirements: !ruby/object:Gem::Requirement
|
107
|
+
requirements:
|
108
|
+
- - ">="
|
109
|
+
- !ruby/object:Gem::Version
|
110
|
+
version: '0'
|
111
|
+
- !ruby/object:Gem::Dependency
|
112
|
+
name: rdoc
|
113
|
+
requirement: !ruby/object:Gem::Requirement
|
114
|
+
requirements:
|
115
|
+
- - ">="
|
116
|
+
- !ruby/object:Gem::Version
|
117
|
+
version: '4.0'
|
118
|
+
- - "<"
|
119
|
+
- !ruby/object:Gem::Version
|
120
|
+
version: '7'
|
121
|
+
type: :development
|
122
|
+
prerelease: false
|
123
|
+
version_requirements: !ruby/object:Gem::Requirement
|
124
|
+
requirements:
|
125
|
+
- - ">="
|
126
|
+
- !ruby/object:Gem::Version
|
127
|
+
version: '4.0'
|
128
|
+
- - "<"
|
129
|
+
- !ruby/object:Gem::Version
|
130
|
+
version: '7'
|
131
|
+
- !ruby/object:Gem::Dependency
|
132
|
+
name: hoe
|
133
|
+
requirement: !ruby/object:Gem::Requirement
|
134
|
+
requirements:
|
135
|
+
- - "~>"
|
136
|
+
- !ruby/object:Gem::Version
|
137
|
+
version: '3.23'
|
138
|
+
type: :development
|
139
|
+
prerelease: false
|
140
|
+
version_requirements: !ruby/object:Gem::Requirement
|
141
|
+
requirements:
|
142
|
+
- - "~>"
|
143
|
+
- !ruby/object:Gem::Version
|
144
|
+
version: '3.23'
|
145
|
+
description: ethers - all-in-one umbrella for ethereum & co. (blockchain) contract
|
146
|
+
services
|
147
|
+
email: wwwmake@googlegroups.com
|
148
|
+
executables: []
|
149
|
+
extensions: []
|
150
|
+
extra_rdoc_files:
|
151
|
+
- CHANGELOG.md
|
152
|
+
- Manifest.txt
|
153
|
+
- README.md
|
154
|
+
files:
|
155
|
+
- CHANGELOG.md
|
156
|
+
- Manifest.txt
|
157
|
+
- README.md
|
158
|
+
- Rakefile
|
159
|
+
- lib/ethers.rb
|
160
|
+
homepage: https://github.com/rubycocos/blockchain
|
161
|
+
licenses:
|
162
|
+
- Public Domain
|
163
|
+
metadata: {}
|
164
|
+
post_install_message:
|
165
|
+
rdoc_options:
|
166
|
+
- "--main"
|
167
|
+
- README.md
|
168
|
+
require_paths:
|
169
|
+
- lib
|
170
|
+
required_ruby_version: !ruby/object:Gem::Requirement
|
171
|
+
requirements:
|
172
|
+
- - ">="
|
173
|
+
- !ruby/object:Gem::Version
|
174
|
+
version: '2.3'
|
175
|
+
required_rubygems_version: !ruby/object:Gem::Requirement
|
176
|
+
requirements:
|
177
|
+
- - ">="
|
178
|
+
- !ruby/object:Gem::Version
|
179
|
+
version: '0'
|
180
|
+
requirements: []
|
181
|
+
rubygems_version: 3.3.7
|
182
|
+
signing_key:
|
183
|
+
specification_version: 4
|
184
|
+
summary: ethers - all-in-one umbrella for ethereum & co. (blockchain) contract services
|
185
|
+
test_files: []
|