Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

docs: Fees doc snippets and code snippets #12229

Merged
merged 11 commits into from
Feb 26, 2025
Merged

docs: Fees doc snippets and code snippets #12229

merged 11 commits into from
Feb 26, 2025

Conversation

jzaki
Copy link
Contributor

@jzaki jzaki commented Feb 24, 2025

aztec.js fees howto

@jzaki jzaki requested a review from saleel February 24, 2025 13:21
@jzaki jzaki marked this pull request as ready for review February 24, 2025 13:23
@jzaki jzaki requested a review from LeilaWang February 24, 2025 14:31
Copy link
Contributor

@LeilaWang LeilaWang left a comment

Choose a reason for hiding this comment

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

Great docs to introduce all variations!

@jzaki jzaki merged commit 5d49445 into master Feb 26, 2025
9 checks passed
@jzaki jzaki deleted the jz/docs-fee-howto branch February 26, 2025 11:06
TomAFrench added a commit that referenced this pull request Feb 26, 2025
* master: (92 commits)
  chore: Log prover publisher address on creation (#12267)
  feat: https for bootnode in devnet (#12161)
  feat(avm): support shifts in lookups (#12280)
  feat(docs): Add flamegraph tool to counter contract tutorial (#12202)
  feat(spartan): 192 node 1 tps - additional validator service (#12238)
  feat(avm): class id derivation (#12263)
  docs: Fees doc snippets and code snippets (#12229)
  refactor: proving cost in fee header (#12048)
  fix: prometheus scrapes itself in the cluster (#12277)
  feat: metrics (#12256)
  chore: cleanup stdlib internal imports (#12274)
  git subrepo push --branch=master noir-projects/aztec-nr
  git_subrepo.sh: Fix parent in .gitrepo file. [skip ci]
  chore: replace relative paths to noir-protocol-circuits
  git subrepo push --branch=master barretenberg
  fix: Enforce no import side effects (#12268)
  refactor!: note interfaces (#12106)
  yolo undenoise tests
  feat: new transcript functionality to hash elements without including in proof (#12233)
  chore: remove gcloud metrics (#12265)
  ...
@jzaki jzaki mentioned this pull request Feb 27, 2025

### Privately or publicly via a Fee Paying Contract

A fee paying contract (FPC) is created and nominates a token that it accepts to then pay for txs in fee juice. So a user doesn't need to hold fee juice, they only need the token that the FPC accepts.
Copy link
Contributor

Choose a reason for hiding this comment

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

would mention they can optionally claim refund too
in private - getting refund for excess repayment is very very powerful (sequencer refunds you money without knowing who you are! but this should be optional as it is costly in DA and proving time and for small txs may not make sense!)


### Natively via an existing balance of fee juice

Either your own account or someone else's address has a balance of fee juice, and the transaction is paid for from this balance.
Copy link
Contributor

Choose a reason for hiding this comment

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

someone else's address

IIRC this is currently not possible and not tested either

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.

4 participants