hashKey
for Shelley style- Key derivation support for DRep, CCCold and CCHot in accordance to CIP--105. Also supported in CLI.
- Fix field for staking scripts in AddressInfo.
- Rename infoScriptHash field in AddressInfo to infoSpendingScriptHash.
- Get signing key and chain code from extended signing key via
cardano-address key private
- Support for new environments
preview
andpreprod
. - Supported derivation of root private key using second factor mnemonic or its base16/base64/plain text equivalent
- Supported credential construction from key hashes in both payment and delegation credential. The construction scheme is also supported in CLI.
- Compatibility with Aeson 2 library.
cardano-address key walletid
support for Shared wallets.
- Support for policy key derivation and hashing according to CIP-1855.
- Adds the
cardano-address key walletid
command, which derives acardano-wallet
wallet ID from a wallet key.
- Several nodejs package dependencies updated according to
npm audit
and dependabot alerts.
- Address type in address inspect command.
- Bech32 prefixes for shared account addresses were fixed to match the latest draft of CIP-1854.
- Initial release of a NPM Package which uses the GHCJS build.
-
The supported compiler version is now GHC 8.10.4.
-
Updated
validateScriptTemplate
andvalidateScriptOfTemplate
functions for multi-signature wallets.
-
Added
Cardano.Address.Style.Shelley.eitherInspectAddress
function with stronger result and error types. -
Added
Cardano.Address.Style.Shared
module which defines a shared wallet style enabling multisig.
-
The constructors of
Cardano.Address.Style.Shelley.ErrInspectAddress
have changed. Any code which pattern matches on this type will need minor changes. -
A number of Bech32 prefixes were changed to account for CIP changes. The whole family of
*_shared_*
prefixes were introduced to accommodate newly added shared wallet style. In specific, there in no longerscript_vkh
butaddr_shared_vkh
andstake_shared_vkh
to denote spending and stake verification key hashes, respectively. -
KeyHash
now needsKeyRole
values to be specified, except binary payload. It was needed change to enable differentiating between spending and stake key hashes.
- Multisig related functions were deleted from
Cardano.Address.Style.Shelley
as they found a new place inCardano.Address.Style.Shared
.
-
The library now builds with ghcjs and passes tests running on nodejs.
-
The
cardano-address inspect
command now includes bech32 encodings. In the output, the JSON attribute will have a_bech32
suffix. For example,stake_key_hash_bech32
.
-
The
Index
type no longer has anEnum
instance. UseindexFromWord32
andindexToWord32
instead. -
(Breaking change) The
Cardano.Address.bech32
function will now use theaddr_test
prefix instead ofaddr
, if the given address is not a mainnet address.
N/A
-
Added definition for 'Cosigner'.
-
Added definition for 'ScriptTemplate',
ToJSON
andFromJSON
instances added. -
Added validation of 'ScriptTemplate'.
-
Added command-line for 'cardano-address script validate'
-
Introduced 'foldScript' function.
-
Fixed
cardano-address --version
reporting. -
Added Ord instance for 'ScriptHash'.
-
Extended script to account for ActiveFromSlot and ActiveUntilSlot, ie., introducing timelocks.
ToJSON
andFromJSON
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.
-
Parametrized 'Script', and use it with 'ScriptHash' and 'Cosigner'.
-
Better error reporting upon validation.
-
Correcting cardano-address hash example in command-line help.
-
Adding more examples to README.md
N/A
N/A
-
'keyHashFromText' now works seamlessly with key, extended keys or key hashes. In case a key or extended key is given, the relevant part will be hashed on the fly. Said differently, it means that the command-line and the JSON instance for 'Script' works transparently with keys or key hashes.
-
Fixed a bug with the
key hash
command which failed when provided with extended keys. -
The 'FromJSON' instance for 'Script' now runs the validation within the JSON parser, such that when the parser succeeds the resulting 'Script' is indeed valid.
-
The 'FromJSON' instance for 'Script' is now much better at showing errors.
N/A
-
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.
-
The command-line API no longer support multi-encoding (base16, bech32 and base58) but instead, 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. Are only 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.
-
No more
--legacy
option on thekey child
command. Which derivation scheme to use is now inferred from the bech32 prefixe used and the derivation path. -
Cardano.Address.Errors
module. Errors data-types have been moved to their respective moduleCardano.Address.Styles.{Byron,Icarus,Shelley}
-
Anything related to Jormungandr in both the library and the command-line.
- 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".
- Renamed
AccountingStyle
intoRole
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.
N/A
- Command-line interface
cardano-address
for managing recovery-phrases, keys and addresses. - Support for Shelley-specific address types.
- Support for Jormungandr-specific address types.
- Repository structure re-organized in two packages: core & command-line.
N/A
- '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.
N/A
N/A