# How to connect Binance with an Ed25519 key pair

To properly connect Binance to B2CONNECT Hub using an Ed25519 key, you need to:

{% stepper %}
{% step %}

#### Get a list of trusted IP addresses from B2CONNECT

Contact your Account Manager to obtain a list of B2CONNECT IP addresses.\
You'll need them later, to properly configure a list of trusted IPs.
{% endstep %}

{% step %}

#### Create Ed25519 keys

1. Download and install the Asymmetric Keys Generator.
2. Generate private and public Ed25519 keys.

Follow the **How to create an Ed25519 key pair?** section of the [Binance instruction](https://www.binance.com/en/support/faq/detail/6b9a63f1e3384cf48a2eedb82767a69a) for step-by-step guidance.
{% endstep %}

{% step %}

#### Register your Ed25519 keys on Binance

Follow the **How to register my Ed25519 key on Binance?** section of the [Binance instruction](https://www.binance.com/en/support/faq/detail/6b9a63f1e3384cf48a2eedb82767a69a) for step-by-step guidance.
{% endstep %}

{% step %}

#### Edit restrictions

Add previously acquired B2CONNECT IP addresses as trusted IPs to the allowlist of newly registered API keys.
{% endstep %}

{% step %}

#### Configure the connection on the B2CONNECT side

Contact your Account Manager for guidance on integrating the keys into the B2CONNECT settings.
{% endstep %}
{% endstepper %}


---

# Agent Instructions: 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.b2connect.b2broker.com/how-to-articles/how-to-connect-binance-with-ed25519-keys.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.
