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 1 (34.196.119.4):40403Write
Check balanceValidator 1 (34.196.119.4):40403Read (observer is unstable)
Deploy contractValidator 1 (34.196.119.4):40403Write

ASI:Chain DevNet - Development Network