Æternity Stack

  • Level One: FATE VM

  • Level Two: Smart Contracts

  • Level Three: æternity Nodes

  • Level Four: æternity client APIs

  • Level Five: End-User Applications

Level One: FATE VM

  • Custom-built virtual machine for æternity

  • Efficient execution of smart contracts

  • Strong type system for enhanced security

  • Direct integration with blockchain primitives

Level Two: Smart Contracts

  • Sophia programming language

  • Functional programming paradigm

  • Built-in state channels support

  • Oracle integration

sophiaCopy// Example Sophia contract
contract SimpleStorage =
  record state = { value : int }
  
  entrypoint init() = { value = 0 }
  
  stateful entrypoint set(x : int) = 
    put(state{value = x})

Level Three: æternity Nodes

  • Erlang-based implementation

  • Bitcoin-NG consensus mechanism

  • State channels for scalability

  • Native oracles and naming system

Level Four: æternity Client APIs

  • REST API for node interaction

  • WebSocket API for real-time updates

  • SDK methods for common operations

javascriptCopy// SDK usage example
const { Node, Universal: Ae } = require('@aeternity/aepp-sdk')

const client = await Ae({
  nodes: [{
    name: 'testnet',
    instance: await Node({
      url: 'https://testnet.aeternity.io'
    })
  }]
})

Level Five: End-User Applications

  • Web-based æpps

  • Mobile applications

  • Integration with existing systems

  • State channel applications

Last updated