Keychain

The Keychain class provides methods to extract the numerical value out of any currency representation by normalizing the input and removing any locale specific rules like symbols and use of commas.

Importing the Keychain class

1import { Keychain } from "@payvo/sdk-cryptography";

Get an account from the keychain

1Keychain.get('your-app-name', 'account-id');

Set an account in the keychain with the given password

1Keychain.set('your-app-name', 'account-id', 'password');

Forget an account from the keychain

1Keychain.forget('your-app-name', 'account-id');
Last updated 4 months ago
Edit Page
Share:
2022 © ARK.io | All Rights Reserved
An ARK.io Product