Skip to content

Commit 85a8e34

Browse files
committed
up
1 parent d6853ed commit 85a8e34

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

65 files changed

+3588
-31
lines changed

README.md

+8-1
Original file line numberDiff line numberDiff line change
@@ -7,11 +7,18 @@ Gems:
77

88
<!-- break -->
99

10-
- [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
1110
- [crypto-lite](crypto-lite) - cryptographic secure hash functions and public key signature algorithms made easy
1211
- [base32-alphabets](base32-alphabets) - base32 encoding / decoding in 5-bit groups (2^5=32) with kai, crockford or electrologica notations / alphabets
1312
- [base58-alphabets](base58-alphabets) - base58 encoding / decoding numbers, hex or binary strings (incl. leading zeros) with bitcoin or flickr notations / alphabets
1413
- [elliptic](elliptic) - elliptic curve digital signature algorithm (ECDSA) cryptography with OpenSSL made easy (incl. secp256k1 curve)
14+
- [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
15+
- [rlp-lite](rlp-lite) - light-weight ("lite") machinery to serialize / deserialze using the recursive-length prefix (rlp) scheme
16+
17+
18+
<!-- break -->
19+
20+
- [ethlite](ethlite) - light-weight machinery to query / call ethereum (blockchain contract) services via json-rpc (incl. tuple support)
21+
1522

1623

1724
<!-- break -->

base32-alphabets/README.md

+2-2
Original file line numberDiff line numberDiff line change
@@ -5,8 +5,8 @@ Encode / decode numbers in 5-bit groups (2^5=32)
55
with Kai, Crockford or Electrologica notation / alphabet
66

77

8-
* home :: [github.com/rubycoco/blockchain](https://github.com/rubycoco/blockchain)
9-
* bugs :: [github.com/rubycoco/blockchain/issues](https://github.com/rubycoco/blockchain/issues)
8+
* home :: [github.com/rubycocos/blockchain](https://github.com/rubycocos/blockchain)
9+
* bugs :: [github.com/rubycocos/blockchain/issues](https://github.com/rubycocos/blockchain/issues)
1010
* gem :: [rubygems.org/gems/base32-alphabets](https://rubygems.org/gems/base32-alphabets)
1111
* rdoc :: [rubydoc.info/gems/base32-alphabets](http://rubydoc.info/gems/base32-alphabets)
1212

base32-alphabets/Rakefile

+1-1
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@ Hoe.spec 'base32-alphabets' do
88
self.summary = "base32-alphabets - base32 (2^5) encoding / decoding in 5-bit groups with kai, crockford or electrologica notation / alphabet"
99
self.description = summary
1010

11-
self.urls = { home: 'https://github.com/rubycoco/blockchain' }
11+
self.urls = { home: 'https://github.com/rubycocos/blockchain' }
1212

1313
self.author = 'Gerald Bauer'
1414
self.email = '[email protected]'

base58-alphabets/README.md

+2-2
Original file line numberDiff line numberDiff line change
@@ -3,8 +3,8 @@
33
Encode / decode numbers, hex or binary strings (incl. leading zeros) with Bitcoin or Flickr base58 notation / alphabet
44

55

6-
* home :: [github.com/rubycoco/blockchain](https://github.com/rubycoco/blockchain)
7-
* bugs :: [github.com/rubycoco/blockchain/issues](https://github.com/rubycoco/blockchain/issues)
6+
* home :: [github.com/rubycocos/blockchain](https://github.com/rubycocos/blockchain)
7+
* bugs :: [github.com/rubycocos/blockchain/issues](https://github.com/rubycocos/blockchain/issues)
88
* gem :: [rubygems.org/gems/base58-alphabets](https://rubygems.org/gems/base58-alphabets)
99
* rdoc :: [rubydoc.info/gems/base58-alphabets](http://rubydoc.info/gems/base58-alphabets)
1010

base58-alphabets/Rakefile

+1-1
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@ Hoe.spec 'base58-alphabets' do
88
self.summary = "base58-alphabets - base58 encoding / decoding numbers, hex or binary strings (incl. leading zeros) with bitcoin or flickr notation / alphabet"
99
self.description = summary
1010

11-
self.urls = { home: 'https://github.com/rubycoco/blockchain' }
11+
self.urls = { home: 'https://github.com/rubycocos/blockchain' }
1212

1313
self.author = 'Gerald Bauer'
1414
self.email = '[email protected]'

blockchain-lite/README.md

+2-2
Original file line numberDiff line numberDiff line change
@@ -2,8 +2,8 @@
22

33
blockchain-lite library / gem - build your own blockchain with crypto hashes - revolutionize the world with blockchains, blockchains, blockchains one block at a time
44

5-
* home :: [github.com/rubycoco/blockchain](https://github.com/rubycoco/blockchain)
6-
* bugs :: [github.com/rubycoco/blockchain/issues](https://github.com/rubycoco/blockchain/issues)
5+
* home :: [github.com/rubycocos/blockchain](https://github.com/rubycocos/blockchain)
6+
* bugs :: [github.com/rubycocos/blockchain/issues](https://github.com/rubycocos/blockchain/issues)
77
* gem :: [rubygems.org/gems/blockchain-lite](https://rubygems.org/gems/blockchain-lite)
88
* rdoc :: [rubydoc.info/gems/blockchain-lite](http://rubydoc.info/gems/blockchain-lite)
99

blockchain-lite/Rakefile

+1-1
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@ Hoe.spec 'blockchain-lite' do
88
self.summary = "blockchain-lite - build your own blockchain with crypto hashes - revolutionize the world with blockchains, blockchains, blockchains one block at a time"
99
self.description = summary
1010

11-
self.urls = { home: 'https://github.com/rubycoco/blockchain' }
11+
self.urls = { home: 'https://github.com/rubycocos/blockchain' }
1212

1313
self.author = 'Gerald Bauer'
1414
self.email = '[email protected]'

centralbank/README.md

+2-2
Original file line numberDiff line numberDiff line change
@@ -4,8 +4,8 @@ central bank library / gem and command line tool -
44
print your own money / cryptocurrency; run your own federated central bank nodes on the blockchain peer-to-peer over HTTP; revolutionize the world one block at a time
55

66

7-
* home :: [github.com/rubycoco/blockchain](https://github.com/rubycoco/blockchain)
8-
* bugs :: [github.com/rubycoco/blockchain/issues](https://github.com/rubycoco/blockchain/issues)
7+
* home :: [github.com/rubycocos/blockchain](https://github.com/rubycocos/blockchain)
8+
* bugs :: [github.com/rubycocos/blockchain/issues](https://github.com/rubycocos/blockchain/issues)
99
* gem :: [rubygems.org/gems/centralbank](https://rubygems.org/gems/centralbank)
1010
* rdoc :: [rubydoc.info/gems/centralbank](http://rubydoc.info/gems/centralbank)
1111

centralbank/Rakefile

+1-1
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@ Hoe.spec 'centralbank' do
88
self.summary = 'centralbank - print your own money / cryptocurrency; run your own federated central bank nodes on the blockchain peer-to-peer over HTTP; revolutionize the world one block at a time'
99
self.description = summary
1010

11-
self.urls = { home: 'https://github.com/rubycoco/blockchain' }
11+
self.urls = { home: 'https://github.com/rubycocos/blockchain' }
1212

1313
self.author = 'Gerald Bauer'
1414
self.email = '[email protected]'

crypto-lite/README.md

+2-2
Original file line numberDiff line numberDiff line change
@@ -2,8 +2,8 @@
22

33

44

5-
* home :: [github.com/rubycoco/blockchain](https://github.com/rubycoco/blockchain)
6-
* bugs :: [github.com/rubycoco/blockchain/issues](https://github.com/rubycoco/blockchain/issues)
5+
* home :: [github.com/rubycocos/blockchain](https://github.com/rubycocos/blockchain)
6+
* bugs :: [github.com/rubycocos/blockchain/issues](https://github.com/rubycocos/blockchain/issues)
77
* gem :: [rubygems.org/gems/crypto-lite](https://rubygems.org/gems/crypto-lite)
88
* rdoc :: [rubydoc.info/gems/crypto-lite](http://rubydoc.info/gems/crypto-lite)
99

crypto-lite/Rakefile

+1-1
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@ Hoe.spec 'crypto-lite' do
99
self.summary = "crypto-lite - cryptographic secure hash functions and public key signature algorithms made easy"
1010
self.description = summary
1111

12-
self.urls = { home: 'https://github.com/rubycoco/blockchain' }
12+
self.urls = { home: 'https://github.com/rubycocos/blockchain' }
1313

1414
self.author = 'Gerald Bauer'
1515
self.email = '[email protected]'

cryptoquotes/README.md

+2-2
Original file line numberDiff line numberDiff line change
@@ -12,8 +12,8 @@ Yes, but what if there's only 21 million of it?
1212
cryptoquotes library / gem - incl. oracle tool to get a random crypto quote of the day on the command line - on the new new "in math we trust" ponzi economics - on get-rich-quick blockchain secrets - on bitcon maximalists, scammers, morons, clowns, shills & bagHODLers and more
1313

1414

15-
* home :: [github.com/rubycoco/blockchain](https://github.com/rubycoco/blockchain)
16-
* bugs :: [github.com/rubycoco/blockchain/issues](https://github.com/rubycoco/blockchain/issues)
15+
* home :: [github.com/rubycocos/blockchain](https://github.com/rubycocos/blockchain)
16+
* bugs :: [github.com/rubycocos/blockchain/issues](https://github.com/rubycocos/blockchain/issues)
1717
* gem :: [rubygems.org/gems/cryptoquotes](https://rubygems.org/gems/cryptoquotes)
1818
* rdoc :: [rubydoc.info/gems/cryptoquotes](http://rubydoc.info/gems/cryptoquotes)
1919

cryptoquotes/Rakefile

+1-1
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@ Hoe.spec 'cryptoquotes' do
88
self.summary = "cryptoquotes - incl. oracle tool to get a random crypto quote of the day on the command line - on the new new 'in math we trust' ponzi economics - on get-rich-quick blockchain secrets - on bitcon maximalists, scammers, morons, clowns, shills & bagHODLers and more"
99
self.description = summary
1010

11-
self.urls = { home: 'https://github.com/rubycoco/blockchain' }
11+
self.urls = { home: 'https://github.com/rubycocos/blockchain' }
1212

1313
self.author = 'Gerald Bauer'
1414
self.email = '[email protected]'

digest-lite/README.md

+2-2
Original file line numberDiff line numberDiff line change
@@ -5,8 +5,8 @@ digest-lite gem - crypto(graphic) hash functions / classes - Digest::KeccakLite
55

66

77

8-
* home :: [github.com/rubycoco/blockchain](https://github.com/rubycoco/blockchain)
9-
* bugs :: [github.com/rubycoco/blockchain/issues](https://github.com/rubycoco/blockchain/issues)
8+
* home :: [github.com/rubycocos/blockchain](https://github.com/rubycocos/blockchain)
9+
* bugs :: [github.com/rubycocos/blockchain/issues](https://github.com/rubycocos/blockchain/issues)
1010
* gem :: [rubygems.org/gems/digest-lite](https://rubygems.org/gems/digest-lite)
1111
* rdoc :: [rubydoc.info/gems/digest-lite](http://rubydoc.info/gems/digest-lite)
1212

digest-lite/Rakefile

+1-1
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@ Hoe.spec 'digest-lite' do
88
self.summary = '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'
99
self.description = summary
1010

11-
self.urls = { home: 'https://github.com/rubycoco/blockchain' }
11+
self.urls = { home: 'https://github.com/rubycocos/blockchain' }
1212

1313
self.author = 'Gerald Bauer'
1414
self.email = '[email protected]'

elliptic-lite/README.md

+2-2
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,8 @@
11
# elliptic-lite - elliptic curve cryptography from scratch / zero - start with finite fields, add elliptic curve points and point addition and scalar multiplications, add the elliptic curve digital signature algorithm (ECDSA) using the secp256k1 curve / group to sign and verify messages and more
22

33

4-
* home :: [github.com/rubycoco/blockchain](https://github.com/rubycoco/blockchain)
5-
* bugs :: [github.com/rubycoco/blockchain/issues](https://github.com/rubycoco/blockchain/issues)
4+
* home :: [github.com/rubycocos/blockchain](https://github.com/rubycocos/blockchain)
5+
* bugs :: [github.com/rubycocos/blockchain/issues](https://github.com/rubycocos/blockchain/issues)
66
* gem :: [rubygems.org/gems/elliptic-lite](https://rubygems.org/gems/elliptic-lite)
77
* rdoc :: [rubydoc.info/gems/elliptic-lite](http://rubydoc.info/gems/elliptic-lite)
88

elliptic-lite/Rakefile

+1-1
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@ Hoe.spec 'elliptic-lite' do
88
self.summary = "elliptic-lite - elliptic curve cryptography from scratch / zero - start with finite fields, add elliptic curve points and point addition and scalar multiplications, add the elliptic curve digital signature algorithm (ECDSA) using the secp256k1 curve / group to sign and verify messages and more"
99
self.description = summary
1010

11-
self.urls = { home: 'https://github.com/rubycoco/blockchain' }
11+
self.urls = { home: 'https://github.com/rubycocos/blockchain' }
1212

1313
self.author = 'Gerald Bauer'
1414
self.email = '[email protected]'

elliptic/README.md

+2-2
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,8 @@
11
# elliptic - elliptic curve digital signature algorithm (ECDSA) cryptography with OpenSSL made easy (incl. secp256k1 curve)
22

33

4-
* home :: [github.com/rubycoco/blockchain](https://github.com/rubycoco/blockchain)
5-
* bugs :: [github.com/rubycoco/blockchain/issues](https://github.com/rubycoco/blockchain/issues)
4+
* home :: [github.com/rubycocos/blockchain](https://github.com/rubycocos/blockchain)
5+
* bugs :: [github.com/rubycocos/blockchain/issues](https://github.com/rubycocos/blockchain/issues)
66
* gem :: [rubygems.org/gems/elliptic](https://rubygems.org/gems/elliptic)
77
* rdoc :: [rubydoc.info/gems/elliptic](http://rubydoc.info/gems/elliptic)
88

elliptic/Rakefile

+1-1
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@ Hoe.spec 'elliptic' do
88
self.summary = "elliptic - elliptic curve digital signature algorithm (ECDSA) cryptography with OpenSSL made easy (incl. secp256k1 curve)"
99
self.description = summary
1010

11-
self.urls = { home: 'https://github.com/rubycoco/blockchain' }
11+
self.urls = { home: 'https://github.com/rubycocos/blockchain' }
1212

1313
self.author = 'Gerald Bauer'
1414
self.email = '[email protected]'

ethlite/.gitignore

+58
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,58 @@
1+
*.gem
2+
*.rbc
3+
/.config
4+
/coverage/
5+
/InstalledFiles
6+
/pkg/
7+
/spec/reports/
8+
/test/tmp/
9+
/test/version_tmp/
10+
/tmp/
11+
12+
## Specific to RubyMotion:
13+
.dat*
14+
.repl_history
15+
build/
16+
17+
## Documentation cache and generated files:
18+
/.yardoc/
19+
/_yardoc/
20+
/doc/
21+
/rdoc/
22+
23+
## Environment normalisation:
24+
/.bundle/
25+
/vendor/bundle
26+
/lib/bundler/man/
27+
28+
# for a library or gem, you might want to ignore these files since the code is
29+
# intended to run in multiple environments; otherwise, check them in:
30+
# Gemfile.lock
31+
.ruby-version
32+
.ruby-gemset
33+
34+
# unless supporting rvm < 1.11.0 or doing something fancy, ignore this:
35+
.rvmrc
36+
37+
# Gladiator (Glimmer Editor)
38+
.gladiator
39+
.DS_Store
40+
41+
42+
43+
####
44+
# exclude all tmp & tmp2 and o directory (in all levels)
45+
tmp/
46+
tmp2/
47+
o/
48+
49+
########
50+
# exclude all dbs e.g. artbase.db etc.
51+
*.db
52+
53+
######
54+
# exclude all zips (in /dl)
55+
*.zip
56+
57+
58+

ethlite/CHANGELOG.md

+3
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,3 @@
1+
### 0.0.1 / 2022-11-14
2+
3+
* Everything is new. First release

ethlite/Manifest.txt

+12
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,12 @@
1+
CHANGELOG.md
2+
Manifest.txt
3+
README.md
4+
Rakefile
5+
lib/ethlite.rb
6+
lib/ethlite/abi/codec.rb
7+
lib/ethlite/abi/type.rb
8+
lib/ethlite/constant.rb
9+
lib/ethlite/contract.rb
10+
lib/ethlite/utils.rb
11+
lib/ethlite/version.rb
12+
lib/jsonrpc/jsonrpc.rb

ethlite/NOTES.md

+17
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,17 @@
1+
# Notes Ethlite
2+
3+
4+
### Ethlite Sources
5+
6+
- abi code initially based on <https://github.com/Bloxy-info/web3-eth>
7+
8+
9+
refactor:
10+
11+
- move / use rlp from eth gem inline /in-place
12+
and remove dependency on rlp gem - why? why not?
13+
14+
- move utils to "top-level" and merge all utils (utility) into one
15+
16+
17+

0 commit comments

Comments
 (0)