@arbius/aa-wallet
Version:
A secure and flexible Account Abstraction wallet implementation for Arbitrum One chain applications.
21 lines (20 loc) • 671 B
TypeScript
import React from 'react';
import { AAWalletContextValue } from '../types';
declare global {
interface Window {
ethereum?: {
request: (args: {
method: string;
params?: any[];
}) => Promise<any>;
on: (event: string, handler: (...args: any[]) => void) => void;
removeListener: (event: string, handler: (...args: any[]) => void) => void;
};
}
}
export declare const AAWalletContext: React.Context<AAWalletContextValue>;
interface AAWalletProviderProps {
children: React.ReactNode;
}
export declare const AAWalletProvider: React.FC<AAWalletProviderProps>;
export {};