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
40400TCPProtocol / P2P communicationPublic
40401TCPPublic gRPC APIPublic
40402TCPInternal gRPC APILocalhost
40403HTTPDeploy and query REST APIPublic
40404UDPKademlia peer discoveryPublic
40405HTTPAdmin 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