Skip to content

Conversation

@critesjosh
Copy link
Contributor

Summary

Updates aztec.js documentation to reflect the API changes from #19778 (remove send wait).

Changes:

  • Remove .wait() calls - send() now returns receipt directly
  • Remove .deployed() calls - send() returns contract for deployments
  • Add NO_WAIT option and waitForTx utility examples
  • Update getTxReceipt to use node instead of wallet

Files updated:

  • how_to_send_transaction.md
  • how_to_deploy_contract.md
  • how_to_create_account.md
  • how_to_pay_fees.md
  • how_to_use_authwit.md
  • how_to_test.md
  • how_to_read_data.md

Test plan

  • Verify documentation builds successfully
  • Review code examples for accuracy against new API

🤖 Generated with Claude Code

critesjosh and others added 2 commits January 29, 2026 16:13
Add comments to code snippets explaining where variables come from.
Update prerequisites to link to connection guide.
Use consistent variable naming (aliceAddress, bobAddress) matching
the connection guide.

Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
Updates documentation to reflect changes from PR #19778:
- Remove .wait() calls - send() now returns receipt directly
- Remove .deployed() calls - send() returns contract for deployments
- Add NO_WAIT option and waitForTx utility examples
- Update getTxReceipt to use node instead of wallet

Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
Copy link
Contributor

@sklppy88 sklppy88 left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

i think eventually moving all these examples to include codes would be good tbh

critesjosh and others added 2 commits January 30, 2026 16:22
Add new type-checked TypeScript examples in docs/examples/ts/ that get
validated by the bootstrap.sh script during CI. Update aztec.js how-to
guides to reference these examples using #include_code macros.

New example directories:
- aztecjs_connection: Core setup, wallet, accounts, deployment
- aztecjs_authwit: Private/public authwits, revocation
- aztecjs_advanced: NO_WAIT, BatchCall, sponsored FPC, parallel deploy
- aztecjs_testing: Complete test structure

This ensures code snippets in docs stay in sync with API changes.

Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
…events

Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
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.

3 participants