Developers / Build

Build on Deterministic Infrastructure

SDKs, RPC endpoints, and tooling for applications that require audit-grade execution traces.

Quickstart

SDK

INSTALL_SDK

> npm install @aeltrix/sdk
>
> import { AeltrixClient } from '@aeltrix/sdk';
>
> const client = new AeltrixClient({
> network: 'testnet',
> rpc: 'https://rpc.aeltrix.com'
> });
>
> const balance = await client.getBalance('0x4ab2...77a1');
> // { value: "24500", credits: 18, epoch: 4821 }
>

RPC Endpoints

API
MethodEndpointDescription
GET/v1/blocks/{height}Block by height
GET/v1/blocks/latestLatest finalized block
GET/v1/tx/{hash}Transaction details + receipt
POST/v1/tx/sendSubmit signed transaction
GET/v1/address/{addr}Account balance + credits
GET/v1/address/{addr}/txsTransaction history
GET/v1/validatorsActive validator set
GET/v1/epoch/currentCurrent epoch info
WS/v1/subscribeBlock + tx event stream

SDKs

Multi-language

TypeScript

npm install @aeltrix/sdk

Rust

cargo add aeltrix-sdk

Python

pip install aeltrix

CLI

aeltrix-cli quickstart

Transaction Lifecycle

End-to-end

TX_LIFECYCLE

> SIGN_TX [ed25519] .............. OK
> SUBMIT_TX [/v1/tx/send] ....... OK
> VALIDATE_SIG .................. OK
> CHECK_NONCE [47] .............. OK
> CHECK_CREDITS ................. OK
> INCLUDE_IN_BLOCK .............. OK
> EXECUTE_TRANSFER .............. OK
> UPDATE_STATE_ROOT ............. OK
> FINALITY_CERT ................. OK
> STATUS: FINALIZED // DETERMINISTIC
>

Resources

Links
Protocol specification/docs
Architecture deep-dive/protocol/architecture
Run a validator node/run-a-node
Network status/status