Releases: piotr-iohk/cardano-wallet-rb
Releases · piotr-iohk/cardano-wallet-rb
0.3.4
Compatible with cardano-wallet@v2021-04-28.
What's new:
- Support for shared wallets
- E2E tests against testnet moved to cardano-wallet repository
0.3.2
Compatible with cardano-wallet@v2021-03-04.
What's new:
- Support for assets in coin selection for Byron/Shelley
- Tests updates
0.3.0
Compatible with cardano-wallet@v2020-01-28.
What's new:
- Support for Assets
- Update transactions/fees to support assets
- Support for postAccountKey endpoint
0.2.9
Compatible with cardano-wallet@v2020-12-08.
What's new:
- Support for smash health endpoint
# Check SMASH that was set in the wallet settings
CardanoWallet.new.misc.settings.update({:pool_metadata_source => "https://smash.cardano-mainnet.iohk.io"})
CardanoWallet.new.misc.utils.smash_health
# Check any explicit SMASH url
CardanoWallet.new.misc.utils.smash_health({url: "https://smash.cardano-mainnet.iohk.io"})
0.2.8
Compatible with cardano-wallet@v2020-11-17.
What's new:
- Support for construct address
script = {
"payment": {
"any": [
"script_vkh1yf07000d4ml3ywd3d439kmwp07xzgv6p35cwx8h605jfx0dtd4a",
"script_vkh1mwlngj4fcwegw53tdmyemfupen2758xwvudmcz9ap8cnqk7jmh4"
]
}
}
CardanoWallet.new.misc.utils.post_address(script)
CardanoWallet.new.shelley.stake_pools.trigger_maintenance_action({ "maintenance_action": "gc_stake_pools" })
CardanoWallet.new.shelley.stake_pools.view_maintenance_action
0.2.5
Compatible v2020-10-13
cardano-foundation/cardano-wallet@c969048
What's new:
- Support for TTL in transaction / payment fee
#Shelley
CardanoWallet.new.shelley.transactions.payment_fees(wid, [{address => amt}], withdrawal = nil, metadata = nil, ttl = 10)
CardanoWallet.new.shelley.transactions.create(wid, passphrase, [{address => amt}], withdrawal = nil, metadata = nil, ttl = 10)
# Byron
CardanoWallet.new.byron.transactions.payment_fees(wid, [{address => amt}], withdrawal = nil, metadata = nil, ttl = 10)
CardanoWallet.new.byron.transactions.create(wid, passphrase, [{address => amt}], withdrawal = nil, metadata = nil, ttl = 10)
- Support for sign metadata endpoint (https://input-output-hk.github.io/cardano-wallet/api/edge/#operation/signMetadata)
CardanoWallet.new.shelley.keys.sign_metadata(wid,
role = "utxo_internal",
index = 44,
pass = "Secure Passphrase",
metadata = { "0"=>{ "string"=>"cardano" } })
- Support for get public key endpoint (https://input-output-hk.github.io/cardano-wallet/api/edge/#operation/getWalletKey)
CardanoWallet.new.shelley.keys.get_public_key(wid,
role = "utxo_internal",
index = 44)
0.2.3
Compatible v2020-10-13
cardano-foundation/cardano-wallet@05e59a0
What's new:
- Support for delegation action in
POST /coin-selection/random
join_action = { action: "join", pool: "poolid" }
CardanoWallet.new.shelley.coin_selections.random_deleg(wid, join_action)
quit_action = { action: "quit" }
CardanoWallet.new.shelley.coin_selections.random_deleg(wid, quit_action)
0.2.2
Compat cardano-wallet@
v2020-10-13
.
What's new:
- breaking change in the payments argument for creating transaction, payment fee and coin selection, allowing to send multi-address transactions to the same address:
# was:
payments = {"addr1" => 1, "addr2" => 2}
# is:
payments = [{"addr1" => 1}, {"addr2" => 2}]
CardanoWallet.new.shelley.transactions.create(wid, passphrase, payments)
CardanoWallet.new.shelley.transactions.payment_fees(wid, payments)
CardanoWallet.new.shelley.coin_selections.random(wid, payments)
CardanoWallet.new.byron.transactions.create(wid, passphrase, payments)
CardanoWallet.new.byron.transactions.payment_fees(wid, payments)
CardanoWallet.new.byron.coin_selections.random(wid, payments)
0.2.1
Compat v2020-09-30
cardano-foundation/cardano-wallet@1e3f4b8
What's new:
- Support for
GET /settings
,PUT /settings
https://input-output-hk.github.io/cardano-wallet/api/edge/#tag/Settings
# get settings
CardanoWallet.new.misc.settings.get
# update settings
CardanoWallet.new.misc.settings.update({:pool_metadata_source => "none"})
0.2.0
Compat v2020-09-22
cardano-foundation/cardano-wallet@002987b
What's new:
- support for
GET /address/addr_id
CardanoWallet.new.misc.utils.addresses(addr_id)
- move
submit_external_transaction
# was
CardanoWallet.new.proxy.submit_external_transaction(binary_blob)
# is
CardanoWallet.new.misc.proxy.submit_external_transaction(binary_blob)