@amax/amaxwallet-adapter-armodillo
v1.1.1
Published
Wallet adapter for armodillo Wallet extension.
Downloads
11
Maintainers
Readme
@amax/amaxwallet-adapter-armodillo
This package provides an adapter to enable Amax DApps to connect to the Armodillo Wallet extension.
Demo
import { ArmodilloAdapter } from '@amax/amaxwallet-adapter-armodillo';
const adapter = new ArmodilloAdapter();
// connect to TokenPocket
await adapter.connect();
// then you can get account
console.log(adapter.account);
// using adapter push a transaction
const TransactResult = await adapter.transact(acions);
Documentation
API
Constructor(config: ArmodilloAdapterConfig)
interface ArmodilloAdapterConfig {
permission?: string;
walletProviderLocalStorageKey?: string;
}