Skip to content

v0.2.0-preview2

Pre-release
Pre-release
Compare
Choose a tag to compare
@github-actions github-actions released this 22 Dec 11:17
· 742 commits to master since this release

Changes

  • The following features are now implemented in pure Java. Native dependencies have been removed for these features

    • BIP 39 (mnemonic code generation)
    • BIP 32 - ed25519
    • CIP 1852 HD wallet derivation
    • Helper class to derive HD key pair based on given derivation path
    • Address encoding & decoding. Generation of following addresses are now supported in the lib
      • Base address
      • Enterprise address
      • Pointer address
      • Reward address (Stake address)
    • Bech32 Java implementation
  • cardano-serialization-lib dependency has been removed. There is still a native lib dependency on a small rust module to sign transaction with ed25519 expanded key.
    If you are on an unsupported platform, you can either compile this rust module and copy the binary to the required path or you can also now provide your own SigningProvider implementation by implementing com.bloxbean.cardano.client.crypto.api.SigningProvider

  • CIP implementations

    • CIP 20 - Transaction message/comment metadata. MessageMetadata class to create CIP20 compatible metadata.
    • CIP 25 - NFT Metadata Standard. NFTMetadata class to create CIP25 compatible metadata

Breaking Changes

  • The following address specific static methods are moved from Account class to com.bloxbean.cardano.client.address.util.AddressUtil class
    • addressToBytes(String address)
    • bytesToBase58Address(byte[] bytes)
    • bytesToAddress(byte[] bytes)

Fixes

  • [#30] Added onchainMetadata field for NFT metadata
  • [#49] Replace deprecated Blockfrost api endpoint for Address.getTransactions()

Dependencies

       <dependency>
            <groupId>com.bloxbean.cardano</groupId>
            <artifactId>cardano-client-lib</artifactId>
            <version>0.2.0-preview2</version>
        </dependency>
     

Additional dependency for Raspberry pi

        <dependency>
            <groupId>com.bloxbean.cardano</groupId>
            <artifactId>cardano-client-lib-extras</artifactId>
            <version>0.2.0-preview2</version>
        </dependency>