arkecosystem-crypto 0.1.0
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +7 -0
- data/lib/arkecosystem/crypto.rb +49 -0
- data/lib/arkecosystem/crypto/builder/delegate_registration.rb +33 -0
- data/lib/arkecosystem/crypto/builder/multi_signature_registration.rb +45 -0
- data/lib/arkecosystem/crypto/builder/second_signature_registration.rb +27 -0
- data/lib/arkecosystem/crypto/builder/transaction.rb +109 -0
- data/lib/arkecosystem/crypto/builder/transfer.rb +32 -0
- data/lib/arkecosystem/crypto/builder/vote.rb +28 -0
- data/lib/arkecosystem/crypto/configuration/fee.rb +30 -0
- data/lib/arkecosystem/crypto/configuration/network.rb +18 -0
- data/lib/arkecosystem/crypto/crypto.rb +144 -0
- data/lib/arkecosystem/crypto/deserialiser.rb +94 -0
- data/lib/arkecosystem/crypto/deserialisers/base.rb +15 -0
- data/lib/arkecosystem/crypto/deserialisers/delegate_registration.rb +22 -0
- data/lib/arkecosystem/crypto/deserialisers/delegate_resignation.rb +12 -0
- data/lib/arkecosystem/crypto/deserialisers/ipfs.rb +18 -0
- data/lib/arkecosystem/crypto/deserialisers/multi_payment.rb +38 -0
- data/lib/arkecosystem/crypto/deserialisers/multi_signature_registration.rb +32 -0
- data/lib/arkecosystem/crypto/deserialisers/second_signature_registration.rb +18 -0
- data/lib/arkecosystem/crypto/deserialisers/timelock_transfer.rb +19 -0
- data/lib/arkecosystem/crypto/deserialisers/transfer.rb +18 -0
- data/lib/arkecosystem/crypto/deserialisers/vote.rb +31 -0
- data/lib/arkecosystem/crypto/enums/fees.rb +18 -0
- data/lib/arkecosystem/crypto/enums/types.rb +18 -0
- data/lib/arkecosystem/crypto/identity/address.rb +35 -0
- data/lib/arkecosystem/crypto/identity/private_key.rb +14 -0
- data/lib/arkecosystem/crypto/identity/public_key.rb +18 -0
- data/lib/arkecosystem/crypto/identity/wif.rb +22 -0
- data/lib/arkecosystem/crypto/message.rb +42 -0
- data/lib/arkecosystem/crypto/models/transaction.rb +16 -0
- data/lib/arkecosystem/crypto/networks/devnet.rb +24 -0
- data/lib/arkecosystem/crypto/networks/mainnet.rb +24 -0
- data/lib/arkecosystem/crypto/networks/testnet.rb +24 -0
- data/lib/arkecosystem/crypto/serialiser.rb +84 -0
- data/lib/arkecosystem/crypto/serialisers/base.rb +13 -0
- data/lib/arkecosystem/crypto/serialisers/delegate_registration.rb +17 -0
- data/lib/arkecosystem/crypto/serialisers/delegate_resignation.rb +12 -0
- data/lib/arkecosystem/crypto/serialisers/ipfs.rb +17 -0
- data/lib/arkecosystem/crypto/serialisers/multi_payment.rb +23 -0
- data/lib/arkecosystem/crypto/serialisers/multi_signature_registration.rb +31 -0
- data/lib/arkecosystem/crypto/serialisers/second_signature_registration.rb +14 -0
- data/lib/arkecosystem/crypto/serialisers/timelock_transfer.rb +21 -0
- data/lib/arkecosystem/crypto/serialisers/transfer.rb +20 -0
- data/lib/arkecosystem/crypto/serialisers/vote.rb +23 -0
- data/lib/arkecosystem/crypto/version.rb +15 -0
- metadata +159 -0
metadata
ADDED
@@ -0,0 +1,159 @@
|
|
1
|
+
--- !ruby/object:Gem::Specification
|
2
|
+
name: arkecosystem-crypto
|
3
|
+
version: !ruby/object:Gem::Version
|
4
|
+
version: 0.1.0
|
5
|
+
platform: ruby
|
6
|
+
authors:
|
7
|
+
- Brian Faust
|
8
|
+
autorequire:
|
9
|
+
bindir: exe
|
10
|
+
cert_chain: []
|
11
|
+
date: 2018-07-02 00:00:00.000000000 Z
|
12
|
+
dependencies:
|
13
|
+
- !ruby/object:Gem::Dependency
|
14
|
+
name: bundler
|
15
|
+
requirement: !ruby/object:Gem::Requirement
|
16
|
+
requirements:
|
17
|
+
- - "~>"
|
18
|
+
- !ruby/object:Gem::Version
|
19
|
+
version: '1.15'
|
20
|
+
type: :development
|
21
|
+
prerelease: false
|
22
|
+
version_requirements: !ruby/object:Gem::Requirement
|
23
|
+
requirements:
|
24
|
+
- - "~>"
|
25
|
+
- !ruby/object:Gem::Version
|
26
|
+
version: '1.15'
|
27
|
+
- !ruby/object:Gem::Dependency
|
28
|
+
name: rake
|
29
|
+
requirement: !ruby/object:Gem::Requirement
|
30
|
+
requirements:
|
31
|
+
- - "~>"
|
32
|
+
- !ruby/object:Gem::Version
|
33
|
+
version: '10.0'
|
34
|
+
type: :development
|
35
|
+
prerelease: false
|
36
|
+
version_requirements: !ruby/object:Gem::Requirement
|
37
|
+
requirements:
|
38
|
+
- - "~>"
|
39
|
+
- !ruby/object:Gem::Version
|
40
|
+
version: '10.0'
|
41
|
+
- !ruby/object:Gem::Dependency
|
42
|
+
name: rspec
|
43
|
+
requirement: !ruby/object:Gem::Requirement
|
44
|
+
requirements:
|
45
|
+
- - "~>"
|
46
|
+
- !ruby/object:Gem::Version
|
47
|
+
version: '3.0'
|
48
|
+
type: :development
|
49
|
+
prerelease: false
|
50
|
+
version_requirements: !ruby/object:Gem::Requirement
|
51
|
+
requirements:
|
52
|
+
- - "~>"
|
53
|
+
- !ruby/object:Gem::Version
|
54
|
+
version: '3.0'
|
55
|
+
- !ruby/object:Gem::Dependency
|
56
|
+
name: btcruby
|
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: deep_hash_transform
|
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
|
+
description: A simple Ruby Cryptography Implementation for the ARK Blockchain.
|
84
|
+
email:
|
85
|
+
- brian@ark.io
|
86
|
+
executables: []
|
87
|
+
extensions: []
|
88
|
+
extra_rdoc_files: []
|
89
|
+
files:
|
90
|
+
- lib/arkecosystem/crypto.rb
|
91
|
+
- lib/arkecosystem/crypto/builder/delegate_registration.rb
|
92
|
+
- lib/arkecosystem/crypto/builder/multi_signature_registration.rb
|
93
|
+
- lib/arkecosystem/crypto/builder/second_signature_registration.rb
|
94
|
+
- lib/arkecosystem/crypto/builder/transaction.rb
|
95
|
+
- lib/arkecosystem/crypto/builder/transfer.rb
|
96
|
+
- lib/arkecosystem/crypto/builder/vote.rb
|
97
|
+
- lib/arkecosystem/crypto/configuration/fee.rb
|
98
|
+
- lib/arkecosystem/crypto/configuration/network.rb
|
99
|
+
- lib/arkecosystem/crypto/crypto.rb
|
100
|
+
- lib/arkecosystem/crypto/deserialiser.rb
|
101
|
+
- lib/arkecosystem/crypto/deserialisers/base.rb
|
102
|
+
- lib/arkecosystem/crypto/deserialisers/delegate_registration.rb
|
103
|
+
- lib/arkecosystem/crypto/deserialisers/delegate_resignation.rb
|
104
|
+
- lib/arkecosystem/crypto/deserialisers/ipfs.rb
|
105
|
+
- lib/arkecosystem/crypto/deserialisers/multi_payment.rb
|
106
|
+
- lib/arkecosystem/crypto/deserialisers/multi_signature_registration.rb
|
107
|
+
- lib/arkecosystem/crypto/deserialisers/second_signature_registration.rb
|
108
|
+
- lib/arkecosystem/crypto/deserialisers/timelock_transfer.rb
|
109
|
+
- lib/arkecosystem/crypto/deserialisers/transfer.rb
|
110
|
+
- lib/arkecosystem/crypto/deserialisers/vote.rb
|
111
|
+
- lib/arkecosystem/crypto/enums/fees.rb
|
112
|
+
- lib/arkecosystem/crypto/enums/types.rb
|
113
|
+
- lib/arkecosystem/crypto/identity/address.rb
|
114
|
+
- lib/arkecosystem/crypto/identity/private_key.rb
|
115
|
+
- lib/arkecosystem/crypto/identity/public_key.rb
|
116
|
+
- lib/arkecosystem/crypto/identity/wif.rb
|
117
|
+
- lib/arkecosystem/crypto/message.rb
|
118
|
+
- lib/arkecosystem/crypto/models/transaction.rb
|
119
|
+
- lib/arkecosystem/crypto/networks/devnet.rb
|
120
|
+
- lib/arkecosystem/crypto/networks/mainnet.rb
|
121
|
+
- lib/arkecosystem/crypto/networks/testnet.rb
|
122
|
+
- lib/arkecosystem/crypto/serialiser.rb
|
123
|
+
- lib/arkecosystem/crypto/serialisers/base.rb
|
124
|
+
- lib/arkecosystem/crypto/serialisers/delegate_registration.rb
|
125
|
+
- lib/arkecosystem/crypto/serialisers/delegate_resignation.rb
|
126
|
+
- lib/arkecosystem/crypto/serialisers/ipfs.rb
|
127
|
+
- lib/arkecosystem/crypto/serialisers/multi_payment.rb
|
128
|
+
- lib/arkecosystem/crypto/serialisers/multi_signature_registration.rb
|
129
|
+
- lib/arkecosystem/crypto/serialisers/second_signature_registration.rb
|
130
|
+
- lib/arkecosystem/crypto/serialisers/timelock_transfer.rb
|
131
|
+
- lib/arkecosystem/crypto/serialisers/transfer.rb
|
132
|
+
- lib/arkecosystem/crypto/serialisers/vote.rb
|
133
|
+
- lib/arkecosystem/crypto/version.rb
|
134
|
+
homepage: https://github.com/ArkEcosystem/ruby-crypto
|
135
|
+
licenses:
|
136
|
+
- MIT
|
137
|
+
metadata:
|
138
|
+
allowed_push_host: https://rubygems.org
|
139
|
+
post_install_message:
|
140
|
+
rdoc_options: []
|
141
|
+
require_paths:
|
142
|
+
- lib
|
143
|
+
required_ruby_version: !ruby/object:Gem::Requirement
|
144
|
+
requirements:
|
145
|
+
- - ">="
|
146
|
+
- !ruby/object:Gem::Version
|
147
|
+
version: '0'
|
148
|
+
required_rubygems_version: !ruby/object:Gem::Requirement
|
149
|
+
requirements:
|
150
|
+
- - ">="
|
151
|
+
- !ruby/object:Gem::Version
|
152
|
+
version: '0'
|
153
|
+
requirements: []
|
154
|
+
rubyforge_project:
|
155
|
+
rubygems_version: 2.7.6
|
156
|
+
signing_key:
|
157
|
+
specification_version: 4
|
158
|
+
summary: A simple Ruby Cryptography Implementation for the ARK Blockchain.
|
159
|
+
test_files: []
|