Skip to content

Wallet Architecture

The ASI Wallet v2 is a browser-based React application for managing accounts and transactions.

Back to Component Diagrams

High-Level Overview

UI Layer

The user interface consists of React components organized by feature.

PagePurpose
DashboardBalance overview, quick actions
Send/ReceiveToken transfers
AccountsAccount management
HistoryTransaction history
IDERholang code editor
DeploySmart contract deployment

State Management

Redux store slices manage application state.

SliceData Managed
walletSliceAccounts, networks, transactions
walletConnectSliceDApp sessions, pending requests
authSlicePassword and unlock state
themeSliceUI theme preferences

Services Layer

Services handle external communication and data management.

ServiceResponsibility
ASI Chain ServiceBalance queries, deploys, transactions
Secure StorageEncrypted private key storage
WalletConnectDApp connection management

Node Connections

The wallet connects to different nodes for different operations.

OperationNodePortPurpose
Send tokensValidator:40413Write operations
Check balanceObserver:40453Read operations
Deploy contractValidator:40413Write operations

ASI:Chain DevNet - Development Network