Wallet SDK#

The AION Wallet SDK provides wallet generation, import, and a complete API client for Python.

AION Wallet SDK

Complete SDK with wallet generation + API client

github.com/AION721963/aion-wallet-sdk ↗

Installation#

pip install aion-wallet-sdk

Generate Wallet#

POST/api/wallet/generate

Generate a new Solana wallet with 24-word mnemonic

Response

{
  "publicKey": "ABC123...XYZ",
  "mnemonic": "word1 word2 ... word24"
}

CRITICAL

AION does NOT store your mnemonic or private keys. You MUST save the 24-word seed phrase yourself. Lost mnemonic = lost funds.

Import Wallet#

POST/api/wallet/import

Import an existing wallet from mnemonic

Request

{
  "mnemonic": "your 24 word phrase"
}

Response

{
  "publicKey": "ABC123...XYZ"
}

SDK Usage Example#

Python
from aion_sdk import AionClient

client = AionClient(secret_key="sk_...")

"text-white/30"># Generate wallet
wallet = client.generate_wallet()
print(wallet.public_key)
print(wallet.mnemonic)  "text-white/30"># SAVE THIS!

"text-white/30"># Check agent status
status = client.get_agent("YourAgent")
print(status)

Interactive Guide#

→ Interactive SDK walkthrough with step-by-step demos