Cryptography Clients

Installation

We recommend using each languages' standards for dependency management and builds and attempt to make our SDKs compatible with current practices for each language.

Below are useful links to get started with each SDK:

    Development setup

    If you want to contribute to the code of this SDK, execute the following commands:

      Initialization

      Depending on the library, you must import and initialize it in a specific way.

        Transactions

        A transaction is an object specifying the transfer of funds from the sender's wallet to the recipient's. Each transaction must be signed by the sender's private key to prove authenticity and origin. After broadcasting through the client SDK, a transaction is permanently incorporated in the blockchain by a Delegate Node.

        Sign

        The crypto SDK can sign a transaction using your private key or passphrase (from which the private key is generated). Ensure you are familiar with digital signatures before using the crypto SDKs.

          Serialize (AIP11)

          Serialization of a transaction object ensures it is compact and properly formatted to be incorporated in the Ark Blockchain. If you are using the crypto SDK in combination with the public API SDK, you should not need to serialize manually.

            Deserialize (AIP11)

            A serialized transaction may be deserialized for inspection purposes. The public API does not return serialized transactions, so you should only need to deserialize in exceptional circumstances.

              Message

              The crypto SDK not only supports transactions but can also work with other arbitrary data (expressed as strings).

              Sign

              Signing a string works much like signing a transaction: in most implementations, the message is hashed, and the resulting hash is signed using the private key or passphrase.

                Verify

                A message's signature can easily be verified by hash, without the private key that signed the message, by using the verify method.

                  Identities

                  The identities class allows for the creation and inspection of keypairs from passphrases. Here you find vital functions when creating transactions and managing wallets.

                  Derive the address from a passphrase

                    Derive the address from a public key

                      Derive the address from a private key

                        Validate an address

                          Private Key

                          WARNING

                          As the name implies, private keys and passphrases are to remain private. Never store these unencrypted and minimize access to these secrets

                          Derive the private key from a passphrase

                            Derive the private key instance object from a hexadecimal encoded string

                              Derive the private key from a WIF

                                Public Key

                                TIP

                                Public Keys may be freely shared, and are included in transaction objects to validate the authenticity.

                                Derive the public key from a passphrase

                                  Derive the public key instance object from a hexadecimal encoded string

                                    Validate a public key

                                      WIF

                                      WARNING

                                      The WIF should remain secret, just like your passphrase and private key.

                                      Derive the WIF from a passphrase

                                        Last Updated: 1/31/2019, 9:52:48 AM