Merged
Conversation
critesjosh
approved these changes
Apr 14, 2026
## Summary - Adds documentation for third-party Fee Payment Contracts (FPCs) on testnet and mainnet, using Nethermind's Private Multi Asset FPC as a reference integration example - Adds a new "How FPCs work" explainer section covering the quote → authwit → setup → app-phase flow, key integration properties (authwit scope, gas estimation, quote expiry), and the cold-start variant - Adds a deprecation notice for the built-in `PrivateFeePaymentMethod` / `PublicFeePaymentMethod` SDK classes (do not work on mainnet alpha) - Updates existing FPC documentation to clarify that FPCs hold their own Fee Juice balance and can accept other tokens, rather than requiring L1 bridging - Renames "Sponsored Fee Payment Contracts" to "Sponsored FPC" and scopes it to devnet/local only - Updates the participant-facing fees page to distinguish Sponsored FPC from third-party FPCs ## Files changed - `docs-developers/docs/aztec-js/how_to_pay_fees.md` — third-party FPC section, Nethermind example, deprecation notice, table reformatting - `docs-developers/docs/foundational-topics/fees.md` — new "How FPCs work" section, teardown clarification, link fix - `docs-developers/docs/aztec-js/how_to_create_account.md` — updated link text and anchor to match renamed heading - `docs-participate/basics/fees.md` — rewritten fee-paying contracts section ## Test plan - [ ] `yarn start` — verify dev server starts and all four changed pages render correctly - [ ] Confirm internal links (`#sponsored-fpc-devnet-and-local-only`, `#third-party-fpcs-on-testnet-and-mainnet`, `#how-fpcs-work`) resolve - [ ] Verify `#include_code` snippets still render in the how-to-pay-fees and how-to-create-account pages - [ ] `yarn spellcheck` passes - [ ] Review Nethermind FPC external links resolve (GitHub repo, SDK README, protocol spec) Co-authored-by: Esau <esau@aztec-labs.com> Co-authored-by: critesjosh <jc@joshcrites.com> Co-authored-by: josh crites <critesjosh@gmail.com>
f4152af to
bb46c85
Compare
Collaborator
|
❌ Failed to cherry-pick to |
critesjosh
added a commit
that referenced
this pull request
Apr 14, 2026
## Summary Backport of #22496 to v4-next. Cherry-pick applied cleanly — no conflicts. ### Original PR Adds documentation for third-party Fee Payment Contracts (FPCs) on testnet and mainnet, using Nethermind's Private Multi Asset FPC as a reference integration example. ClaudeBox log: https://claudebox.work/s/b06a98c8d4c9aeda?run=1
3 tasks
critesjosh
added a commit
that referenced
this pull request
Apr 22, 2026
Ports changes from #22496 (Nethermind FPC docs) and #22497 (private FPC guide) to the v4.2.0 developer versioned docs, plus related updates to source docs (docs-developers), transaction phases explanation, and runnable TypeScript examples. Files: - developer_versioned_docs/version-v4.2.0: how_to_pay_fees.md, how_to_use_private_fee_juice.md, foundational-topics/fees.md, foundational-topics/transactions.md - docs-developers: how_to_pay_fees.md, how_to_use_private_fee_juice.md, foundational-topics/fees.md, foundational-topics/transactions.md - examples/ts: aztecjs_advanced/index.ts, aztecjs_connection/index.ts
chrismarino
pushed a commit
to chrismarino/aztec-packages
that referenced
this pull request
May 5, 2026
…#22541) ## Summary - Ports changes from AztecProtocol#22496 (Nethermind FPC docs) and AztecProtocol#22497 (private FPC guide) to the `v4.2.0-aztecnr-rc.2` developer versioned docs - Updates `how_to_pay_fees.md` with new payment methods table, deprecation notice, third-party FPC section (Nethermind example), and private fee payment section - Updates `fees.md` (foundational topics) with expanded FPC payment methods description, new "How FPCs work" section, and teardown phase clarification - Updates `how_to_create_account.md` anchor links to match renamed heading - Adds new `how_to_use_private_fee_juice.md` guide (DeFi Wonderland's PrivateFPC) ## Test plan - [ ] `yarn start` in `docs/` — verify versioned pages render correctly - [ ] Confirm internal links resolve (anchors to `#sponsored-fpc-devnet-and-local-only`, `#third-party-fpcs-on-testnet-and-mainnet`, `#how-fpcs-work`, and the new private FPC guide) - [ ] Verify external links to Nethermind and Wonderland repos are valid
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Summary
PrivateFeePaymentMethod/PublicFeePaymentMethodSDK classes (do not work on mainnet alpha)Files changed
docs-developers/docs/aztec-js/how_to_pay_fees.md— third-party FPC section, Nethermind example, deprecation notice, table reformattingdocs-developers/docs/foundational-topics/fees.md— new "How FPCs work" section, teardown clarification, link fixdocs-developers/docs/aztec-js/how_to_create_account.md— updated link text and anchor to match renamed headingdocs-participate/basics/fees.md— rewritten fee-paying contracts sectionTest plan
yarn start— verify dev server starts and all four changed pages render correctly#sponsored-fpc-devnet-and-local-only,#third-party-fpcs-on-testnet-and-mainnet,#how-fpcs-work) resolve#include_codesnippets still render in the how-to-pay-fees and how-to-create-account pagesyarn spellcheckpasses