Skip to content

feat(docs): nethermind fpc docs (backport to v4-next)#22532

Merged
critesjosh merged 1 commit intobackport-to-v4-next-stagingfrom
claudebox/backport-22496-fpc-docs
Apr 14, 2026
Merged

feat(docs): nethermind fpc docs (backport to v4-next)#22532
critesjosh merged 1 commit intobackport-to-v4-next-stagingfrom
claudebox/backport-22496-fpc-docs

Conversation

@AztecBot
Copy link
Copy Markdown
Collaborator

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

## 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>
@AztecBot AztecBot added ci-draft Run CI on draft PRs. claudebox Owned by claudebox. it can push to this PR. labels Apr 14, 2026
@critesjosh critesjosh marked this pull request as ready for review April 14, 2026 17:51
@critesjosh critesjosh enabled auto-merge April 14, 2026 17:52
@critesjosh critesjosh merged commit adcfdb8 into backport-to-v4-next-staging Apr 14, 2026
23 of 26 checks passed
@critesjosh critesjosh deleted the claudebox/backport-22496-fpc-docs branch April 14, 2026 17:52
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

ci-draft Run CI on draft PRs. claudebox Owned by claudebox. it can push to this PR.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants