Skip to content

Store and manage player XP on-chain. #430

@phertyameen

Description

@phertyameen

Description:
Store and manage player XP on-chain.

Tasks:

Create set_xp(env, player_id, amount)
Create get_xp(env, player_id) -> u32
Ensure default XP = 0 for new users
Write tests for read/write behavior

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions