0.1.10 • Published 2 years ago
@layerzerolabs/ui-wallet-aptos v0.1.10
Installation
yarn add @layerzerolabs/ui-wallet-aptos
pnpm add @layerzerolabs/ui-wallet-aptos
npm install @layerzerolabs/ui-wallet-aptosUsage
This package provides the AptosWallet class which takes a type and an adapter and returns a Wallet instance for Aptos interactions. We attempt to abstract the official Aptos Wallet Adapter implementation. In our applications we use the officially supported adapter packages.
import {AptosWallet} from '@layerzerolabs/ui-wallet-aptos';
import {MartianWallet} from '@martianwallet/aptos-wallet-adapter';
import {PontemWallet} from '@pontem/wallet-adapter-plugin';
import {FewchaWallet} from 'fewcha-plugin-wallet-adapter';
import {PetraWallet} from 'petra-plugin-wallet-adapter';
const wallets = {};
wallets.petraWallet = new AptosWallet('Petra', new PetraWallet());
wallets.fewchaWallet = new AptosWallet('Fewcha', new FewchaWallet());
wallets.pontemWallet = new AptosWallet('Pontem', new PontemWallet());
wallets.martianWallet = new AptosWallet('Martian', new MartianWallet());
walletStore.addWallets(wallets);0.1.10
2 years ago
1.0.0
2 years ago
0.1.2
2 years ago
0.1.8
2 years ago
0.1.7
2 years ago
0.1.9
2 years ago
0.1.4
2 years ago
0.1.3
2 years ago
0.1.6
2 years ago
0.1.5
2 years ago
0.1.1
2 years ago
0.1.0
3 years ago
0.0.6
3 years ago
0.0.5
3 years ago
0.0.4
3 years ago
0.0.3
3 years ago
0.0.2
3 years ago
0.0.1
3 years ago
0.0.0
3 years ago