nis-ruby 0.0.11.1 → 0.0.12

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 (63) hide show
  1. checksums.yaml +4 -4
  2. data/.travis.yml +1 -1
  3. data/LICENSE +21 -0
  4. data/README.md +23 -43
  5. data/{samples/request_account.rb → examples/account.rb} +2 -10
  6. data/{samples/request_block.rb → examples/block.rb} +0 -0
  7. data/{samples/request_debug.rb → examples/debug.rb} +0 -8
  8. data/{samples/request_local.rb → examples/local.rb} +0 -5
  9. data/{samples/request_namespace.rb → examples/namespace.rb} +0 -3
  10. data/{samples/request_nis.rb → examples/nis.rb} +0 -0
  11. data/{samples/request_node.rb → examples/node.rb} +0 -9
  12. data/examples/shutdown.rb +6 -0
  13. data/examples/transactions/importance_transfer.rb +22 -0
  14. data/examples/transactions/mosaic_definition_creation.rb +50 -0
  15. data/examples/transactions/mosaic_supply_change.rb +24 -0
  16. data/examples/transactions/multisig.rb +26 -0
  17. data/examples/transactions/multisig_add_cosignatory.rb +31 -0
  18. data/examples/transactions/multisig_aggregate_modification.rb +28 -0
  19. data/examples/transactions/multisig_signature.rb +38 -0
  20. data/examples/transactions/provision_namespace.rb +19 -0
  21. data/examples/transactions/transfer.rb +22 -0
  22. data/lib/nis.rb +8 -4
  23. data/lib/nis/client.rb +2 -1
  24. data/lib/nis/endpoint/shutdown.rb +7 -0
  25. data/lib/nis/endpoint/transaction/announce.rb +1 -1
  26. data/lib/nis/endpoint/transaction/prepareAnnounce.rb +1 -1
  27. data/lib/nis/fee.rb +1 -0
  28. data/lib/nis/fee/importance_transfer.rb +22 -0
  29. data/lib/nis/fee/mosaic_definition_creation.rb +22 -0
  30. data/lib/nis/fee/mosaic_supply_change_transfer.rb +22 -0
  31. data/lib/nis/fee/multisig.rb +22 -0
  32. data/lib/nis/fee/multisig_aggregation_modification.rb +30 -0
  33. data/lib/nis/fee/provision_namespace.rb +32 -0
  34. data/lib/nis/fee/transfer.rb +51 -0
  35. data/lib/nis/keypair.rb +18 -0
  36. data/lib/nis/mixin/struct.rb +50 -0
  37. data/lib/nis/request.rb +1 -0
  38. data/lib/nis/request/announce.rb +10 -0
  39. data/lib/nis/request/prepare_announce.rb +48 -0
  40. data/lib/nis/struct/block.rb +1 -1
  41. data/lib/nis/struct/mosaic_properties.rb +2 -2
  42. data/lib/nis/transaction/importance_transfer.rb +25 -28
  43. data/lib/nis/transaction/mosaic_definition_creation.rb +33 -34
  44. data/lib/nis/transaction/mosaic_supply_change.rb +30 -30
  45. data/lib/nis/transaction/multisig.rb +17 -36
  46. data/lib/nis/transaction/multisig_aggregate_modification.rb +29 -31
  47. data/lib/nis/transaction/multisig_signature.rb +24 -23
  48. data/lib/nis/transaction/provision_namespace.rb +53 -33
  49. data/lib/nis/transaction/transfer.rb +22 -52
  50. data/lib/nis/util.rb +16 -13
  51. data/lib/nis/version.rb +1 -1
  52. data/nis.gemspec +2 -0
  53. metadata +62 -19
  54. data/lib/nis/mixin/network.rb +0 -20
  55. data/samples/request_importance_transfer_transaction.rb +0 -34
  56. data/samples/request_mosaic_definition_creation_transaction.rb +0 -62
  57. data/samples/request_mosaic_supply_change_transaction.rb +0 -35
  58. data/samples/request_multisig_add_cosignatory_transaction.rb +0 -58
  59. data/samples/request_multisig_aggregate_modification_transaction.rb +0 -45
  60. data/samples/request_multisig_signature_transaction.rb +0 -53
  61. data/samples/request_multisig_transaction.rb +0 -54
  62. data/samples/request_provision_namespace_transaction.rb +0 -31
  63. data/samples/request_transfer_transaction.rb +0 -47
@@ -1,50 +1,48 @@
1
1
  class Nis::Transaction
2
- # @attr [Integer] timeStamp
3
- # @attr [String] signature
4
- # @attr [Integer] fee
2
+ # @attr [Array <Nis::Struct::MultisigCosignatoryModification>] modifications
3
+ # @attr [Interger] min_cosigs
5
4
  # @attr [Integer] type
5
+ # @attr [Integer] fee
6
6
  # @attr [Integer] deadline
7
+ # @attr [Integer] timeStamp
7
8
  # @attr [Integer] version
8
9
  # @attr [String] signer
9
- # @attr [Array <Nis::Struct::MultisigCosignatoryModification>] modifications
10
- # @attr [Hash] minCosignatories
10
+ # @attr [String] signature
11
11
  # @see http://bob.nem.ninja/docs/#multisigAggregateModificationTransaction
12
12
  class MultisigAggregateModification
13
- include Nis::Mixin::Network
14
- attr_writer :version, :fee
13
+ include Nis::Mixin::Struct
15
14
 
16
- include Nis::Util::Assignable
17
- attr_accessor :timeStamp, :signature, :type, :deadline, :signer,
18
- :modifications, :minCosignatories
15
+ attr_reader :type, :fee
16
+ attr_accessor :modifications, :minCosignatories,
17
+ :deadline, :timeStamp, :version, :signer, :signature,
18
+ :network
19
19
 
20
- alias timestamp timeStamp
21
- alias timestamp= timeStamp=
22
20
  alias min_cosignatories minCosignatories
23
21
  alias min_cosignatories= minCosignatories=
22
+ alias timestamp timeStamp
24
23
 
25
24
  TYPE = 0x1001 # 4097 (multisig aggregate modification transfer transaction)
26
- FEE = 16_000_000
27
-
28
- def self.build(attrs)
29
- new(attrs)
30
- end
31
25
 
32
- # @return [Integer]
33
- def type
34
- @type ||= TYPE
35
- end
26
+ def initialize(modifications, min_cosigs, network: :testnet)
27
+ @type = TYPE
28
+ @network = network
36
29
 
37
- # @return [Integer]
38
- def fee
39
- @fee ||= FEE
30
+ @modifications = modifications
31
+ @minCosignatories = min_cosigs
32
+ # @minCosignatories = { relativeChange: 1 }
33
+ @fee = Nis::Fee::MultisigAggregateModification.new(self)
40
34
  end
41
35
 
42
- alias to_hash_old to_hash
43
-
44
- def to_hash
45
- type
46
- fee
47
- to_hash_old
48
- end
36
+ private
37
+
38
+ # def relative_change
39
+ # modifications.inject do |sum, mod|
40
+ # case mod.modificationType
41
+ # when :add then 1
42
+ # when :remove then -1
43
+ # else raise "Unsupported modificationType: #{mod.modificationType}"
44
+ # end
45
+ # end
46
+ # end
49
47
  end
50
48
  end
@@ -1,45 +1,46 @@
1
1
  class Nis::Transaction
2
- # @attr [Integer] timeStamp
3
- # @attr [String] signature
4
- # @attr [Integer] fee
2
+ # @attr [String] otherHash
3
+ # @attr [String] otherAccount
5
4
  # @attr [Integer] type
5
+ # @attr [Integer] fee
6
6
  # @attr [Integer] deadline
7
+ # @attr [Integer] timeStamp
7
8
  # @attr [Integer] version
8
- # @attr [String] signer
9
- # @attr [String] otherHash
10
- # @attr [String] otherAccount
9
+ # @attr [String] signer
10
+ # @attr [String] signature
11
11
  # @see http://bob.nem.ninja/docs/#multisigSignatureTransaction
12
12
  class MultisigSignature
13
- include Nis::Mixin::Network
14
- attr_writer :version, :fee
13
+ include Nis::Mixin::Struct
15
14
 
16
- include Nis::Util::Assignable
17
- attr_accessor :timeStamp, :signature, :type, :deadline, :signer,
18
- :otherHash, :otherAccount
15
+ attr_reader :type, :fee
16
+ attr_accessor :otherHash, :otherAccount, :signer,
17
+ :deadline, :timeStamp, :version, :signature,
18
+ :network
19
19
 
20
- alias timestamp timeStamp
21
- alias timestamp= timeStamp=
22
20
  alias other_hash otherHash
23
21
  alias other_hash= otherHash=
24
22
  alias other_account otherAccount
25
23
  alias other_account= otherAccount=
24
+ alias timestamp timeStamp
26
25
 
27
26
  TYPE = 0x1002 # 4098 (multisig signature transaction)
28
27
 
29
- def self.build(attrs)
30
- new(attrs)
31
- end
28
+ def initialize(other_hash, other_account, signer, network: :testnet)
29
+ @type = TYPE
30
+ @network = network
32
31
 
33
- # @return [Integer]
34
- def type
35
- @type ||= TYPE
32
+ @otherHash = { data: other_hash }
33
+ @otherAccount = other_account
34
+ @signer = signer
35
+ @fee = Nis::Fee::Multisig.new(self)
36
36
  end
37
37
 
38
- alias to_hash_old to_hash
38
+ def otherHash=(hash)
39
+ @otherHash = { data: hash }
40
+ end
39
41
 
40
- def to_hash
41
- type
42
- to_hash_old
42
+ def otherHash
43
+ @otherHash[:data]
43
44
  end
44
45
  end
45
46
  end
@@ -1,56 +1,76 @@
1
1
  class Nis::Transaction
2
- # @attr [Integer] timeStamp
3
- # @attr [String] signature
4
- # @attr [Integer] fee
2
+ # @attr [String] newPart
3
+ # @attr [String] parent
4
+ # @attr [Integer] rentalFee
5
+ # @attr [String] rentalFeeSink
5
6
  # @attr [Integer] type
7
+ # @attr [Integer] fee
6
8
  # @attr [Integer] deadline
9
+ # @attr [Integer] timeStamp
7
10
  # @attr [Integer] version
8
- # @attr [String] signer
9
- # @attr [String] rentalFeeSink
10
- # @attr [Integer] rentalFee
11
- # @attr [String] newPart
12
- # @attr [String] parent
11
+ # @attr [String] signer
12
+ # @attr [String] signature
13
+ # @attr [Symbol] network
13
14
  # @see http://bob.nem.ninja/docs/#provisionNamespaceTransaction
14
15
  class ProvisionNamespace
15
- include Nis::Mixin::Network
16
- attr_writer :version, :fee
16
+ include Nis::Mixin::Struct
17
17
 
18
- include Nis::Util::Assignable
19
- attr_accessor :timeStamp, :signature, :type, :deadline, :signer,
20
- :rentalFeeSink, :rentalFee, :newPart, :parent
18
+ attr_reader :type, :fee
19
+ attr_accessor :newPart, :parent, :rentalFeeSink, :rentalFee,
20
+ :deadline, :timeStamp, :version, :signer, :signature,
21
+ :network
21
22
 
22
- alias timestamp timeStamp
23
- alias timestamp= timeStamp=
24
- alias rental_fee_sink rentalFeeSink
25
- alias rental_fee_sink= rentalFeeSink=
26
- alias rental_fee rentalFee
27
- alias rental_fee= rentalFee=
28
23
  alias new_part newPart
29
24
  alias new_part= newPart=
25
+ alias rental_fee rentalFee
26
+ alias rental_fee= rentalFee=
27
+ alias rental_fee_sink rentalFeeSink
28
+ alias rental_fee_sink= rentalFeeSink=
29
+ alias timestamp timeStamp
30
30
 
31
31
  TYPE = 0x2001 # 8193 (provision namespace transaction)
32
- FEE = 20_000_000
33
32
 
34
- def self.build(attrs)
35
- new(attrs)
33
+ def initialize(new_part, parent = nil, network: :testnet)
34
+ @type = TYPE
35
+ @network = network
36
+
37
+ @newPart = new_part
38
+ @parent = parent
39
+ @rentalFee = rental[:fee]
40
+ @rentalFeeSink = rental[:sink]
41
+
42
+ @fee = Nis::Fee::ProvisionNamespace.new(self)
36
43
  end
37
44
 
38
- # @return [Integer]
39
- def type
40
- @type ||= TYPE
45
+ def root?
46
+ !!(@parent == nil)
41
47
  end
42
48
 
43
- # @return [Integer]
44
- def fee
45
- @fee ||= FEE
49
+ def sub?
50
+ !!(@parent && @newPart)
46
51
  end
47
52
 
48
- alias to_hash_old to_hash
53
+ private
49
54
 
50
- def to_hash
51
- type
52
- fee
53
- to_hash_old
55
+ # @see http://www.nem.ninja/docs/#namespaces
56
+ def rental
57
+ if @network == :testnet
58
+ if root?
59
+ { fee: 100 * 1_000_000,
60
+ sink: 'TAMESPACEWH4MKFMBCVFERDPOOP4FK7MTDJEYP35' }
61
+ else
62
+ { fee: 10 * 1_000_000,
63
+ sink: 'TAMESPACEWH4MKFMBCVFERDPOOP4FK7MTDJEYP35' }
64
+ end
65
+ else
66
+ if root?
67
+ { fee: 5_000 * 1_000_000 ,
68
+ sink: 'NAMESPACEWH4MKFMBCVFERDPOOP4FK7MTBXDPZZA' }
69
+ else
70
+ { fee: 200 * 1_000_000 ,
71
+ sink: 'NAMESPACEWH4MKFMBCVFERDPOOP4FK7MTBXDPZZA' }
72
+ end
73
+ end
54
74
  end
55
75
  end
56
76
  end
@@ -1,74 +1,44 @@
1
1
  class Nis::Transaction
2
- # @attr [Integer] timestamp
3
- # @attr [Integer] amount
4
- # @attr [Integer] fee
5
2
  # @attr [String] recipient
3
+ # @attr [Integer] amount
4
+ # @attr [Nis::Struct::Message] message
5
+ # @attr [Array <Nis::Struct::MosaicId>] mosaics
6
6
  # @attr [Integer] type
7
+ # @attr [Nis::Fee::Transfer] fee
7
8
  # @attr [Integer] deadline
8
- # @attr [Nis::Struct::Message] message
9
+ # @attr [Integer] timestamp
9
10
  # @attr [Integer] version
10
- # @attr [String] signer
11
- # @attr [Array <Nis::Struct::MosaicId>] mosaics
11
+ # @attr [String] signer
12
+ # @attr [Symbol] network
12
13
  # @see http://bob.nem.ninja/docs/#transferTransaction
13
14
  # @see http://bob.nem.ninja/docs/#initiating-a-transfer-transaction
14
15
  # @see http://bob.nem.ninja/docs/#version-1-transfer-transactions
15
16
  # @see http://bob.nem.ninja/docs/#version-2-transfer-transactions
16
17
  class Transfer
17
- include Nis::Mixin::Network
18
- attr_writer :version, :fee
18
+ include Nis::Mixin::Struct
19
19
 
20
- include Nis::Util::Assignable
21
- attr_accessor :timeStamp, :amount, :recipient, :type, :deadline, :message, :signer,
22
- :mosaics
20
+ attr_reader :type, :fee
21
+ attr_accessor :recipient, :amount, :message,
22
+ :deadline, :timeStamp, :version, :signer,
23
+ :network
23
24
 
24
- alias :timestamp :timeStamp
25
- alias :timestamp= :timeStamp=
25
+ alias timestamp timeStamp
26
26
 
27
27
  TYPE = 0x0101 # 257 (transfer transaction)
28
- FEE = 25
29
-
30
- def self.build(attrs)
31
- new(attrs)
32
- end
33
28
 
34
- # @return [Integer]
35
- def type
36
- @type ||= TYPE
37
- end
29
+ def initialize(recipient, amount, message = '', network: :testnet)
30
+ @type = TYPE
31
+ @network = network
38
32
 
39
- # @return [Integer]
40
- def fee
41
- @fee ||= calculate_fee
33
+ @recipient = recipient
34
+ @amount = amount
35
+ @message = Nis::Struct::Message.new(message)
36
+ @fee = Nis::Fee::Transfer.new(self)
42
37
  end
43
38
 
44
39
  def mosaics
45
- @mosaics ||= []
46
- end
47
-
48
- alias to_hash_old to_hash
49
-
50
- def to_hash
51
- type
52
- fee
53
- to_hash_old
54
- end
55
-
56
- # @return [Integer]
57
- def calculate_fee
58
- if mosaics.empty?
59
- tmp_fee = [1, amount / 1_000_000 / 10_000].max
60
- fee = (tmp_fee > FEE ? FEE : tmp_fee)
61
- else
62
- # TODO: calc mosaics fee
63
- raise NotImplementedError, 'not implemented calculation mosaic fee.'
64
- fee = FEE
65
- end
66
-
67
- if message.bytesize > 0
68
- fee += [1, (message.bytesize / 2 / 32) + 1].max
69
- end
70
-
71
- fee * 1_000_000
40
+ # TODO: to be implemented...
41
+ []
72
42
  end
73
43
  end
74
44
  end
data/lib/nis/util.rb CHANGED
@@ -12,24 +12,27 @@ module Nis::Util
12
12
 
13
13
  NEM_EPOCH = Time.utc(2015, 3, 29, 0, 6, 25, 0)
14
14
 
15
- #
16
- # @see http://www.nem.ninja/docs/#namespaces
17
- NAMESPACE_SINK = {
18
- testnet: 'TAMESPACEWH4MKFMBCVFERDPOOP4FK7MTDJEYP35',
19
- mainnet: 'NAMESPACEWH4MKFMBCVFERDPOOP4FK7MTBXDPZZA'
20
- }
21
-
22
- # @see http://www.nem.ninja/docs/#mosaics
23
- MOSAIC_SINK = {
24
- testnet: 'TBMOSAICOD4F54EE5CDMR23CCBGOAM2XSJBR5OLC',
25
- mainnet: 'NBMOSAICOD4F54EE5CDMR23CCBGOAM2XSIUX6TRS'
26
- }
27
-
28
15
  APOSTILLE_SINK = {
29
16
  testnet: 'TC7MCY5AGJQXZQ4BN3BOPNXUVIGDJCOHBPGUM2GE',
30
17
  mainnet: 'NCZSJHLTIMESERVBVKOW6US64YDZG2PFGQCSV23J'
31
18
  }
32
19
 
20
+ def self.parse_version(network, version)
21
+ parse_network(network) | version
22
+ end
23
+
24
+ def self.parse_network(network)
25
+ case network
26
+ when :mainnet then MAINNET
27
+ when :testnet then TESTNET
28
+ else TESTNET
29
+ end
30
+ end
31
+
32
+ def self.deadline(seconds = 3600)
33
+ timestamp + seconds
34
+ end
35
+
33
36
  def self.timestamp
34
37
  (Time.now - NEM_EPOCH).to_i
35
38
  end
data/lib/nis/version.rb CHANGED
@@ -1,3 +1,3 @@
1
1
  class Nis
2
- VERSION = '0.0.11.1'.freeze
2
+ VERSION = '0.0.12'.freeze
3
3
  end
data/nis.gemspec CHANGED
@@ -33,6 +33,8 @@ Gem::Specification.new do |spec|
33
33
  spec.add_development_dependency 'webmock', '~> 2.3'
34
34
  spec.add_development_dependency 'pry', '~> 0.10'
35
35
 
36
+ spec.add_dependency 'digest-sha3', '~> 1.1'
37
+ spec.add_dependency 'rbnacl', '~> 5.0'
36
38
  spec.add_dependency 'faraday', '~> 0.11'
37
39
  spec.add_dependency 'faraday_middleware', '~> 0.11'
38
40
  spec.add_dependency 'thor', '~> 0.19'
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: nis-ruby
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.0.11.1
4
+ version: 0.0.12
5
5
  platform: ruby
6
6
  authors:
7
7
  - Yoshiyuki Ieyama
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2017-06-17 00:00:00.000000000 Z
11
+ date: 2017-07-16 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: rake
@@ -108,6 +108,34 @@ dependencies:
108
108
  - - "~>"
109
109
  - !ruby/object:Gem::Version
110
110
  version: '0.10'
111
+ - !ruby/object:Gem::Dependency
112
+ name: digest-sha3
113
+ requirement: !ruby/object:Gem::Requirement
114
+ requirements:
115
+ - - "~>"
116
+ - !ruby/object:Gem::Version
117
+ version: '1.1'
118
+ type: :runtime
119
+ prerelease: false
120
+ version_requirements: !ruby/object:Gem::Requirement
121
+ requirements:
122
+ - - "~>"
123
+ - !ruby/object:Gem::Version
124
+ version: '1.1'
125
+ - !ruby/object:Gem::Dependency
126
+ name: rbnacl
127
+ requirement: !ruby/object:Gem::Requirement
128
+ requirements:
129
+ - - "~>"
130
+ - !ruby/object:Gem::Version
131
+ version: '5.0'
132
+ type: :runtime
133
+ prerelease: false
134
+ version_requirements: !ruby/object:Gem::Requirement
135
+ requirements:
136
+ - - "~>"
137
+ - !ruby/object:Gem::Version
138
+ version: '5.0'
111
139
  - !ruby/object:Gem::Dependency
112
140
  name: faraday
113
141
  requirement: !ruby/object:Gem::Requirement
@@ -164,9 +192,27 @@ files:
164
192
  - ".travis.yml"
165
193
  - CODE_OF_CONDUCT.md
166
194
  - Gemfile
195
+ - LICENSE
167
196
  - README.md
168
197
  - Rakefile
169
198
  - bin/nis
199
+ - examples/account.rb
200
+ - examples/block.rb
201
+ - examples/debug.rb
202
+ - examples/local.rb
203
+ - examples/namespace.rb
204
+ - examples/nis.rb
205
+ - examples/node.rb
206
+ - examples/shutdown.rb
207
+ - examples/transactions/importance_transfer.rb
208
+ - examples/transactions/mosaic_definition_creation.rb
209
+ - examples/transactions/mosaic_supply_change.rb
210
+ - examples/transactions/multisig.rb
211
+ - examples/transactions/multisig_add_cosignatory.rb
212
+ - examples/transactions/multisig_aggregate_modification.rb
213
+ - examples/transactions/multisig_signature.rb
214
+ - examples/transactions/provision_namespace.rb
215
+ - examples/transactions/transfer.rb
170
216
  - lib/nis.rb
171
217
  - lib/nis/client.rb
172
218
  - lib/nis/endpoint.rb
@@ -206,13 +252,26 @@ files:
206
252
  - lib/nis/endpoint/node/extended_info.rb
207
253
  - lib/nis/endpoint/node/info.rb
208
254
  - lib/nis/endpoint/node/peer_list.rb
255
+ - lib/nis/endpoint/shutdown.rb
209
256
  - lib/nis/endpoint/status.rb
210
257
  - lib/nis/endpoint/transaction.rb
211
258
  - lib/nis/endpoint/transaction/announce.rb
212
259
  - lib/nis/endpoint/transaction/prepareAnnounce.rb
213
260
  - lib/nis/error.rb
261
+ - lib/nis/fee.rb
262
+ - lib/nis/fee/importance_transfer.rb
263
+ - lib/nis/fee/mosaic_definition_creation.rb
264
+ - lib/nis/fee/mosaic_supply_change_transfer.rb
265
+ - lib/nis/fee/multisig.rb
266
+ - lib/nis/fee/multisig_aggregation_modification.rb
267
+ - lib/nis/fee/provision_namespace.rb
268
+ - lib/nis/fee/transfer.rb
269
+ - lib/nis/keypair.rb
214
270
  - lib/nis/mixin.rb
215
- - lib/nis/mixin/network.rb
271
+ - lib/nis/mixin/struct.rb
272
+ - lib/nis/request.rb
273
+ - lib/nis/request/announce.rb
274
+ - lib/nis/request/prepare_announce.rb
216
275
  - lib/nis/struct.rb
217
276
  - lib/nis/struct/account_importance_view_model.rb
218
277
  - lib/nis/struct/account_info.rb
@@ -281,22 +340,6 @@ files:
281
340
  - lib/nis/util/assignable.rb
282
341
  - lib/nis/version.rb
283
342
  - nis.gemspec
284
- - samples/request_account.rb
285
- - samples/request_block.rb
286
- - samples/request_debug.rb
287
- - samples/request_importance_transfer_transaction.rb
288
- - samples/request_local.rb
289
- - samples/request_mosaic_definition_creation_transaction.rb
290
- - samples/request_mosaic_supply_change_transaction.rb
291
- - samples/request_multisig_add_cosignatory_transaction.rb
292
- - samples/request_multisig_aggregate_modification_transaction.rb
293
- - samples/request_multisig_signature_transaction.rb
294
- - samples/request_multisig_transaction.rb
295
- - samples/request_namespace.rb
296
- - samples/request_nis.rb
297
- - samples/request_node.rb
298
- - samples/request_provision_namespace_transaction.rb
299
- - samples/request_transfer_transaction.rb
300
343
  homepage: https://github.com/44uk/nis-ruby
301
344
  licenses:
302
345
  - MIT