@macalinao/grill
Version:
Modern Solana development kit for React applications with automatic account batching, caching, and transaction notifications
10 lines • 355 B
JavaScript
import { useGrillContext } from "../contexts/grill-context.js";
/**
* Hook that provides a function to send transactions using the modern @solana/kit API
* while maintaining compatibility with the wallet adapter.
*/
export const useSendTX = () => {
const { sendTX } = useGrillContext();
return sendTX;
};
//# sourceMappingURL=use-send-tx.js.map