Skip to content

feat(docs): nethermind fpc docs#22496

Merged
AztecBot merged 1 commit intonextfrom
ek/feat/nethermind-fpc-docs
Apr 14, 2026
Merged

feat(docs): nethermind fpc docs#22496
AztecBot merged 1 commit intonextfrom
ek/feat/nethermind-fpc-docs

Conversation

@sklppy88
Copy link
Copy Markdown
Contributor

@sklppy88 sklppy88 commented Apr 13, 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)

@sklppy88 sklppy88 requested a review from critesjosh April 13, 2026 09:43
@critesjosh critesjosh marked this pull request as ready for review April 14, 2026 15:42
## 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 force-pushed the ek/feat/nethermind-fpc-docs branch from f4152af to bb46c85 Compare April 14, 2026 16:13
@AztecBot AztecBot enabled auto-merge April 14, 2026 16:13
@AztecBot AztecBot added this pull request to the merge queue Apr 14, 2026
Merged via the queue into next with commit 6851a50 Apr 14, 2026
20 checks passed
@AztecBot AztecBot deleted the ek/feat/nethermind-fpc-docs branch April 14, 2026 17:01
@AztecBot
Copy link
Copy Markdown
Collaborator

❌ Failed to cherry-pick to v4-next due to conflicts. (🤖) View backport run.

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
critesjosh added a commit that referenced this pull request Apr 14, 2026
Port changes from #22496 (Nethermind FPC docs) and #22497 (private FPC guide)
to the v4.2.0-aztecnr-rc.2 developer versioned docs.
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
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants