Skip to content

useWallet

const useWallet: UseBoundStore<StoreApi<WalletState>>

Defined in: packages/engine/src/stores/wallet.ts:22

The player’s coins and the verb that spends them. It resets when the game unmounts.