Skip to content

BACKEND: Smart-Contract Interaction Module #4

@tosoham

Description

@tosoham

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/

Metadata

Metadata

Assignees

No one assigned

    Labels

    SSmall issuegood first issueGood for newcomersonlydust-waveContribute to awesome OSS repos during OnlyDust's open source week

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions