Deploy a web wallet with the Tonomy SDK
The Tonomy SDK powers Tonomy ID to manage users keys. You can use it to create your own wallet (web or mobile) with a fully customized UI to suite your needs.
We suggest one of the following strategies:
1. Deploy a web version of the Tonomy ID wallet
Run Tonomy ID and instead of compiling the Android and iOS applications, compile to web instead. Fork the repository to customize the UI.
Please contact us for assistance in deploying your bespoke solution.
2. Install the Tonomy SDK in your project
Install the Tonomy SDK in your project and manage identities directly.
How to use the SDK as a web wallet:
-
Choose a
KeyManager
class implementation:- jsKeyManager - for web browsers
- RNKeyManager - for React Native mobile apps
-
Choose a
Storage
class implementation:- browserStorage - for web browsers
- storage - for React Native mobile apps
-
Create a new user. We suggest you familiarize yourself with how this is done by looking at the integration tests by checking the User controller test which manages a Tonomy ID account and DID
-
Get the
KeyManager
object from theUser
object
- Use the
keyManager
object for signatures. See the signData() function in the interface for signing data.