Skip to content

ASI Node Architecture

The ASI Scala Node is the core blockchain engine running in Docker.

Back to Component Diagrams

High-Level Overview

Port Configuration

Each node exposes multiple ports for different protocols.

PortProtocolPurposeAccess
40440TCPP2P communicationPublic
40443HTTPDeploy and query APIPublic
40444UDPPeer discoveryPublic
40445HTTPAdmin APILocalhost only

Core Services

The node core handles consensus and smart contract execution.

ServiceFunction
Consensus EngineCBC Casper block validation and finalization
Rholang RuntimeSmart contract execution environment
Storage LayerBlock and state persistence (LMDB)

API Layer

HTTP and gRPC interfaces for client interaction.

EndpointMethodPurpose
/api/deployPOSTSubmit signed deploy
/api/explore-deployPOSTRead-only query
/api/blocksGETBlock information
/statusGETNode status

P2P Networking

Nodes communicate using the Kademlia protocol.

PhaseDescription
BootstrapInitial connection to known node
DiscoveryFind and connect to peers
SyncDownload missing blocks
GossipPropagate new blocks/deploys

Configuration Files

FilePurpose
rnode.confNetwork and node settings
logback.xmlLogging configuration
Validator keysPrivate key for signing

ASI:Chain DevNet - Development Network