Build a file containing a list of unsigned consolidation recovery transactions to the base address using the user and backup public keys, independent of any BitGo services. The consolidation destination is automatically set to wallet base address.
-
You are asked to provide the Coin Name that you want to recover.
-
You are asked to provide the User Public Key as found on your recovery KeyCard. (not needed for TSS wallets)
-
If you have a Key ID set to your User Key, it will be displayed on your KeyCard. You are supposed to provide the Key ID only if you have it on your KeyCard.
-
You are asked to provide the Backup Public Key as found on your recovery KeyCard. (not needed for TSS wallets)
-
If you have a Key ID set to your Backup Key, it will be displayed on your KeyCard. You are supposed to provide the Key ID only if you have it on your KeyCard.
-
You are asked to provide the BitGo Public Key as found on your recovery KeyCard.
-
You might want to specify the starting scan index which is the start index of receive address (inclusive) if you do not want to use the default value.
-
You might want to specify the ending scan index which is the end index of receive address (exclusive) if you do not want to use the default value.
-
Click Consolidate Funds button and it generates a
<coin>-unsigned-<xxx>.json
file. -
Sign the unsigned consolidate transactions with private user key using the offline signing tool.
-
Sign the half-signed consolidate transactions with private backup key using the offline signing tool. (not needed for TRON receive addresses)
-
Submit the signed consolidate transactions to the network. (half-signed is sufficient for TRON receive addresses since it is single signature by user key)
- Copy the fully-signed transaction file to an internet-connected machine.
- Fetch the txHex field within the signed transaction file.
- Replace
\"
with"
in txHex if necessary. - Broadcast the transaction to a fullnode with the txHex, e.g. for Tron testnet, you can do the following:
curl --location 'https://api.shasta.trongrid.io/wallet/broadcasttransaction' \ --header 'Content-Type: application/json' \ --data '<txHex>'
Only TRON is supported for now. TRC20 tokens is not supported at the moment yet.