Users Guide
GOAT Safebox

Overview

We all know that people are currently cautious about investing directly in Bitcoin. The Safebox (opens in a new tab) product was created to address concerns about the security of Bitcoin investments. Users simply deposit BTC into Safebox, and we will return an equivalent amount of UTXO with a Timelock to the user's BTC wallet. Once the Timelock expires, users can spend the UTXO. During the lock period, users can also earn BTC profits. This solution cleverly uses Timelocked UTXO to keep users' BTC assets in their own wallets, eliminating worries about losing the principal.

How to Obtain a Locking Order

  1. Become a Partner through the application link (opens in a new tab).
  2. After receiving your application, we will proactively contact you.
  3. If you decide to lock BTC, please provide the following information so we can create a valid locking order in the contract.
InfoDescription
Locking AmountThe amount of BTC you want to lock, which must be greater than 0.0005 BTC.
DeadlineThe deadline for locking the order; the expired order will be invalidated.
Public KeyThe public key of the receiving wallet for the UTXO with Timelock. After the unlock time, only the private key corresponding to this public key (specifically for this wallet) can spend the UTXO.
Receiving AddressThe receiving address for spending the UTXO after it is unlocked. Note that the receiving address must match the receiving wallet’s public key, and currently, only Native Segwit (P2WPKH) address types are supported.

How to Use

Method 1: Operate on the Website

Bridge in BTC

  1. Enter the exclusive Partner ID in the interface and click "Confirm".

  2. View the corresponding order on the interface and check if the order information matches what was agreed upon with the customer manager.

  3. Connect BTC wallet.

  4. Click the "Lock" button to bridge in.

  5. Carefully verify in your wallet that the output address exactly matches the one provided by your customer manager. Once confirmed, sign the transaction in the wallet.

  6. Return to the Safebox interface, where you will see a pop-up indicating the transaction was successfully submitted. Click "Track the progress on the blockchain explorer" to monitor the transaction status on the blockchain explorer.

  7. After successful submission, please wait patiently for blockchain confirmation. Approximately one hour later, you will receive an equivalent amount of Timelocked UTXO. If you encounter any issues, please contact your customer manager promptly.

  8. Once you receive the Timelocked UTXO, you can view the corresponding deposit certificate on the website interface.

Spend the BTC

  1. When your order matures, remember to visit the website interface to spend the UTXO. Enter your Partner ID again to retrieve the transaction record;

  2. In the history operation column, click "Send the BTC" to open the spend pop-up window;

  3. Verify that the wallet for spending is correct and matches the receiving address you provided to the customer manager. Of course, you can also customize the receiving address, but please use this function cautiously to avoid asset loss due to transferring to the wrong address.

  4. Click the "Send" button in the pop-up window and confirm the signature in your wallet;

  5. Return to the Safebox interface, where you will see a pop-up indicating the transaction was successfully submitted. Click "Track the progress on the blockchain explorer" to monitor the transaction status on the blockchain explorer;

  6. Finally, check your wallet balance to confirm whether the BTC has arrived.

Method 2: Use a Script for Local Execution

Bridge in BTC

  1. Enter the exclusive Partner ID in the interface and click "Confirm";

  2. View the corresponding order on the interface and check if the order information matches what was agreed upon with the customer manager;

  3. Click "Construct Transaction" at the top right of the order to open the sample code popup.

  4. Click the "Copy" button in the popup to copy the sample code into your local development environment for modification. Run the script locally to complete the BTC bridge-in. Please make sure the amount in the script exactly matches the order. Otherwise, the Timelocked UTXO cannot be returned to you.

Spend the BTC

  1. When your order matures, remember to visit the website to check the status of your order. Enter your Partner ID again to retrieve the transaction record;

  2. In the history operation column, click “Send the BTC” to open the spend pop-up window;

  3. Check the UTXO information;

  4. Click the TXID to open the blockchain explorer and view detailed UTXO information.

  5. Click the "Copy" button in the popup to copy the sample code into your local development environment for modification. Run the script to spend the UTXO and send it to your BTC wallet.

⚠️ Important Notes

  1. Partner ID is your unique account identifier. Please keep it safe.
  2. Once the bridge-in transaction is submitted, please do not resubmit, as this may cause your funds to be transferred to the GOAT Network, requiring a manual refund process.
  3. When bridging in via script, make sure the amount and deposit address exactly match the order. Any discrepancy may result in funds being bridged to the GOAT Network and requiring a refund process.
  4. If more than 2 hours has passed since the bridge-in and no transaction record appears on the frontend, the delay might be caused by network congestion on Bitcoin mainnet. If you're concerned, please contact your account manager for assistance.