Bridge on-chain logic with the backend:
-
Use starknet-py to deploy and call Cairo 2 contracts
-
Functions: createRoomOnChain(), placeBet(), resolveBattle()
-
Error handling and transaction status polling
Deliverable: Python module backend/contracts.py with abstractions.
See:
starknet-py docs: https://starknet-py.readthedocs.io/
Bridge on-chain logic with the backend:
Use starknet-py to deploy and call Cairo 2 contracts
Functions: createRoomOnChain(), placeBet(), resolveBattle()
Error handling and transaction status polling
Deliverable: Python module backend/contracts.py with abstractions.
See:
starknet-py docs: https://starknet-py.readthedocs.io/