AuraCore SDK

TypeScript/JavaScript SDK for building on AuraCore.

Quick Start

import { AuraClient, AuraWallet } from '@/lib/sdk'

// Connect to node
const client = new AuraClient('http://89.167.89.226:8545')

// Get chain status
const status = await client.getStatus()
console.log('Height:', status.chain_height)

// Generate wallet
const wallet = await AuraWallet.generate(client)
console.log('Address:', wallet.keyPair.address)

// Restore from secret key (64-char hex)
const wallet2 = await AuraWallet.fromSecretKey('your-64-char-hex-key', client)

// Send AURA
const txId = await wallet.send('aura1recipient...', 10.0, 1)
console.log('TX:', txId)

AuraClient Methods

getStatus()Chain height, validators, supply
getHealth()Node health check
getBlock(height)Block by height
getLatestBlock()Most recent block
getBlocks(limit, offset)Paginated blocks
getTransaction(id)Transaction by ID
sendTransaction(tx)Submit signed transaction
getRecentTransactions(limit)Recent confirmed transactions
getAccount(address)Balance, nonce, stake
getBalance(address)Balance only
getNonce(address)Current + next nonce
getAccountHistory(address)Paginated transaction history
getValidators()All validators
getValidator(address)Single validator details
getMempool()Pending mempool transactions

AuraWallet

// Generate new wallet
const wallet = await AuraWallet.generate(client)
// wallet.keyPair.secretKey  — 64-char hex (save this securely!)
// wallet.keyPair.publicKey  — 64-char hex
// wallet.keyPair.address    — aura1...

// Restore from existing secret key
const wallet = await AuraWallet.fromSecretKey(secretKeyHex, client)

// Check balance
const balance = await wallet.getBalance()

// Send transaction
const txId = await wallet.send(
  'aura1recipient...',  // to
  10.0,                 // amount in AURA
  1,                    // fee in AURA (default: 1)
  'Optional memo'       // memo (optional, max 256 chars)
)

TypeScript Types

import type {
  AuraStatus,
  AuraBlock,
  AuraTransaction,
  AuraAccount,
  AuraValidator,
  SendTxParams,
  AuraKeyPair,
} from '@/lib/sdk'

Testnet Nodes

11 validator nodes across x86 and ARM64 architectures.

http://88.198.75.149:8545x86 node 1 (Hetzner)
http://88.198.75.149:8546x86 node 2 (Hetzner)
http://88.198.75.149:8547x86 node 3 (Hetzner)
http://89.167.89.226:8545ARM node 1 (Hetzner ARM)
http://89.167.89.226:8546ARM node 2 (Hetzner ARM)
http://89.167.89.226:8547ARM node 3 (Hetzner ARM)
http://89.167.89.226:8548ARM node 4 (Hetzner ARM)
http://89.167.89.226:8549ARM node 5 (Hetzner ARM)