canton-network-docs/Wallet GatewayUse the Wallet Gateway
Party Management
End users work with the Wallet Gateway through its User UI: a web app the Wallet Gateway
serves at its root URL. From it they log in, create and manage parties, review transactions, and approve
requests from dApps. This guide covers logging in and managing parties in the UI. To drive the
same operations from a script or backend, see
Automate with the User API.
The User UI
The Wallet Gateway serves a web UI at its root URL (for examplehttp://localhost:3030). Its
main pages are:
Log in
- Open the User UI and go to Login or Connect.
- Select from the list of available CIP-0103-compliant providers or gateways. Or enter a custom remote gateway URL.
- By selecting the Wallet Gateway option, a network of choice will be prompted. This network is associated with the connected validator or node, which needs to be configured within the validator or node settings.
- Click Connect to authorize to view your parties.
- OAuth / OpenID Connect: you are redirected to your provider and back.
- Self-signed: a token is generated locally (development only).
- On success you land on Parties. Unauthenticated users are redirected to Login automatically whenever a page needs a session.
The networks and IDPs you can choose from are configured by the operator. To add more, an
admin manages them under Settings or in the configuration file. See
Networks & identity providers.
Create a Party
A wallet is a Canton party the Wallet Gateway manages for you on one network, signed by one signing provider.- Navigate to the Parties list
- Choose + New
- Provide the Party ID (or hint) for the wallet.
- Select the network the wallet belongs to.
- Select the signing provider that will hold the key and sign transactions for this wallet. See Signing providers.
- Optionally mark it as your primary wallet.
- Choose Create party
Set Primary Party
You can mark one wallet as primary. dApps that request your primary account receive this wallet by default, so set it to the party you transact with most. Change it at any time on the parties page.- Locate the desired party card (newer party cards located at the bottom of the list)
- Select Set as primary
- Verify with a green
Primarytag
View Activities
The Activities page lists transactions the Wallet Gateway has prepared, signed, or executed for your parties, with their status and details. Reviewing and approving transactions that dApps request happens on the Approve page — see Approve & sign transactions.Changing Wallet Providers
- Select the hamburger icon on the top right and Logout.
- Click Login or Connect in the dApp UI to trigger the pop-up.
- Select a new provider to log into and follow its instructions.
Sessions and Logout
When you log in, the Wallet Gateway issues a session (a JWT) that authorizes your later calls to the User and dApp APIs. Sessions are created on login and stored in the Wallet Gateway’s database. Log out from the layout control. Logout ends the session (removeSession), clears local auth
state, and returns you to Login — or closes the window if the UI was opened as an approval
popup.
Sessions live in the Wallet Gateway’s database. If the operator restores the database from a backup or
loses it, active sessions may be invalidated and users must log in again. See
Networks & identity providers.
Next Steps
Approve & sign transactions
Review, approve, and track transactions dApps request.
Automate with the User API
Drive wallet setup and transactions from scripts or a backend.
Networks & identity providers
Understand the networks and login options an operator configures.
Signing providers
See where each wallet’s keys live and who signs.