Commit Graph

20 Commits

Author SHA1 Message Date
github-actions[bot]
375150203d Update deployed contract address 2025-11-28 14:56:04 +00:00
github-actions[bot]
27d6ae3e17 Update deployed contract address 2025-11-28 14:50:27 +00:00
github-actions[bot]
fded6167fc Update deployed contract address 2025-11-28 14:38:43 +00:00
github-actions[bot]
1abbf77dd8 Update deployed contract address 2025-11-22 10:03:06 +00:00
averel10
d0d2cd1cac Update game contract address in config and adjust timeout durations in Game.sol 2025-11-22 11:02:32 +01:00
averel10
7f1143eb22 Implement timeout handling and commit resolution in Commit and Reveal components
- Added state management for opponent's move and commit time left in Commit component.
- Implemented automatic checks for opponent's move and commit timeout.
- Introduced timeout resolution functionality allowing players to claim victory if the opponent fails to commit in time.
- Updated UI to display timeout results and allow players to resolve timeouts.
- Enhanced Reveal component with timeout checks and resolution logic.
- Added necessary contract methods in config.json for commit time left and timeout resolution.
2025-11-22 10:58:49 +01:00
averel10
197d9e6e22 Refactor Clash component to use GameModal for game interactions, remove Hello World page, and implement toast notifications for error handling 2025-11-22 09:44:36 +01:00
averel10
3bd61490f1 update contract addresses in config files and enhance player move commitment handling 2025-11-21 18:42:43 +01:00
averel10
06176e74f2 update game logic and UI components for move selection and reveal phases; remove Lobby component 2025-11-21 18:18:59 +01:00
github-actions[bot]
bd2ff2808e Update deployed contract address 2025-11-14 21:49:31 +00:00
averel10
15bf0155bb added subpages for helloworld and clash, added game contract to config.json for usage in frontend 2025-11-14 22:49:06 +01:00
github-actions[bot]
d3b512aa95 Update deployed contract address 2025-11-14 19:48:43 +00:00
github-actions[bot]
a45b99e70f Update deployed contract address 2025-11-12 16:51:44 +00:00
github-actions[bot]
0a0356df77 Update deployed contract address 2025-11-11 21:39:40 +00:00
averel10
1637139118 docs: update README and config.json for production API_URL and deployment instructions 2025-11-11 22:38:27 +01:00
github-actions[bot]
fc31e5e2d1 Update deployed contract address 2025-11-11 20:09:33 +00:00
github-actions[bot]
c4e233a917 Update deployed contract address 2025-11-11 20:08:27 +00:00
github-actions[bot]
916304a463 Update deployed contract address 2025-11-11 20:06:49 +00:00
github-actions[bot]
7c9e48c248 Update deployed contract address 2025-11-11 20:03:39 +00:00
averel10
44bc814114 feat: initialize crypto_clash_contract with TypeScript, Hardhat, and deployment script
- Added package.json with scripts for compiling, deploying, and testing the contract.
- Created deploy.ts script for deploying the HelloWorld contract and saving the contract address to config.json.
- Configured TypeScript with tsconfig.json for Node.js environment and ES module support.
2025-11-11 21:01:16 +01:00