@macalinao/grill
Version:
Modern Solana development kit for React applications with automatic account batching, caching, and transaction notifications
10 lines • 446 B
JavaScript
import { jsx as _jsx } from "react/jsx-runtime";
import { WalletContext } from "../contexts/wallet-context.js";
/**
* Provider component that provides Solana Kit wallet utilities.
* This provider accepts a TransactionSendingSigner and RPC endpoint.
*/
export const WalletProvider = ({ children, signer, }) => {
return (_jsx(WalletContext.Provider, { value: { signer }, children: children }));
};
//# sourceMappingURL=wallet-provider.js.map