flow_client 0.1.1 → 0.2.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.
- checksums.yaml +4 -4
- data/.github/workflows/ruby.yml +2 -0
- data/.rubocop.yml +6 -0
- data/CHANGELOG.md +15 -0
- data/Gemfile +2 -5
- data/Gemfile.lock +22 -26
- data/README.md +697 -62
- data/bin/setup +0 -0
- data/docker-compose.yml +12 -0
- data/flow.json +21 -0
- data/flow_client.gemspec +0 -4
- data/lib/cadence/contracts/NonFungibleToken.cdc +144 -0
- data/lib/cadence/templates/add-account-key.cdc +16 -0
- data/lib/cadence/templates/add-contract.cdc +5 -0
- data/lib/cadence/templates/create-account.cdc +21 -0
- data/lib/cadence/templates/remove-contract.cdc +5 -0
- data/lib/cadence/templates/update-contract.cdc +5 -0
- data/lib/flow_client/account.rb +31 -0
- data/lib/flow_client/block.rb +81 -0
- data/lib/flow_client/cadence_type.rb +185 -0
- data/lib/flow_client/client.rb +303 -14
- data/lib/flow_client/collection.rb +35 -0
- data/lib/flow_client/crypto.rb +45 -16
- data/lib/flow_client/event.rb +52 -0
- data/lib/flow_client/proposal_key.rb +23 -0
- data/lib/flow_client/signature.rb +23 -0
- data/lib/flow_client/signer.rb +22 -0
- data/lib/flow_client/transaction.rb +122 -80
- data/lib/flow_client/utils.rb +29 -0
- data/lib/flow_client/version.rb +1 -1
- data/lib/flow_client.rb +8 -0
- data/logo.svg +121 -0
- data/logo@2x.png +0 -0
- data/template.md +747 -0
- metadata +21 -44
metadata
CHANGED
|
@@ -1,43 +1,15 @@
|
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
|
2
2
|
name: flow_client
|
|
3
3
|
version: !ruby/object:Gem::Version
|
|
4
|
-
version: 0.
|
|
4
|
+
version: 0.2.2
|
|
5
5
|
platform: ruby
|
|
6
6
|
authors:
|
|
7
7
|
- Nico du Plessis
|
|
8
8
|
autorequire:
|
|
9
9
|
bindir: exe
|
|
10
10
|
cert_chain: []
|
|
11
|
-
date: 2021-
|
|
11
|
+
date: 2021-11-11 00:00:00.000000000 Z
|
|
12
12
|
dependencies:
|
|
13
|
-
- !ruby/object:Gem::Dependency
|
|
14
|
-
name: digest-sha3
|
|
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: ecdsa
|
|
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
13
|
- !ruby/object:Gem::Dependency
|
|
42
14
|
name: grpc
|
|
43
15
|
requirement: !ruby/object:Gem::Requirement
|
|
@@ -108,20 +80,6 @@ dependencies:
|
|
|
108
80
|
- - ">="
|
|
109
81
|
- !ruby/object:Gem::Version
|
|
110
82
|
version: '0'
|
|
111
|
-
- !ruby/object:Gem::Dependency
|
|
112
|
-
name: rspec
|
|
113
|
-
requirement: !ruby/object:Gem::Requirement
|
|
114
|
-
requirements:
|
|
115
|
-
- - ">="
|
|
116
|
-
- !ruby/object:Gem::Version
|
|
117
|
-
version: '0'
|
|
118
|
-
type: :runtime
|
|
119
|
-
prerelease: false
|
|
120
|
-
version_requirements: !ruby/object:Gem::Requirement
|
|
121
|
-
requirements:
|
|
122
|
-
- - ">="
|
|
123
|
-
- !ruby/object:Gem::Version
|
|
124
|
-
version: '0'
|
|
125
83
|
description: A Ruby client for the Flow blockchain
|
|
126
84
|
email:
|
|
127
85
|
- nico@glucode.com
|
|
@@ -143,7 +101,15 @@ files:
|
|
|
143
101
|
- Rakefile
|
|
144
102
|
- bin/console
|
|
145
103
|
- bin/setup
|
|
104
|
+
- docker-compose.yml
|
|
105
|
+
- flow.json
|
|
146
106
|
- flow_client.gemspec
|
|
107
|
+
- lib/cadence/contracts/NonFungibleToken.cdc
|
|
108
|
+
- lib/cadence/templates/add-account-key.cdc
|
|
109
|
+
- lib/cadence/templates/add-contract.cdc
|
|
110
|
+
- lib/cadence/templates/create-account.cdc
|
|
111
|
+
- lib/cadence/templates/remove-contract.cdc
|
|
112
|
+
- lib/cadence/templates/update-contract.cdc
|
|
147
113
|
- lib/flow/access/access_pb.rb
|
|
148
114
|
- lib/flow/access/access_services_pb.rb
|
|
149
115
|
- lib/flow/entities/account_pb.rb
|
|
@@ -167,11 +133,22 @@ files:
|
|
|
167
133
|
- lib/flow/legacy/execution/execution_pb.rb
|
|
168
134
|
- lib/flow/legacy/execution/execution_services_pb.rb
|
|
169
135
|
- lib/flow_client.rb
|
|
136
|
+
- lib/flow_client/account.rb
|
|
137
|
+
- lib/flow_client/block.rb
|
|
138
|
+
- lib/flow_client/cadence_type.rb
|
|
170
139
|
- lib/flow_client/client.rb
|
|
140
|
+
- lib/flow_client/collection.rb
|
|
171
141
|
- lib/flow_client/crypto.rb
|
|
142
|
+
- lib/flow_client/event.rb
|
|
143
|
+
- lib/flow_client/proposal_key.rb
|
|
144
|
+
- lib/flow_client/signature.rb
|
|
145
|
+
- lib/flow_client/signer.rb
|
|
172
146
|
- lib/flow_client/transaction.rb
|
|
173
147
|
- lib/flow_client/utils.rb
|
|
174
148
|
- lib/flow_client/version.rb
|
|
149
|
+
- logo.svg
|
|
150
|
+
- logo@2x.png
|
|
151
|
+
- template.md
|
|
175
152
|
homepage: https://github.com/glucode/flow_client
|
|
176
153
|
licenses:
|
|
177
154
|
- MIT
|