Wallet
The Wallet class is the central component of the Wallet SDK, encapsulating various services and functionalities related to wallet operations.
Methods
Create
static create(authServerBaseUrl: string, storage: IStorage): Wallet
Parameters
authServerBaseUrl
: The base URL of the authentication server.storage
: An object implementing theIStorage
interface.
Returns
A new instance of the Wallet
class.
Examples:
const storage = new SecureStorage();
const wallet = Wallet.create('YOUR_AUTH_SERVER_BASE_URL', storage);
Associated Interfaces
IStorageLast updated