Skip to content

0.2.2

Compare
Choose a tag to compare
@piotr-iohk piotr-iohk released this 15 Oct 18:04
· 215 commits to master since this release
b76c36f

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)