A RetroSearch Logo

Home - News ( United States | United Kingdom | Italy | Germany ) - Football scores

Search Query:

Showing content from http://reference.wolfram.com/language/workflow/AddASecondPrivateKeyToAnAddressInARK.html below:

Add a Second Private Key to an Address in ARK—Wolfram Documentation

WOLFRAM Consulting & Solutions

We deliver solutions for the AI era—combining symbolic computation, data-driven insights and deep technical expertise

WolframConsulting.com

Add a Second Private Key to an Address in ARK

Generate a second key pair for an address in ARK.

Create a new set of keys

Use GenerateAsymmetricKeyPair to create an ARK key pair to be used for sending and receiving ark:

Save the private key

Use Export to save the private keys to a .wl file for later use:

Create the transaction object

Use BlockchainData to view the estimated transaction fee:

Using the preceding statistics, use Quantity to set an appropriate fee for the transaction:

  • The FeeStatistics property of BlockchainData for ARK can be used to decide the Fee.
  • Use BlockchainTransaction to build the transaction object with the chosen fee and the new public key:

    Determine the address to use

    Use BlockchainAddressData to determine if your address both has enough balance to add a second private key and does not already have a second one:

    Since the SecondPublicKey field is empty, this address can be used.

    Sign the transaction

    Use BlockchainTransactionSign to sign the transaction with the private key:

    Submit the transaction

    Use BlockchainTransactionSubmit to send the transaction to the blockchain:

    View the updated information

    Use BlockchainAddressData again to view the updated information for the address:

    The SecondPublicKey is no longer empty and contains a PublicKey object.

    Consider future transactions

    From now on, all of the transactions signed by this address should use a list of the main and second private keys in that order:


    RetroSearch is an open source project built by @garambo | Open a GitHub Issue

    Search and Browse the WWW like it's 1997 | Search results from DuckDuckGo

    HTML: 3.2 | Encoding: UTF-8 | Version: 0.7.4