Verified wallets and contracts

Creating wallets and using contracts
Verified wallets for users can be created either using a dynamically generated mnemonic or by importing mnemonics for an existing private key for the user on the Ethereum mainnet.
const { VerifiedWallet, ClientContract } =
let investor = await VerifiedWallet.importWallet(investorMnemonics);
investorWallet = investor.setProvider(
Provider.alchemyProvider(network, API_KEY)
Above, the investor wallet can be used with a provider to call functions on contracts deployed on the Verified Network.
const kycContract = new KYCContract(investorWallet);
await kycContract.getStatus(investorWallet.address);
Certain contracts are proxies that indirect calls to concrete implementations. For example, cash tokens representing different currencies all have the same behavior and are produced by a cash token factory. In such cases, the contract needs to be parameterized (in this case, with a currency contract's address) before use.
const cashUSDIssuer = new CashContract(issuerWallet, VXUSD);
await cashUSDIssuer.payIn('10', investorWallet.address, 'VXUSD')