Overview
The wallet is the user’s on-chain identity entry point in ArtStar. It is also the foundation for subsequent login, KYC, approvals, subscriptions, and portfolio display. The network, in turn, determines whether those interactions occur on the correct chain. As a result, wallet connection and network switching are not just technical prerequisites. They are the first checkpoint that determines whether a user can participate in the platform smoothly. If wallet state is unstable, every downstream flow can be affected.Access Mechanism and Functions
Why Is Wallet Connection Important?
Why Is Wallet Connection Important?
In ArtStar, the wallet serves at least the following purposes: * Identifies
the user’s on-chain address * Works with signatures to complete login
authentication * Retrieves stablecoin balances and approval status *
Initiates on-chain transactions such as
Approve and Mint * Displays the
user’s holdings and asset historyNetwork Guard Mechanism
Network Guard Mechanism
ArtStar’s core interactions run on a designated blockchain. To prevent
asset-reading errors or transaction failures caused by the wrong network,
the frontend typically needs to: * Detect the current chain ID and determine
whether it matches the target network * Block critical write operations
when the user is on the wrong network * Guide the user through one-click
network switching * Resume the interaction flow automatically after a
successful switch
Basic Access Flow
From a product perspective, the goal of this step is not simply to “connect a wallet,” but to allow the platform to identify and serve the current user correctly:Signature Login
If required, the user completes signature verification to establish a
backend session.
Common Exceptions and Troubleshooting
Users may run into the following issues during wallet connection and network switching. The frontend should provide clear, actionable guidance rather than generic error messages:Common Errors
- The wallet extension is not installed or cannot be launched * The user rejects the wallet connection request * The active address cannot be retrieved
- The current network is incorrect, such as not being on BNB Chain * The automatic network-switch request does not respond * The in-app browser of a mobile wallet has compatibility issues
Pitfall Guide
Wallet connection only provides the address. If the platform also requires a
signature-based backend session, the user may still be “connected but not
signed in,” and the frontend should guide them accordingly.
Some wallets, browsers, or mobile environments do not support reliable
automatic switching. Do not assume a single switch call completes
successfully. Always validate the result against the actual chain ID
afterward.
When the user disconnects the wallet, the platform should clear page state,
cached data, and session information tied to that address to prevent issues
caused by stale data.