@peter-present/account
TypeScript icon, indicating that this package has built-in type declarations

2.0.0 • Public • Published

@peter-present/account

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);

Package Sidebar

Install

npm i @peter-present/account

Weekly Downloads

4

Version

2.0.0

License

ISC

Unpacked Size

274 kB

Total Files

114

Last publish

Collaborators

  • phamhongphuc1999