@macalinao/grill
Version:
Modern Solana development kit for React applications with automatic account batching, caching, and transaction notifications
15 lines • 574 B
TypeScript
import type { Address, TransactionSendingSigner } from "@solana/kit";
import type { FC, ReactNode } from "react";
export interface WalletProviderProps {
children: ReactNode;
/**
* The transaction sending signer, or null if wallet is not connected
*/
signer: TransactionSendingSigner<Address> | null;
}
/**
* Provider component that provides Solana Kit wallet utilities.
* This provider accepts a TransactionSendingSigner and RPC endpoint.
*/
export declare const WalletProvider: FC<WalletProviderProps>;
//# sourceMappingURL=wallet-provider.d.ts.map