Hannya

Connect your Aster account

The robot takes its positions on YOUR account, with an API key with limited rights: trading only, never withdrawals. Here is how to create it, exchange by exchange. No Aster account yet? The A-to-Z guide

The three rules, whatever the exchange

  1. Trading only

    Tick the read and trading rights (spot and futures depending on the robot). NEVER tick withdrawal or transfer: without that right, nobody can move a cent out of your account, even with the key.

  2. The IP address on the whitelist

    When the exchange offers to restrict the key to IP addresses, enter this one, and only this one: 204.168.249.237
    That is the address the orders come from. A key without IP restriction works too, but it is less protected.

  3. Paste the key with us, once

    On the robot's purchase page or in Accounts: account name, key, secret (and the passphrase on KuCoin). It is encrypted on receipt and never shown again, to anyone. The “Validate” button reads your balance to check it works.

    Imperial is different: you only paste a 30-day session token, generated on the site (see below).

Aster Create an agent at Aster

  1. Deposit first

    Aster refuses every signed call until your wallet has made a deposit.

  2. Open the agent page

    On asterdex.com, connected with your wallet: More → "API Management", "Pro API" tab, "Authorize new API wallet". An agent is a separate key that your wallet signs once.

  3. Rights

    Allow perpetuals trading and keep withdrawal closed: the dashboard reads the agent's rights back and refuses one that can withdraw.

  4. IP list

    Add this address, and only that one. 204.168.249.237

  5. Report the key

    Copy the agent's private key and paste it on the Aster tile of the Accounts page, with your account's address, the one shown at the top right on Aster (0x… or a Solana address), not the agent's. Never your wallet's private key: the dashboard refuses it. An agent has an expiry date: renewing it will need your signature.

  6. Hedge mode

    The dashboard works in Hedge mode, one position per direction. On the first order, it switches your account if it is empty. If orders or a position are open in One-way mode, it refuses and tells you.

And then

A key can be revoked in one click on the exchange, at any time: the robot then stops on its own. With us, “Delete” in Accounts erases the encrypted key.