UNPKG

inertialrush-game-test

Version:

This package enables the integration of the Inertial Rush game into any React application, making it easy to showcase the game.

12 lines (11 loc) 435 B
import { TransactionPayload_EntryFunctionPayload } from "aptos/src/generated"; type SignAndSubmitTransaction = (payload: TransactionPayload_EntryFunctionPayload) => Promise<{ hash: string; }>; type SetConnectModalOpen = (isOpen: boolean) => void; export interface GameProps { signAndSubmitTransaction: SignAndSubmitTransaction; setConnectModalOpen: SetConnectModalOpen; accountAddress?: string; } export {};