Skip to main content

States

In the developing process of Mask Network, we abstract common features from different networks. Based on that, we create a state for each feature to avoid repeating ourselves.

E.g., a network needs a book to let users record addresses that interact with recently; and a name service like ENS for labeling a human unreadable address as a meaningful name; besides that, a network should provide the ability to build connections with wallet providers; and also storage to keep tracking tokens and transactions.

Let's take more details about states. You can learn each of them in the rest docs.

StateDescription
AddressBookFor tracking recently interacted addresses.
NameServiceFor lookup and reverse access between address and name.
TokenFor recording user-added tokens.
TransactionFor recording recently sent transactions.
TransactionFormatterFor formatting transactions into human-readable messages.
TransactionWatcherFor reporting transaction state.
ProviderA aggregation of all supported wallet provoders.
ConnectionBuild connections with wallet providers.
WalletAccess wallets from the kernel indexDB of Mask Network.
HubFor standardizing how to access various third-party services build for the network.
SettingsGeneral settings like currency type, gas option type, etc.
OthersA bunch of shared utilities.