@xlabs-libs/wallet-aggregator-aptos
TypeScript icon, indicating that this package has built-in type declarations

0.0.1-alpha.14 • Public • Published

Wallet Aggregator - Aptos

Implements the base abstractions for the Aptos blockchain.

The package leverages @manahippo/aptos-wallet-adapter, which already provides an abstraction over the wallets in the aptos ecosystem. The AptosWallet class functions as a wrapper over it.

Usage

import {
  MartianWalletAdapter,
  NightlyWalletAdapter,
} from "@manahippo/aptos-wallet-adapter";
import { AptosWallet } from "@xlabs-libs/wallet-aggregator-aptos";

const martian = new AptosWallet(new MartianWalletAdapter());

const aptosWallets: AptosWallet[] = [
  new MartianWalletAdapter(),
  new NightlyWalletAdapter(),
].map((adapter) => new AptosWallet(adapter));

Readme

Keywords

none

Package Sidebar

Install

npm i @xlabs-libs/wallet-aggregator-aptos

Weekly Downloads

3,561

Version

0.0.1-alpha.14

License

MIT

Unpacked Size

67.8 kB

Total Files

16

Last publish

Collaborators

  • sebastianscatularo
  • yuliferna
  • mpicco
  • mpicco-randlabs