We deliver solutions for the AI eraâcombining symbolic computation, data-driven insights and deep technical expertise
Generate a second key pair for an address in ARK.
Create a new set of keysUse GenerateAsymmetricKeyPair to create an ARK key pair to be used for sending and receiving ark:
Use Export to save the private keys to a .wl file for later use:
Use BlockchainData to view the estimated transaction fee:
Using the preceding statistics, use Quantity to set an appropriate fee for the transaction:
Use BlockchainTransaction to build the transaction object with the chosen fee and the new public key:
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 transactionUse BlockchainTransactionSign to sign the transaction with the private key:
Use BlockchainTransactionSubmit to send the transaction to the blockchain:
Use BlockchainAddressData again to view the updated information for the address:
The “SecondPublicKey” is no longer empty and contains a PublicKey object.
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