Skip to content

Add achievement badges contract example#67

Open
alexgduarte wants to merge 1 commit into
athena-consulting:mainfrom
alexgduarte:codex/achievement-badges-example
Open

Add achievement badges contract example#67
alexgduarte wants to merge 1 commit into
athena-consulting:mainfrom
alexgduarte:codex/achievement-badges-example

Conversation

@alexgduarte

Copy link
Copy Markdown

Contributes to #11

Summary

  • Add a new achievement-badges simple contract example.
  • Let the owner define badge metadata and manage approved issuer accounts.
  • Let the owner or approved issuers award badges to holder addresses with one award per holder per badge.
  • Support badge archiving, award revocation, ownership transfer, issuer checks, holder badge queries, and badge ownership checks.
  • Include README documentation, schema generation, root README linking, and six focused unit tests.

Validation

  • cargo fmt --manifest-path achievement-badges/Cargo.toml -- --check
  • cargo test --manifest-path achievement-badges/Cargo.toml --target-dir /private/tmp/codex-achievement-badges-target
  • git diff --check

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant