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.
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 onmock_all_auths()or lower-level SDK behavior.Work
Acceptance criteria