cardano_wallet 0.1.3 → 0.1.4

Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: 18f7c7b3b86013c1d54155e315cc55618607d3966fed126a32041f59db989e43
4
- data.tar.gz: 327110f84584c66842d1fd2d5fd89e55711a01c5372b93585763f7dac0eb3a19
3
+ metadata.gz: 17ae7a59007ca84a6d8e72a27aa27e5caf3d06392760cbb9a148bafdb85a174a
4
+ data.tar.gz: 716c172249989ba3e18984b1decb7b22be01b76197528f5671a0ba48f2948681
5
5
  SHA512:
6
- metadata.gz: 591537d49cd9665a1e162435e6e72e6fe41b2515e47dde9a0894e1593572efcab01fb567879fe3bbc7a75050397fbce1a40b67687b6d7745cccd0be40268ebc9
7
- data.tar.gz: 4fe2f473246fafb52bde69d8c85b9140a66fd40bc024a8307dde779fbe291a6a7aa9fa89f396ec3c65c0c47d63eaa457fb5f2db20bea0ad7dda0752f6a225795
6
+ metadata.gz: 819b043669d707e770e17ccb2abdd3a8e24e16e5fd64d2ee288fbecc2c668955415172e8b8b7ea67717dba9aaa5dbb91fbd3771577d7b92355d577e2158ef96e
7
+ data.tar.gz: 4a8b7ca55f536b52320d2834ad23ebd1b27a075a17a180415afc0458b1aadc694478a058a5557fec9b41f0019e628e0667098d9a5419ba3db8167f6b4bb83b01
@@ -2,7 +2,7 @@ name: Nightly
2
2
 
3
3
  on:
4
4
  schedule:
5
- - cron: "0 21 * * *"
5
+ - cron: "0 23 * * *"
6
6
 
7
7
  jobs:
8
8
  test:
@@ -3,12 +3,11 @@ version: "3.5"
3
3
  services:
4
4
  cardano-node:
5
5
  image: inputoutput/cardano-node:${NODE}
6
- environment:
7
- NETWORK:
8
6
  volumes:
9
7
  - node-db:/data
10
8
  - node-ipc:/ipc
11
- - ${NODE_CONFIG_PATH}:/configuration
9
+ - ${NODE_CONFIG_PATH}:/config
10
+ command: run --socket-path /ipc/node.socket --config /config/shelley_testnet-config.json --topology /config/shelley_testnet-topology.json --database-path /data
12
11
  restart: on-failure
13
12
 
14
13
  cardano-wallet:
@@ -19,8 +18,7 @@ services:
19
18
  - ${NODE_CONFIG_PATH}:/config
20
19
  ports:
21
20
  - 8090:8090
22
- entrypoint: []
23
- command: cardano-wallet-shelley serve --testnet /config/ff-genesis.json --node-socket /ipc/node.socket --database /wallet-db --listen-address 0.0.0.0
21
+ command: serve --testnet /config/shelley_testnet-genesis.json --node-socket /ipc/node.socket --database /wallet-db --listen-address 0.0.0.0
24
22
  restart: on-failure
25
23
 
26
24
  volumes:
@@ -161,6 +161,12 @@ module CardanoWallet
161
161
  super
162
162
  end
163
163
 
164
+ # Get tx by id
165
+ # @see https://input-output-hk.github.io/cardano-wallet/api/edge/#operation/getByronTransaction
166
+ def get(wid, tx_id)
167
+ self.class.get("/byron-wallets/#{wid}/transactions/#{tx_id}")
168
+ end
169
+
164
170
  # List all Byron wallet's transactions.
165
171
  # @see https://input-output-hk.github.io/cardano-wallet/api/edge/#operation/listByronTransactions
166
172
  #
@@ -174,6 +174,12 @@ module CardanoWallet
174
174
  super
175
175
  end
176
176
 
177
+ # Get tx by id
178
+ # @see https://input-output-hk.github.io/cardano-wallet/api/edge/#operation/getTransaction
179
+ def get(wid, tx_id)
180
+ self.class.get("/wallets/#{wid}/transactions/#{tx_id}")
181
+ end
182
+
177
183
  # List all wallet's transactions
178
184
  # @see https://input-output-hk.github.io/cardano-wallet/api/edge/#operation/listTransactions
179
185
  #
@@ -1,3 +1,3 @@
1
1
  module CardanoWallet
2
- VERSION = "0.1.3"
2
+ VERSION = "0.1.4"
3
3
  end
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: cardano_wallet
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.1.3
4
+ version: 0.1.4
5
5
  platform: ruby
6
6
  authors:
7
7
  - Piotr Stachyra
8
8
  autorequire:
9
9
  bindir: exe
10
10
  cert_chain: []
11
- date: 2020-06-18 00:00:00.000000000 Z
11
+ date: 2020-06-26 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: httparty