enclave-wallet-sdk
Version:
A simple enclave wallet SDK for React applications
19 lines (18 loc) • 414 B
TypeScript
import React from "react";
interface swapToken {
amount: string;
chainId: number;
tokenAddress: string;
}
interface SwapParams {
fromToken: swapToken;
toToken: Omit<swapToken, "amount">;
}
interface WalletModalProps {
isOpen: boolean;
onClose: () => void;
walletSDKKey: string;
swapParams?: SwapParams;
}
export declare const WalletModal: React.FC<WalletModalProps>;
export {};