Skip to content

Reconcile auth helper naming between README, examples, and implemented API #670

Description

@GideonBature

Context

The public docs and examples still imply slightly different authorization workflows. Some snippets use env.set_auths(&[alice.auth()]), while implemented examples and helpers rely on mock_all_auths() or lower-level SDK behavior.

Work

  • Pick one primary auth workflow for user-facing examples.
  • Update README, examples, and crate docs to use the same naming and pattern.
  • Add compile-tested examples for protected calls with valid auth, missing auth, and wrong signer.

Acceptance criteria

  • README, examples, and implemented APIs agree on auth helper names.
  • Users can copy a protected-call example and have it compile and test correctly.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Fields

    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions