cardano_wallet 0.3.14 → 0.3.15

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: db8533e403d0e47ad79f2a1f747ff748da7f23f5cfb7a2f8401f8ce5d7c17bfb
4
- data.tar.gz: 7fd7466533875ca3414a28ae940eac4c0fee0543114e4b26713bdf1321689b7d
3
+ metadata.gz: ae5c2835562e35f7ce7c3263d240631e94dc78046c665b8ef40f41c5495cf3f2
4
+ data.tar.gz: 29764e5fec66212d2902cab2a21f64c8bab4b7f0259bd4f38105f532b41840ab
5
5
  SHA512:
6
- metadata.gz: d63b186f82b6f5abd16c0e336e6a137ea2607ce911641d5270af80f791e2c83e75e5213ec16af5a5b0ad867700fcc62fd752804320bc0d03fa005ebaaf8e6f5f
7
- data.tar.gz: e18d2611da373ee8b7c2ad0702405a9d5cf51dc0badd0c744349fabbf2d4644f561d10fbb3a102a4e8a62ced3844ea74f2fbd580c992b836e0fa12fd44482fa6
6
+ metadata.gz: f3873fbd889e7c2482f5a423f22d62723bcc94c26aa54d33e25c8f96c17e6ee072e8eb07705ccd111ec42b431502002fd725cc53905cb7b16ce570f631089305
7
+ data.tar.gz: 7eaf74bc9bd2e6b105f2a3fa72b61d670c08d06ccb981a26cc8ac9fe685d26a0fe0899335d38ff7e570f02c05e02dc409f1368eaa5912f47083dda5a825bf7b4
@@ -33,7 +33,7 @@ jobs:
33
33
  echo "Node: $NODE"
34
34
  NODE_CONFIG_PATH=`pwd`/configs docker-compose up --detach
35
35
  docker run --rm inputoutput/cardano-wallet:$WALLET version
36
- docker run --rm inputoutput/cardano-node:$NODE version
36
+ docker run --rm inputoutput/cardano-node:$NODE cli version
37
37
  ls ~/node-db-nightly-docker
38
38
 
39
39
  - name: Run all tests except nighlty
@@ -45,5 +45,5 @@ jobs:
45
45
  CI: true
46
46
  CODECOV_TOKEN: ${{ secrets.CODECOV_TOKEN }}
47
47
  NETWORK: testnet
48
- WALLET: dev-master-shelley
49
- NODE: 1.25.1
48
+ WALLET: dev-master
49
+ NODE: alonzo-purple-1.0.1
data/Rakefile CHANGED
@@ -31,6 +31,7 @@ task :get_latest_configs, [:env] do |_, args|
31
31
  mk_dir(path)
32
32
  wget("#{base_url}/#{env}-config.json", "#{path}/#{env}-config.json")
33
33
  wget("#{base_url}/#{env}-byron-genesis.json", "#{path}/#{env}-byron-genesis.json")
34
+ wget("#{base_url}/#{env}-alonzo-genesis.json", "#{path}/#{env}-alonzo-genesis.json")
34
35
  wget("#{base_url}/#{env}-shelley-genesis.json", "#{path}/#{env}-shelley-genesis.json")
35
36
  wget("#{base_url}/#{env}-topology.json", "#{path}/#{env}-topology.json")
36
37
  end
@@ -258,6 +258,16 @@ module CardanoWallet
258
258
  # API for Transactions
259
259
  # @see https://input-output-hk.github.io/cardano-wallet/api/edge/#tag/Transactions
260
260
  class Transactions < Base
261
+ # Balance transaction
262
+ # @see https://input-output-hk.github.io/cardano-wallet/api/edge/#operation/balanceTransaction
263
+ # @param wid [String] source wallet id
264
+ # @param payload [Hash] payload object
265
+ def balance(wid, payload)
266
+ self.class.post("/wallets/#{wid}/transactions-balance",
267
+ body: payload.to_json,
268
+ headers: { 'Content-Type' => 'application/json' })
269
+ end
270
+
261
271
  # Construct transaction
262
272
  # @see https://input-output-hk.github.io/cardano-wallet/api/edge/#operation/constructTransaction
263
273
  # @param wid [String] source wallet id
@@ -1,5 +1,5 @@
1
1
  # frozen_string_literal: true
2
2
 
3
3
  module CardanoWallet
4
- VERSION = '0.3.14'
4
+ VERSION = '0.3.15'
5
5
  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.3.14
4
+ version: 0.3.15
5
5
  platform: ruby
6
6
  authors:
7
7
  - Piotr Stachyra
8
8
  autorequire:
9
9
  bindir: exe
10
10
  cert_chain: []
11
- date: 2021-07-29 00:00:00.000000000 Z
11
+ date: 2021-09-20 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: httparty