2.0.0 • Published 2 months ago
@peter-present/account v2.0.0
Package aim to creating account abstraction
Installation
npm install @peter-present/account
- Or if you use
yarn
yarn add @peter-present/account
Usage
Create your wallet
const wallet = new Wallet({
rpcUrl: 'your-rpc',
networkConfig,
});
Create keyring
walletInfo = await wallet.createKeyring(PASSWORD, walletInfo);
Create a account
const account = await wallet.addAccount(AccountType.EVM);