Skip to content

Releases: IntersectMBO/cardano-addresses

3.2.0

25 Jan 11:14
115174c
Compare
Choose a tag to compare

The cardano-addresses module provides functionality for manipulation of mnemonic phrases (backup phrases that enable Cardano wallet restoration), and for Cardano address derivation. This module is a low-level library and command-line interface delivered by Adrestia that builds services, libraries, and APIs for Cardano node. Please visit the README for more details.

Added

  • Added command-line for 'cardano-address script validate'

  • Added definition for 'Cosigner'.

  • Added definition for 'ScriptTemplate' (including ToJSON and FromJSON instances).

  • Added validation of 'ScriptTemplate'.

  • Introduced 'foldScript' function.

Changed

  • Fixed cardano-address --version reporting.

  • Added Ord instance for 'ScriptHash'.

  • Extended script to account for ActiveFromSlot and ActiveUntilSlot, ie., introducing timelocks. ToJSON and FromJSON instances were updated. Also command-line supports timelocks now via 'active_from' and 'active_until`.

  • Introduced Required and Recommended validation and adjusted the current one.

  • Fixed cardano-address address bootstrap example in command-line help.

  • Add missing crc32 integrity check when decoding Byron/Icarus addresses.

  • Parameterized 'Script', and use it with 'ScriptHash' and 'Cosigner'.

  • Better error reporting upon validation.

  • Corrected cardano-address hash example in command-line help.

  • Added more examples to README.md

Removed

N/A

Supported Platforms

Signatures

Name Role Approval
Matthias Benkort @KtorZ Technical Team Lead ✔️
Piotr Stachyra @piotr-iohk QA Engineer ✔️
Laurence Jenkins @LaurenceIO Release Manager ✔️

3.1.0

16 Nov 17:21
3.1.0
9c38189
Compare
Choose a tag to compare

The cardano-addresses module provides functionality for manipulation of mnemonic phrases (backup phrases that enable Cardano wallet restoration), and for Cardano address derivation. This module is a low-level library and command-line interface delivered by Adrestia that builds services, libraries, and APIs for Cardano node. Please visit the README for more details.

Added

N/A

Changed

  • keyHashFromText now works seamlessly with key, extended keys, or key hashes. If a key or extended key is provided, the relevant part will be hashed. This means that the command-line and JSON instance for 'Script' work transparently with keys or key hashes.

  • An issue was fixed with the key hash command which failed when extended keys were provided.

  • The FromJSON instance for Script now runs the validation within the JSON parser, so that when the parser succeeds, the resulting 'Script' is deemed valid.

  • The FromJSON instance for Script is more efficient at displaying errors.

Removed

N/A

Supported Platforms

Signatures

Name Role Approval
Matthias Benkort @KtorZ Technical Team Lead ✔️
Piotr Stachyra @piotr-iohk QA Engineer ✔️
Laurence Jenkins @LaurenceIO Release Manager ✔️

Cardano Addresses 3.0.0

12 Nov 14:16
3.0.0
c78bf39
Compare
Choose a tag to compare

cardano-addresses module provides functionalities for manipulation with mnemonic (backup phrase allowing Cardano wallet restoration), and for Cardano address derivation. cardano-addresses is a low-level library and command-line interface delivered by Adrestia that builds services, libraries and APIs for Cardano node. See its README for more details.

Added

  • Support for (multisig) scripts and script addresses in modules:

    • Cardano.Address.Script
    • Cardano.Address.Script.Parser
  • Support for constructing scripts and script addresses via the command-line.

  • Support for constructing rewards addresses via the library and command-line.

  • New command for computing key and script hashes that are required in the construction of larger objects (e.g. addresses).

  • Support for cabal build.

Changed

  • The command-line API no longer support multi-encoding (base16, bech32 and base58). Instead it enforces bech32 for keys and addresses, with specific human readable prefixes. It is still possible to easily go from base16-encoded data to bech32 by piping data through the bech32 command-line.

  • It is no longer possible to derive child keys to and from any path. Only these are allowed:

    • root -> account
    • root -> address
    • account -> address
      This is reflected in the bech32 prefixes of the inputs and outputs.
  • Allow constructing delegation addresses from a script. This works transparently from previous version of the command-line, but the command now also accepts script hashes as possible valid inputs.

Removed

  • No more --legacy option on the key child command. Which derivation scheme to use is now inferred from the bech32 prefix used and the derivation path.

  • Cardano.Address.Errors module. Errors data-types have been moved to their respective module Cardano.Address.Styles.{Byron,Icarus,Shelley}

  • Anything related to Jormungandr in both the library and the command-line.

Supported Platforms

Signatures

Name Role Approval
Matthias Benkort @KtorZ Technical Team Lead ✔️
Piotr Stachyra @piotr-iohk QA Engineer ✔️
Laurence Jenkins @LaurenceIO Release Manager ✔️

Cardano Addresses 2.1.0

29 Sep 15:18
2.1.0
e0ab458
Compare
Choose a tag to compare

cardano-addresses module provides functionalities for manipulation with mnemonic (backup phrase allowing Cardano wallet restoration), and for Cardano address derivation. cardano-addresses is a low-level library and command-line interface delivered by Adrestia that builds services, libraries and APIs for Cardano node. See its README for more details.

Added

  • Added constructors to derive keys on the multisig role.
  • Made the parser for --network-tag more user friendly by now accepting pre-defined keywords such as "mainnet" or "testnet".

Changed

  • Renamed AccountingStyle into Role to better capture the semantic of the 4th level in derivation paths.
  • Made script hashes 28-byte long again, after this was fixed upstream in the Cardano ledger.

Removed

N/A

Supported Platforms

Signatures

Name Role Approval
Matthias Benkort @KtorZ Technical Team Lead / Release Manager Replacement ✔️
Piotr Stachyra @piotr-iohk QA Engineer ✔️

Cardano Addresses 2.0.0

10 Sep 16:24
2.0.0
9a64226
Compare
Choose a tag to compare

cardano-addresses module provides functionalities for manipulation with mnemonic (backup phrase allowing Cardano wallet restoration), and for Cardano address derivation. cardano-addresses is a low-level library and command-line interface delivered by Adrestia that builds services, libraries and APIs for Cardano node. See its README for more details.

Added

  • Command-line interface cardano-address for managing recovery-phrases, keys and addresses.
  • Support for Shelley-specific address types.
  • Support for Jormungandr-specific address types.

Changed

  • Repository structure re-organized in two packages: core & command-line.

Supported Platforms

Signatures

Name Role Approval
Matthias Benkort @KtorZ Technical Team Lead ✔️
Piotr Stachyra @piotr-iohk QA Engineer ✔️
Tatyana Valkevych @tatyanavych Release Manager ✔️

Cardano Addresses 1.0.0

22 Apr 10:13
1.0.0
1eb469e
Compare
Choose a tag to compare

cardano-addresses module provides functionalities for manipulation with mnemonic (backup phrase allowing Cardano wallet restoration), and for Cardano address derivation. cardano-addresses is a low-level library delivered by Adrestia that builds services, libraries and APIs for Cardano node. See its README for more details.

Added

  • Cardano.Mnemonic module for mnemonic generation and manipulation
  • Cardano.Address module for address creation, encoding and decoding
  • Cardano.Address.Derivation module for primitives and abstractions regarding hierarchical derivation of credentials
  • Cardano.Address.Style.Byron module implementing derivation primitives for Byron addresses
  • Cardano.Address.Style.Icarus module implementing derivation primitives for Icarus addresses

Signatures

Name Role Approval
Matthias Benkort @KtorZ Technical Team Lead ✔️
Piotr Stachyra @piotr-iohk QA Engineer ✔️
Tatyana Valkevych @tatyanavych Release Manager ✔️