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

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

Get an account from the keychain

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

Set an account in the keychain with the given password

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

Forget an account from the keychain

Keychain.forget('your-app-name', 'account-id');
2021 © | All Rights Reserved
An Product