mirror of
https://github.com/discountry/ritmex-bot.git
synced 2026-09-10 08:48:07 +00:00
Add Nado documentation and examples, including new API endpoints, FAQs, and guides for using the TypeScript SDK. Update .env.example with additional configuration options.
This commit is contained in:
+24
-1
@@ -2,7 +2,7 @@
|
||||
LANG=zh
|
||||
|
||||
# Exchange selection
|
||||
EXCHANGE=aster # Pick aster (default) or grvt/lighter/backpack/paradex
|
||||
EXCHANGE=aster # Pick aster (default) or grvt/lighter/backpack/paradex/nado
|
||||
|
||||
# Aster API credentials
|
||||
ASTER_API_KEY=
|
||||
@@ -117,3 +117,26 @@ PARADEX_WALLET_ADDRESS=
|
||||
|
||||
# Enable verbose adapter logging: set to "1" or "true"
|
||||
# PARADEX_DEBUG=false
|
||||
|
||||
# Nado exchange configuration (Ink mainnet)
|
||||
# Requires a linked signer private key + your original subaccount owner EVM address.
|
||||
# When EXCHANGE=nado these values are used automatically.
|
||||
|
||||
NADO_ENV=inkMainnet # inkMainnet | inkTestnet
|
||||
NADO_SYMBOL=BTC-PERP # Trading product symbol (e.g., BTC-PERP / ETH-PERP)
|
||||
NADO_SIGNER_PRIVATE_KEY= # 32-byte 0x-prefixed private key (0x...)
|
||||
NADO_SUBACCOUNT_OWNER= # EVM address of the subaccount owner (0x...)
|
||||
NADO_SUBACCOUNT_NAME=default # Subaccount name (bytes12, default "default")
|
||||
|
||||
# Optional: market-order slippage buffer (used for IOC limit-as-market, e.g. 0.01 => 1%)
|
||||
NADO_MARKET_SLIPPAGE_PCT=0.01
|
||||
|
||||
# Optional: stop trigger source for STOP_MARKET orders (oracle | last | mid)
|
||||
NADO_STOP_TRIGGER_SOURCE=oracle
|
||||
|
||||
# Optional endpoint overrides
|
||||
# NADO_GATEWAY_WS_URL=wss://gateway.prod.nado.xyz/v1/ws
|
||||
# NADO_SUBSCRIPTIONS_WS_URL=wss://gateway.prod.nado.xyz/v1/subscribe
|
||||
# NADO_ARCHIVE_URL=https://archive.prod.nado.xyz/v1
|
||||
# NADO_TRIGGER_URL=https://trigger.prod.nado.xyz/v1
|
||||
# NADO_DEBUG=false
|
||||
|
||||
Reference in New Issue
Block a user