> For the complete documentation index, see [llms.txt](https://docs.goodcrypto.app/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://docs.goodcrypto.app/goodcryptox-yue/yong-xu-he-yue-dex/hyperliquid/dian-yang-lian-jie.md).

# 點樣連接

{% embed url="<https://youtu.be/dCKlpi8v738>" %}

{% hint style="info" %}
如要手動批准 builder fee，請用我哋自訂嘅 [工具](https://goodcrypto.app/hype/builder-fees) ，詳情如下。影片入面顯示嘅 Hyperdash 工具已經停用咗
{% endhint %}

### 自動連接 MetaMask

如果你用 MetaMask 控制你嘅 Hyperliquid 帳戶，你只需要 3 下 click 就可以將佢連接到 goodcryptoX。

如果唔係——你可以跟住 [手動設定](#manual-setup) 路線，或者將控制你 Hyperliquid 帳戶嘅錢包加到 MetaMask，再跟住下面步驟做。

{% stepper %}
{% step %}
喺我哋嘅 [**網頁 app**](https://app.goodcrypto.app) 入面，去：

```
Settings -> Exchanges -> Hyperliquid
```

{% endstep %}

{% step %}
click「Connect with MetaMask」：

<figure><img src="/files/517bcad1ffcc94ca022e087b9156c10666ba581a" alt=""><figcaption></figcaption></figure>
{% endstep %}

{% step %}
選擇控制你 Hyperliquid 帳戶嘅錢包，然後 click「Connect」：

<figure><img src="/files/a89e28fe000b43698e2d677854b5b5797ba635d2" alt="" width="375"><figcaption></figcaption></figure>
{% endstep %}

{% step %}
我哋而家會生成一個 API wallet，並將佢註冊到 Hyperliquid。喺 Metamask 入面 click「Confirm」去簽署交易（唔需要 gas）：

<figure><img src="/files/e95f4dd362b7ffcd55b37aeb36ae3138cb107050" alt="" width="375"><figcaption></figcaption></figure>

萬一你已經喺 Hyperliquid 上有最多數量已註冊嘅 API wallet（3 個），我哋會問你想用邊個去取代，並喺其位置註冊一個新嘅。
{% endstep %}

{% step %}
之後系統會要求你簽署交易，以批准我哋嘅 [Builder fee](/goodcryptox-yue/yong-xu-he-yue-dex/hyperliquid/jian-zao-zhe-fei-yong.md)。click「Confirm」繼續（唔需要 gas）：

<figure><img src="/files/2c8789734c25bfffba4a84b152bdd8427e5446c8" alt="" width="375"><figcaption></figcaption></figure>
{% endstep %}
{% endstepper %}

你嘅 API wallet 而家會儲存喺我哋安全嘅儲存系統入面。當你嘅連接狀態變成「**OK**」——你就搞掂晒喇！

你而家可以見到你嘅 API wallet 地址同名稱，你可以用佢喺交易所介面入面識別佢，仲有佢嘅到期日：

<figure><img src="/files/505edafe8f81b63fdacb75eb2083dedcdf5c5fc2" alt=""><figcaption></figcaption></figure>

Hyperliquid 嘅 API wallet 每 6 個月到期一次。喺到期之前，我哋會提醒你，而你亦可以用你嘅 MetaMask 錢包，順暢咁將而家嘅 API wallet 換成新嘅。

### 手動設定

如果你用嚟控制 Hyperliquid 帳戶嘅錢包唔係 MetaMask，你可以手動設定同 goodcryptoX 嘅連接。

{% stepper %}
{% step %}

#### 建立 API wallet

將你嘅錢包連接到 Hyperliquid。 \
去 `More -> API`。 \
幫你嘅 API wallet 攞個名（例如 goodcryptoX），click「Generate」生成 API wallet 地址，然後 click「Authorize API Wallet」：

<figure><img src="/files/6c788f60cfeb21d8a773002da514e48e87a05ef4" alt="" width="563"><figcaption></figcaption></figure>

之後你會見到一個彈出視窗，入面有你嘅 API wallet Private Key——copy 佢，之後你需要將佢加到 goodcryptoX 入面——你唔會再見到呢條 key。亦都 click「Days Valid」欄位入面嘅「MAX」——咁會將你錢包嘅到期日設為 6 個月（否則會喺 90 日後到期）：

<figure><img src="/files/87ff80212a2fdc6aca83f048c9209d680996abfa" alt="" width="375"><figcaption></figcaption></figure>

準備好之後，click「Authorize」並用你嘅錢包簽署交易（唔需要 gas）。
{% endstep %}

{% step %}

### 批准 Builder fee

如果要喺 Hyperliquid 上用 goodcryptoX 交易，你需要允許我哋喺你嘅交易上 [收取費用](/goodcryptox-yue/yong-xu-he-yue-dex/hyperliquid/jian-zao-zhe-fei-yong.md) 。Hyperliquid 喺介面上冇提供呢個功能，所以我哋為此建咗一個專用嘅 [工具](https://goodcrypto.app/hype/builder-fees) 。

去我哋嘅 [Builder fee 管理工具](https://goodcrypto.app/hype/builder-fees) ，然後連接控制你 Hyperliquid 帳戶嘅錢包：

<figure><img src="/files/fcaec3e6b180a53a43c2c34cfb488d2559674ad7" alt="" width="563"><figcaption></figcaption></figure>

連接之後，click Approve goodcryptoX builder fee，然後用你嘅錢包簽署交易：&#x20;

<figure><img src="/files/cd60705ae77ad0543ff28401fa5b9e6134430c12" alt="" width="563"><figcaption></figcaption></figure>

> 雖然你批准咗 1% 嘅 builder fee 上限，但呢個其實只係批准咗 0.1% 嘅 futures fee（由 Hyperliquid 強制執行）。統一嘅 1% 輸入值只係 Hyperliquid 實作呢個功能時嘅視覺限制

{% hint style="info" %}
如果你係用 **電郵**建立 Hyperliquid 帳戶，你需要先將你嘅錢包匯出到 MetaMask（或者其他錢包），之後先可以批准 builder fee。

去 Hyperliquid 介面入面嘅 Settings，然後選擇「Export email wallet」
{% endhint %}
{% endstep %}

{% step %}

### 將 API wallet 加到 goodcryptoX：

喺我哋嘅 app（網頁或手機）入面，去：

```
Settings -> Exchanges -> Hyperliquid -> Add API wallet manually
```

將控制你 Hyperliquid 帳戶嘅錢包地址（唔係你嘅 API wallet 地址）加到「Hyperliquid account address」。\
將你建立嘅 API wallet 私鑰（唔係你主錢包嘅私鑰）加到「API wallet private key」，然後 click「Save and Validate」：

<figure><img src="/files/8450fdee7c8802dd4943bec43505e39d02df59a5" alt="" width="563"><figcaption></figcaption></figure>
{% endstep %}
{% endstepper %}

你嘅 API wallet 而家會儲存喺我哋安全嘅儲存系統入面。當你嘅連接狀態變成「**OK**」——你就搞掂晒喇！

你而家可以見到你嘅 API wallet 地址同名稱，仲有佢嘅到期日：

<figure><img src="/files/505edafe8f81b63fdacb75eb2083dedcdf5c5fc2" alt=""><figcaption></figcaption></figure>

喺佢到期之前，我哋會預先提醒你，等你有足夠時間將佢換成新嘅。


---

# Agent Instructions
This documentation is published with GitBook. GitBook is the documentation platform designed so that both humans and AI agents can read, navigate, and reason over technical content effectively. Learn more at gitbook.com.

## Querying This Documentation
If you need additional information that is not directly available in this page, you can query the documentation dynamically by asking a question.

Perform an HTTP GET request on the current page URL with the `ask` query parameter:

```
GET https://docs.goodcrypto.app/goodcryptox-yue/yong-xu-he-yue-dex/hyperliquid/dian-yang-lian-jie.md?ask=<question>
```

The question should be specific, self-contained, and written in natural language.
The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
