{"_id":"@alejoamiras/aztec-fee-payment","_rev":"11-f63a75b2f9e96901eeb3e4923b9d9b46","name":"@alejoamiras/aztec-fee-payment","dist-tags":{"rc":"5.0.0-rc.2","canary":"0.0.0-canary.g9ed2cf8","latest":"5.0.1-revision.1"},"versions":{"0.0.0-canary.gb8d1485":{"name":"@alejoamiras/aztec-fee-payment","version":"0.0.0-canary.gb8d1485","author":{"name":"Wonderland"},"license":"MIT","_id":"@alejoamiras/aztec-fee-payment@0.0.0-canary.gb8d1485","maintainers":[{"name":"alejoamiras","email":"alejo.amiras@gmail.com"}],"homepage":"https://github.com/alejoamiras/ecosystem-tooling#readme","bugs":{"url":"https://github.com/alejoamiras/ecosystem-tooling/issues"},"dist":{"shasum":"42c5d6597b49084c0d0c8f4f5a16d52ecb1adb6e","tarball":"https://registry.npmjs.org/@alejoamiras/aztec-fee-payment/-/aztec-fee-payment-0.0.0-canary.gb8d1485.tgz","fileCount":39,"integrity":"sha512-XFqRMfeH7J0C9+BAEfeMofDPYGsSSJsb+QeZEGPO9Q94Jns1lcIaVa5V7h+ZC4hxEHDyvc4rPKHnAPH8vuqviA==","signatures":[{"sig":"MEYCIQDybj8HZTN1oM9TloCh2O3021nDrwoIN44vBzzKv1xSKgIhAOxqVhTACIpgtgMLFln/S5uxvK63lxF1sYO4ccFJcf/y","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"unpackedSize":9938672},"main":"./dist/src/ts/index.js","type":"module","types":"./dist/src/ts/index.d.ts","engines":{"node":">=22.0.0"},"exports":{".":{"types":"./dist/src/ts/index.d.ts","import":"./dist/src/ts/index.js"},"./utils":{"types":"./dist/src/ts/utils/index.d.ts","import":"./dist/src/ts/utils/index.js"},"./package.json":"./package.json","./artifacts/private":{"types":"./dist/src/artifacts/PrivateFPC.d.ts","import":"./dist/src/artifacts/PrivateFPC.js"},"./fee-payment-methods":{"types":"./dist/src/ts/fee-payment-methods/index.d.ts","import":"./dist/src/ts/fee-payment-methods/index.js"}},"gitHead":"b8d14850ee01cec51c23299a40ab6d0548cfcfa5","scripts":{"ccc":"bun run clean && bun run compile && bun run codegen","test":"bun run test:nr && bun run test:js","build":"bun run compile && bun run codegen && bunx tsc --project tsconfig.build.json","clean":"rm -rf ./src/artifacts/* ./target ./dist codegenCache.json","codegen":"aztec codegen target --outdir src/artifacts -f","compile":"aztec compile","compute":"NODE_NO_WARNINGS=1 tsx scripts/compute.ts","test:js":"vitest run","test:nr":"aztec test","benchmark":"aztec-benchmark --suffix _base","upload:artifacts":"tsx scripts/upload-artifact.ts"},"_npmUser":{"name":"alejoamiras","email":"alejo.amiras@gmail.com"},"repository":{"url":"git+https://github.com/alejoamiras/ecosystem-tooling.git","type":"git","directory":"packages/aztec-fee-payment"},"_npmVersion":"11.18.0","description":"Private Fee Payment Contract (FPC) for Aztec — Noir contract + TypeScript SDK","directories":{},"_nodeVersion":"24.17.0","publishConfig":{"access":"public"},"_hasShrinkwrap":false,"devDependencies":{"tsx":"4.21.0","zod":"^4.4.0","viem":"npm:@aztec/viem@2.38.2","dotenv":"17.4.2","vitest":"4.1.4","@aztec/pxe":"5.0.0-rc.2","typescript":"5.9.3","@types/node":"25.6.0","@aztec/bb.js":"5.0.0-rc.2","@aztec/stdlib":"5.0.0-rc.2","@noble/hashes":"1.8.0","@aztec/wallets":"5.0.0-rc.2","@aztec/accounts":"5.0.0-rc.2","@aztec/aztec.js":"5.0.0-rc.2","@aztec/ethereum":"5.0.0-rc.2","@aztec/constants":"5.0.0-rc.2","@aztec/foundation":"5.0.0-rc.2","@aztec/entrypoints":"5.0.0-rc.2","@aztec/l1-artifacts":"5.0.0-rc.2","@aztec/noir-contracts.js":"5.0.0-rc.2","@aztec/protocol-contracts":"5.0.0-rc.2","@alejoamiras/aztec-benchmark":"5.0.0-rc.2"},"peerDependencies":{"@aztec/stdlib":"5.0.0-rc.2","@aztec/aztec.js":"5.0.0-rc.2","@aztec/protocol-contracts":"5.0.0-rc.2"},"_npmOperationalInternal":{"tmp":"tmp/aztec-fee-payment_0.0.0-canary.gb8d1485_1782998766067_0.559966486233157","host":"s3://npm-registry-packages-npm-production"},"deprecated":"Renamed to @alejoamiras/private-fee-juice (functionally equivalent to aztec-fee-payment@5.0.1-revision.1) — migrate package + import specifiers."},"5.0.0-rc.2":{"name":"@alejoamiras/aztec-fee-payment","version":"5.0.0-rc.2","author":{"name":"Wonderland"},"license":"MIT","_id":"@alejoamiras/aztec-fee-payment@5.0.0-rc.2","maintainers":[{"name":"alejoamiras","email":"alejo.amiras@gmail.com"}],"homepage":"https://github.com/alejoamiras/ecosystem-tooling#readme","bugs":{"url":"https://github.com/alejoamiras/ecosystem-tooling/issues"},"dist":{"shasum":"738e646009b27c45e73cf9c83c8a63e4e6c1e1bc","tarball":"https://registry.npmjs.org/@alejoamiras/aztec-fee-payment/-/aztec-fee-payment-5.0.0-rc.2.tgz","fileCount":39,"integrity":"sha512-qIqPVplIHc9hNdwA0keyukY/x3gD8jAarQeLZWkcRcg82jsVxm5oX7/B2vJRI3OH5BANPjLeGU/zunUxrQ3zxg==","signatures":[{"sig":"MEUCIQDjVhmPYcqM9aWfVE2BJ43/GElcX83xXnQ0jzNTNYWZJAIgDmV8xvSxPJmbVLRruwxQlZrsZAr9vTdHvDA6a7ZinLI=","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"attestations":{"url":"https://registry.npmjs.org/-/npm/v1/attestations/@alejoamiras%2faztec-fee-payment@5.0.0-rc.2","provenance":{"predicateType":"https://slsa.dev/provenance/v1"}},"unpackedSize":9938661},"main":"./dist/src/ts/index.js","type":"module","types":"./dist/src/ts/index.d.ts","engines":{"node":">=22.0.0"},"exports":{".":{"types":"./dist/src/ts/index.d.ts","import":"./dist/src/ts/index.js"},"./utils":{"types":"./dist/src/ts/utils/index.d.ts","import":"./dist/src/ts/utils/index.js"},"./package.json":"./package.json","./artifacts/private":{"types":"./dist/src/artifacts/PrivateFPC.d.ts","import":"./dist/src/artifacts/PrivateFPC.js"},"./fee-payment-methods":{"types":"./dist/src/ts/fee-payment-methods/index.d.ts","import":"./dist/src/ts/fee-payment-methods/index.js"}},"gitHead":"ca990caa240bece555489c1cfd4579e144657ce6","scripts":{"ccc":"bun run clean && bun run compile && bun run codegen","test":"bun run test:nr && bun run test:js","build":"bun run compile && bun run codegen && bunx tsc --project tsconfig.build.json","clean":"rm -rf ./src/artifacts/* ./target ./dist codegenCache.json","codegen":"aztec codegen target --outdir src/artifacts -f","compile":"aztec compile","compute":"NODE_NO_WARNINGS=1 tsx scripts/compute.ts","test:js":"vitest run","test:nr":"aztec test","benchmark":"aztec-benchmark --suffix _base","upload:artifacts":"tsx scripts/upload-artifact.ts"},"_npmUser":{"name":"GitHub Actions","email":"npm-oidc-no-reply@github.com","trustedPublisher":{"id":"github","oidcConfigId":"oidc:75c1e7fb-fb4f-48a5-b7d3-5250ae1e7304"}},"repository":{"url":"git+https://github.com/alejoamiras/ecosystem-tooling.git","type":"git","directory":"packages/aztec-fee-payment"},"_npmVersion":"11.18.0","description":"Private Fee Payment Contract (FPC) for Aztec — Noir contract + TypeScript SDK","directories":{},"_nodeVersion":"24.17.0","publishConfig":{"access":"public"},"_hasShrinkwrap":false,"readmeFilename":"README.md","devDependencies":{"tsx":"4.21.0","zod":"^4.4.0","viem":"npm:@aztec/viem@2.38.2","dotenv":"17.4.2","vitest":"4.1.4","@aztec/pxe":"5.0.0-rc.2","typescript":"5.9.3","@types/node":"25.6.0","@aztec/bb.js":"5.0.0-rc.2","@aztec/stdlib":"5.0.0-rc.2","@noble/hashes":"1.8.0","@aztec/wallets":"5.0.0-rc.2","@aztec/accounts":"5.0.0-rc.2","@aztec/aztec.js":"5.0.0-rc.2","@aztec/ethereum":"5.0.0-rc.2","@aztec/constants":"5.0.0-rc.2","@aztec/foundation":"5.0.0-rc.2","@aztec/entrypoints":"5.0.0-rc.2","@aztec/l1-artifacts":"5.0.0-rc.2","@aztec/noir-contracts.js":"5.0.0-rc.2","@aztec/protocol-contracts":"5.0.0-rc.2","@alejoamiras/aztec-benchmark":"5.0.0-rc.2"},"peerDependencies":{"@aztec/stdlib":"5.0.0-rc.2","@aztec/aztec.js":"5.0.0-rc.2","@aztec/protocol-contracts":"5.0.0-rc.2"},"_npmOperationalInternal":{"tmp":"tmp/aztec-fee-payment_5.0.0-rc.2_1783003009777_0.9324337179129747","host":"s3://npm-registry-packages-npm-production"},"deprecated":"Renamed to @alejoamiras/private-fee-juice (functionally equivalent to aztec-fee-payment@5.0.1-revision.1) — migrate package + import specifiers."},"0.0.0-canary.g45c0c57":{"name":"@alejoamiras/aztec-fee-payment","version":"0.0.0-canary.g45c0c57","author":{"name":"Wonderland"},"license":"MIT","_id":"@alejoamiras/aztec-fee-payment@0.0.0-canary.g45c0c57","maintainers":[{"name":"alejoamiras","email":"alejo.amiras@gmail.com"}],"homepage":"https://github.com/alejoamiras/ecosystem-tooling#readme","bugs":{"url":"https://github.com/alejoamiras/ecosystem-tooling/issues"},"dist":{"shasum":"62aefc548883fa4495a43c0bee5cd69d6122ffed","tarball":"https://registry.npmjs.org/@alejoamiras/aztec-fee-payment/-/aztec-fee-payment-0.0.0-canary.g45c0c57.tgz","fileCount":37,"integrity":"sha512-uL6uFE+YdVDlxXti1nzNAukH3yxnNXxpCSNo8uU2plwxkMrFwprnSj7fdsibOoSdOfbTuBBp2YwYnyYYIj+/3w==","signatures":[{"sig":"MEYCIQCpsQlY0N4qekekbniYIHn/prpKpuA6lFpx6YTJbJ68tAIhAIhg/ZYkDWO1O5qafEM6/gFiusVHQ0ec9WpD2D64TPd6","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"attestations":{"url":"https://registry.npmjs.org/-/npm/v1/attestations/@alejoamiras%2faztec-fee-payment@0.0.0-canary.g45c0c57","provenance":{"predicateType":"https://slsa.dev/provenance/v1"}},"unpackedSize":7427887},"main":"./dist/src/ts/index.js","type":"module","_from":"file:release-tarballs/alejoamiras-aztec-fee-payment-0.0.0-canary.g45c0c57.tgz","types":"./dist/src/ts/index.d.ts","engines":{"node":">=22.0.0"},"exports":{".":{"types":"./dist/src/ts/index.d.ts","import":"./dist/src/ts/index.js"},"./utils":{"types":"./dist/src/ts/utils/index.d.ts","import":"./dist/src/ts/utils/index.js"},"./package.json":"./package.json","./artifacts/private":{"types":"./dist/src/artifacts/PrivateFPC.d.ts","import":"./dist/src/artifacts/PrivateFPC.js"},"./fee-payment-methods":{"types":"./dist/src/ts/fee-payment-methods/index.d.ts","import":"./dist/src/ts/fee-payment-methods/index.js"}},"scripts":{"ccc":"bun run clean && bun run compile && bun run codegen","test":"bun run test:nr && bun run test:js","build":"bun run compile && bun run codegen && bunx tsc --project tsconfig.build.json","clean":"rm -rf ./src/artifacts/* ./target ./dist codegenCache.json","codegen":"aztec codegen target --outdir src/artifacts -f","compile":"aztec compile","compute":"NODE_NO_WARNINGS=1 tsx scripts/compute.ts","test:js":"vitest run","test:nr":"aztec test","benchmark":"aztec-benchmark --suffix _base","typecheck":"tsc --noEmit -p tsconfig.json","upload:artifacts":"tsx scripts/upload-artifact.ts"},"_npmUser":{"name":"GitHub Actions","email":"npm-oidc-no-reply@github.com","trustedPublisher":{"id":"github","oidcConfigId":"oidc:75c1e7fb-fb4f-48a5-b7d3-5250ae1e7304"}},"_resolved":"/home/runner/work/ecosystem-tooling/ecosystem-tooling/release-tarballs/alejoamiras-aztec-fee-payment-0.0.0-canary.g45c0c57.tgz","_integrity":"sha512-uL6uFE+YdVDlxXti1nzNAukH3yxnNXxpCSNo8uU2plwxkMrFwprnSj7fdsibOoSdOfbTuBBp2YwYnyYYIj+/3w==","repository":{"url":"git+https://github.com/alejoamiras/ecosystem-tooling.git","type":"git","directory":"packages/aztec-fee-payment"},"_npmVersion":"11.18.0","description":"Private Fee Payment Contract (FPC) for Aztec — Noir contract + TypeScript SDK","directories":{},"_nodeVersion":"24.18.0","publishConfig":{"access":"public"},"_hasShrinkwrap":false,"readmeFilename":"README.md","devDependencies":{"tsx":"4.21.0","zod":"^4.4.0","viem":"npm:@aztec/viem@2.38.2","dotenv":"17.4.2","vitest":"4.1.4","@aztec/pxe":"5.0.0","typescript":"5.9.3","@types/node":"25.6.0","@aztec/bb.js":"5.0.0","@aztec/stdlib":"5.0.0","@noble/hashes":"1.8.0","@aztec/wallets":"5.0.0","@aztec/accounts":"5.0.0","@aztec/aztec.js":"5.0.0","@aztec/ethereum":"5.0.0","@aztec/constants":"5.0.0","@aztec/foundation":"5.0.0","@aztec/entrypoints":"5.0.0","@aztec/l1-artifacts":"5.0.0","@aztec/noir-contracts.js":"5.0.0","@aztec/protocol-contracts":"5.0.0","@alejoamiras/aztec-benchmark":"0.0.0-canary.g45c0c57"},"peerDependencies":{"@aztec/stdlib":"5.0.0","@aztec/aztec.js":"5.0.0","@aztec/protocol-contracts":"5.0.0"},"_npmOperationalInternal":{"tmp":"tmp/aztec-fee-payment_0.0.0-canary.g45c0c57_1783985116330_0.8642083663167783","host":"s3://npm-registry-packages-npm-production"},"deprecated":"Renamed to @alejoamiras/private-fee-juice (functionally equivalent to aztec-fee-payment@5.0.1-revision.1) — migrate package + import specifiers."},"5.0.0":{"name":"@alejoamiras/aztec-fee-payment","version":"5.0.0","author":{"name":"Wonderland"},"license":"MIT","_id":"@alejoamiras/aztec-fee-payment@5.0.0","maintainers":[{"name":"alejoamiras","email":"alejo.amiras@gmail.com"}],"homepage":"https://github.com/alejoamiras/ecosystem-tooling#readme","bugs":{"url":"https://github.com/alejoamiras/ecosystem-tooling/issues"},"dist":{"shasum":"bbac579d398d0c0631236e2a5c74158d9667e383","tarball":"https://registry.npmjs.org/@alejoamiras/aztec-fee-payment/-/aztec-fee-payment-5.0.0.tgz","fileCount":37,"integrity":"sha512-QEnpenB6aDnbzUS3DctMjXrcNn1hUa0uC4xXPFEo6ByHBQsXeKALf8i4AycXoR6xLkcd7Ki9plAtlauTcfTmyQ==","signatures":[{"sig":"MEUCIQDZPwZ/MQ+wgEgwLeKlCsuyTN4sMKmYctd0mTqcdMZqhgIgLga0afEKI1p5NwJUhsH3s0UBFh5nsHnRla29bqkSHpY=","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"attestations":{"url":"https://registry.npmjs.org/-/npm/v1/attestations/@alejoamiras%2faztec-fee-payment@5.0.0","provenance":{"predicateType":"https://slsa.dev/provenance/v1"}},"unpackedSize":7427855},"main":"./dist/src/ts/index.js","type":"module","_from":"file:release-tarballs/alejoamiras-aztec-fee-payment-5.0.0.tgz","types":"./dist/src/ts/index.d.ts","engines":{"node":">=22.0.0"},"exports":{".":{"types":"./dist/src/ts/index.d.ts","import":"./dist/src/ts/index.js"},"./utils":{"types":"./dist/src/ts/utils/index.d.ts","import":"./dist/src/ts/utils/index.js"},"./package.json":"./package.json","./artifacts/private":{"types":"./dist/src/artifacts/PrivateFPC.d.ts","import":"./dist/src/artifacts/PrivateFPC.js"},"./fee-payment-methods":{"types":"./dist/src/ts/fee-payment-methods/index.d.ts","import":"./dist/src/ts/fee-payment-methods/index.js"}},"scripts":{"ccc":"bun run clean && bun run compile && bun run codegen","test":"bun run test:nr && bun run test:js","build":"bun run compile && bun run codegen && bunx tsc --project tsconfig.build.json","clean":"rm -rf ./src/artifacts/* ./target ./dist codegenCache.json","codegen":"aztec codegen target --outdir src/artifacts -f","compile":"aztec compile","compute":"NODE_NO_WARNINGS=1 tsx scripts/compute.ts","test:js":"vitest run","test:nr":"aztec test","benchmark":"aztec-benchmark --suffix _base","typecheck":"tsc --noEmit -p tsconfig.json","upload:artifacts":"tsx scripts/upload-artifact.ts"},"_npmUser":{"name":"GitHub Actions","email":"npm-oidc-no-reply@github.com","trustedPublisher":{"id":"github","oidcConfigId":"oidc:75c1e7fb-fb4f-48a5-b7d3-5250ae1e7304"}},"_resolved":"/home/runner/work/ecosystem-tooling/ecosystem-tooling/release-tarballs/alejoamiras-aztec-fee-payment-5.0.0.tgz","_integrity":"sha512-QEnpenB6aDnbzUS3DctMjXrcNn1hUa0uC4xXPFEo6ByHBQsXeKALf8i4AycXoR6xLkcd7Ki9plAtlauTcfTmyQ==","repository":{"url":"git+https://github.com/alejoamiras/ecosystem-tooling.git","type":"git","directory":"packages/aztec-fee-payment"},"_npmVersion":"11.18.0","description":"Private Fee Payment Contract (FPC) for Aztec — Noir contract + TypeScript SDK","directories":{},"_nodeVersion":"24.18.0","publishConfig":{"access":"public"},"_hasShrinkwrap":false,"devDependencies":{"tsx":"4.21.0","zod":"^4.4.0","viem":"npm:@aztec/viem@2.38.2","dotenv":"17.4.2","vitest":"4.1.4","@aztec/pxe":"5.0.0","typescript":"5.9.3","@types/node":"25.6.0","@aztec/bb.js":"5.0.0","@aztec/stdlib":"5.0.0","@noble/hashes":"1.8.0","@aztec/wallets":"5.0.0","@aztec/accounts":"5.0.0","@aztec/aztec.js":"5.0.0","@aztec/ethereum":"5.0.0","@aztec/constants":"5.0.0","@aztec/foundation":"5.0.0","@aztec/entrypoints":"5.0.0","@aztec/l1-artifacts":"5.0.0","@aztec/noir-contracts.js":"5.0.0","@aztec/protocol-contracts":"5.0.0","@alejoamiras/aztec-benchmark":"5.0.0"},"peerDependencies":{"@aztec/stdlib":"5.0.0","@aztec/aztec.js":"5.0.0","@aztec/protocol-contracts":"5.0.0"},"_npmOperationalInternal":{"tmp":"tmp/aztec-fee-payment_5.0.0_1783988093420_0.4579497542985058","host":"s3://npm-registry-packages-npm-production"},"deprecated":"Renamed to @alejoamiras/private-fee-juice (functionally equivalent to aztec-fee-payment@5.0.1-revision.1) — migrate package + import specifiers."},"0.0.0-canary.g9a09074":{"name":"@alejoamiras/aztec-fee-payment","version":"0.0.0-canary.g9a09074","author":{"name":"Wonderland"},"license":"MIT","_id":"@alejoamiras/aztec-fee-payment@0.0.0-canary.g9a09074","maintainers":[{"name":"alejoamiras","email":"alejo.amiras@gmail.com"}],"homepage":"https://github.com/alejoamiras/ecosystem-tooling#readme","bugs":{"url":"https://github.com/alejoamiras/ecosystem-tooling/issues"},"dist":{"shasum":"d8413dbdb62afbdb80821593d5a2bf4ba48a0519","tarball":"https://registry.npmjs.org/@alejoamiras/aztec-fee-payment/-/aztec-fee-payment-0.0.0-canary.g9a09074.tgz","fileCount":38,"integrity":"sha512-33QWf/U1SBdjpvdh6PZlwXQwVwsWyGmrGlWpsPrSKqE0tnHNv1PGzBz/0J+QTKnFmvmoHmPdg+lBrmyrfMOy3Q==","signatures":[{"sig":"MEUCIQDtobjrSL84OAgGIBE9+QcBDk3soXp8J+uonsOc3On3/gIgCbYxdafiiLqThtVo46q4nPsaF+DMULTOSFLH2QAkMrw=","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"attestations":{"url":"https://registry.npmjs.org/-/npm/v1/attestations/@alejoamiras%2faztec-fee-payment@0.0.0-canary.g9a09074","provenance":{"predicateType":"https://slsa.dev/provenance/v1"}},"unpackedSize":7661933},"main":"./dist/src/ts/index.js","type":"module","_from":"file:release-tarballs/alejoamiras-aztec-fee-payment-0.0.0-canary.g9a09074.tgz","types":"./dist/src/ts/index.d.ts","engines":{"node":">=22.0.0"},"exports":{".":{"types":"./dist/src/ts/index.d.ts","import":"./dist/src/ts/index.js"},"./utils":{"types":"./dist/src/ts/utils/index.d.ts","import":"./dist/src/ts/utils/index.js"},"./package.json":"./package.json","./artifacts/private":{"types":"./dist/src/artifacts/PrivateFPC.d.ts","import":"./dist/src/artifacts/PrivateFPC.js"},"./fee-payment-methods":{"types":"./dist/src/ts/fee-payment-methods/index.d.ts","import":"./dist/src/ts/fee-payment-methods/index.js"}},"scripts":{"ccc":"bun run clean && bun run compile && bun run codegen","test":"bun run test:nr && bun run test:js","build":"bun run compile && bun run codegen && bunx tsc --project tsconfig.build.json","clean":"rm -rf ./src/artifacts/* ./target ./dist codegenCache.json","codegen":"aztec codegen target --outdir src/artifacts -f","compile":"aztec compile","compute":"NODE_NO_WARNINGS=1 tsx scripts/compute.ts","test:js":"vitest run","test:nr":"aztec test","benchmark":"aztec-benchmark --suffix _base","typecheck":"tsc --noEmit -p tsconfig.json","upload:artifacts":"tsx scripts/upload-artifact.ts"},"_npmUser":{"name":"GitHub Actions","email":"npm-oidc-no-reply@github.com","trustedPublisher":{"id":"github","oidcConfigId":"oidc:75c1e7fb-fb4f-48a5-b7d3-5250ae1e7304"}},"_resolved":"/home/runner/work/ecosystem-tooling/ecosystem-tooling/release-tarballs/alejoamiras-aztec-fee-payment-0.0.0-canary.g9a09074.tgz","_integrity":"sha512-33QWf/U1SBdjpvdh6PZlwXQwVwsWyGmrGlWpsPrSKqE0tnHNv1PGzBz/0J+QTKnFmvmoHmPdg+lBrmyrfMOy3Q==","repository":{"url":"git+https://github.com/alejoamiras/ecosystem-tooling.git","type":"git","directory":"packages/aztec-fee-payment"},"_npmVersion":"11.18.0","description":"Private Fee Payment Contract (FPC) for Aztec — Noir contract + TypeScript SDK","directories":{},"_nodeVersion":"24.18.0","publishConfig":{"access":"public"},"_hasShrinkwrap":false,"readmeFilename":"README.md","devDependencies":{"tsx":"4.21.0","zod":"^4.4.0","viem":"npm:@aztec/viem@2.38.2","dotenv":"17.4.2","vitest":"4.1.4","@aztec/pxe":"5.0.1","typescript":"5.9.3","@types/node":"25.6.0","@aztec/bb.js":"5.0.1","@aztec/stdlib":"5.0.1","@noble/hashes":"1.8.0","@aztec/wallets":"5.0.1","@aztec/accounts":"5.0.1","@aztec/aztec.js":"5.0.1","@aztec/ethereum":"5.0.1","@aztec/constants":"5.0.1","@aztec/foundation":"5.0.1","@aztec/entrypoints":"5.0.1","@aztec/l1-artifacts":"5.0.1","@aztec/noir-contracts.js":"5.0.1","@aztec/protocol-contracts":"5.0.1","@alejoamiras/aztec-benchmark":"0.0.0-canary.g9a09074"},"peerDependencies":{"@aztec/stdlib":"5.0.1","@aztec/aztec.js":"5.0.1","@aztec/protocol-contracts":"5.0.1"},"_npmOperationalInternal":{"tmp":"tmp/aztec-fee-payment_0.0.0-canary.g9a09074_1784227939284_0.03852690383148416","host":"s3://npm-registry-packages-npm-production"},"deprecated":"Renamed to @alejoamiras/private-fee-juice (functionally equivalent to aztec-fee-payment@5.0.1-revision.1) — migrate package + import specifiers."},"5.0.1":{"name":"@alejoamiras/aztec-fee-payment","version":"5.0.1","author":{"name":"Wonderland"},"license":"MIT","_id":"@alejoamiras/aztec-fee-payment@5.0.1","maintainers":[{"name":"alejoamiras","email":"alejo.amiras@gmail.com"}],"homepage":"https://github.com/alejoamiras/ecosystem-tooling#readme","bugs":{"url":"https://github.com/alejoamiras/ecosystem-tooling/issues"},"dist":{"shasum":"bcb809ccaa34bb37142bb0e1769c8d525153d5c7","tarball":"https://registry.npmjs.org/@alejoamiras/aztec-fee-payment/-/aztec-fee-payment-5.0.1.tgz","fileCount":38,"integrity":"sha512-jSChEwN6nDRFohFrO87y0xOUE4NQ9a1fcGUd47R1jL8OFKoVz/1RorwELeifsLi5+f1F6ws0RkW5R/lsYXfnqQ==","signatures":[{"sig":"MEUCIDUSPEpLpNg0ANWzBufBLR6UmExZnAZllBQoN7Jvm8+WAiEApdxeNTCEtlUrreXHFp0LXQDJrNzUHxj54xZCAGxUduA=","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"attestations":{"url":"https://registry.npmjs.org/-/npm/v1/attestations/@alejoamiras%2faztec-fee-payment@5.0.1","provenance":{"predicateType":"https://slsa.dev/provenance/v1"}},"unpackedSize":7661901},"main":"./dist/src/ts/index.js","type":"module","_from":"file:release-tarballs/alejoamiras-aztec-fee-payment-5.0.1.tgz","types":"./dist/src/ts/index.d.ts","engines":{"node":">=22.0.0"},"exports":{".":{"types":"./dist/src/ts/index.d.ts","import":"./dist/src/ts/index.js"},"./utils":{"types":"./dist/src/ts/utils/index.d.ts","import":"./dist/src/ts/utils/index.js"},"./package.json":"./package.json","./artifacts/private":{"types":"./dist/src/artifacts/PrivateFPC.d.ts","import":"./dist/src/artifacts/PrivateFPC.js"},"./fee-payment-methods":{"types":"./dist/src/ts/fee-payment-methods/index.d.ts","import":"./dist/src/ts/fee-payment-methods/index.js"}},"scripts":{"ccc":"bun run clean && bun run compile && bun run codegen","test":"bun run test:nr && bun run test:js","build":"bun run compile && bun run codegen && bunx tsc --project tsconfig.build.json","clean":"rm -rf ./src/artifacts/* ./target ./dist codegenCache.json","codegen":"aztec codegen target --outdir src/artifacts -f","compile":"aztec compile","compute":"NODE_NO_WARNINGS=1 tsx scripts/compute.ts","test:js":"vitest run","test:nr":"aztec test","benchmark":"aztec-benchmark --suffix _base","typecheck":"tsc --noEmit -p tsconfig.json","upload:artifacts":"tsx scripts/upload-artifact.ts"},"_npmUser":{"name":"GitHub Actions","email":"npm-oidc-no-reply@github.com","trustedPublisher":{"id":"github","oidcConfigId":"oidc:75c1e7fb-fb4f-48a5-b7d3-5250ae1e7304"}},"_resolved":"/home/runner/work/ecosystem-tooling/ecosystem-tooling/release-tarballs/alejoamiras-aztec-fee-payment-5.0.1.tgz","_integrity":"sha512-jSChEwN6nDRFohFrO87y0xOUE4NQ9a1fcGUd47R1jL8OFKoVz/1RorwELeifsLi5+f1F6ws0RkW5R/lsYXfnqQ==","deprecated":"Renamed to @alejoamiras/private-fee-juice (functionally equivalent to aztec-fee-payment@5.0.1-revision.1) — migrate package + import specifiers.","repository":{"url":"git+https://github.com/alejoamiras/ecosystem-tooling.git","type":"git","directory":"packages/aztec-fee-payment"},"_npmVersion":"11.18.0","description":"Private Fee Payment Contract (FPC) for Aztec — Noir contract + TypeScript SDK","directories":{},"_nodeVersion":"24.18.0","publishConfig":{"access":"public"},"_hasShrinkwrap":false,"devDependencies":{"tsx":"4.21.0","zod":"^4.4.0","viem":"npm:@aztec/viem@2.38.2","dotenv":"17.4.2","vitest":"4.1.4","@aztec/pxe":"5.0.1","typescript":"5.9.3","@types/node":"25.6.0","@aztec/bb.js":"5.0.1","@aztec/stdlib":"5.0.1","@noble/hashes":"1.8.0","@aztec/wallets":"5.0.1","@aztec/accounts":"5.0.1","@aztec/aztec.js":"5.0.1","@aztec/ethereum":"5.0.1","@aztec/constants":"5.0.1","@aztec/foundation":"5.0.1","@aztec/entrypoints":"5.0.1","@aztec/l1-artifacts":"5.0.1","@aztec/noir-contracts.js":"5.0.1","@aztec/protocol-contracts":"5.0.1","@alejoamiras/aztec-benchmark":"5.0.1"},"peerDependencies":{"@aztec/stdlib":"5.0.1","@aztec/aztec.js":"5.0.1","@aztec/protocol-contracts":"5.0.1"},"_npmOperationalInternal":{"tmp":"tmp/aztec-fee-payment_5.0.1_1784229008340_0.8553337380113302","host":"s3://npm-registry-packages-npm-production"}},"0.0.0-canary.g9ed2cf8":{"name":"@alejoamiras/aztec-fee-payment","version":"0.0.0-canary.g9ed2cf8","author":{"name":"Wonderland"},"license":"MIT","_id":"@alejoamiras/aztec-fee-payment@0.0.0-canary.g9ed2cf8","maintainers":[{"name":"alejoamiras","email":"alejo.amiras@gmail.com"}],"homepage":"https://github.com/alejoamiras/ecosystem-tooling#readme","bugs":{"url":"https://github.com/alejoamiras/ecosystem-tooling/issues"},"dist":{"shasum":"f9fe2e4d66d4af06ee2418bc92dc27373139b2af","tarball":"https://registry.npmjs.org/@alejoamiras/aztec-fee-payment/-/aztec-fee-payment-0.0.0-canary.g9ed2cf8.tgz","fileCount":31,"integrity":"sha512-XwlmcKFAuFAiVxETXzLZgfK0LK/Uz96C12iAlOJ4HavVVDpFUmcqoeoUoKCu0lyF4vDuyskDa8z9MzNa7MiY5A==","signatures":[{"sig":"MEUCIGSH0fmL6FEwkIKB+sQNz8Eic1qen+/tzBIrWLxIceZ9AiEA7zaYinZzsE4G0SuZc17xGrFTmiwbookWJyPqoPV30UI=","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"attestations":{"url":"https://registry.npmjs.org/-/npm/v1/attestations/@alejoamiras%2faztec-fee-payment@0.0.0-canary.g9ed2cf8","provenance":{"predicateType":"https://slsa.dev/provenance/v1"}},"unpackedSize":5122365},"main":"./dist/src/ts/index.js","type":"module","_from":"file:release-tarballs/alejoamiras-aztec-fee-payment-0.0.0-canary.g9ed2cf8.tgz","types":"./dist/src/ts/index.d.ts","engines":{"node":">=22.0.0"},"exports":{".":{"types":"./dist/src/ts/index.d.ts","import":"./dist/src/ts/index.js"},"./utils":{"types":"./dist/src/ts/utils/index.d.ts","import":"./dist/src/ts/utils/index.js"},"./package.json":"./package.json","./artifacts/private":{"types":"./dist/src/artifacts/PrivateFPC.d.ts","import":"./dist/src/artifacts/PrivateFPC.js"},"./fee-payment-methods":{"types":"./dist/src/ts/fee-payment-methods/index.d.ts","import":"./dist/src/ts/fee-payment-methods/index.js"},"./canonical-deployment.json":"./canonical-deployment.json"},"scripts":{"ccc":"bun run clean && bun run compile && bun run codegen","test":"bun run test:nr && bun run test:js","build":"bun run compile && bun run codegen && bunx tsc --project tsconfig.build.json","clean":"rm -rf ./src/artifacts/* ./target ./dist codegenCache.json","codegen":"aztec codegen target --outdir src/artifacts -f","compile":"aztec compile","compute":"NODE_NO_WARNINGS=1 tsx scripts/compute.ts","test:js":"vitest run","test:nr":"aztec test","benchmark":"aztec-benchmark --suffix _base","typecheck":"tsc --noEmit -p tsconfig.json","verify:pack":"bun scripts/verify-pack.ts","verify:package":"bun run verify:dist-canonical && bun run verify:pack","verify:dist-canonical":"node scripts/verify-dist-canonical.mjs"},"_npmUser":{"name":"GitHub Actions","email":"npm-oidc-no-reply@github.com","trustedPublisher":{"id":"github","oidcConfigId":"oidc:75c1e7fb-fb4f-48a5-b7d3-5250ae1e7304"}},"_resolved":"/home/runner/work/ecosystem-tooling/ecosystem-tooling/release-tarballs/alejoamiras-aztec-fee-payment-0.0.0-canary.g9ed2cf8.tgz","_integrity":"sha512-XwlmcKFAuFAiVxETXzLZgfK0LK/Uz96C12iAlOJ4HavVVDpFUmcqoeoUoKCu0lyF4vDuyskDa8z9MzNa7MiY5A==","repository":{"url":"git+https://github.com/alejoamiras/ecosystem-tooling.git","type":"git","directory":"packages/aztec-fee-payment"},"_npmVersion":"11.18.0","description":"Private Fee Payment Contract (FPC) for Aztec — Noir contract + TypeScript SDK","directories":{},"_nodeVersion":"24.18.0","publishConfig":{"access":"public"},"_hasShrinkwrap":false,"readmeFilename":"README.md","devDependencies":{"tsx":"4.21.0","zod":"^4.4.0","viem":"npm:@aztec/viem@2.38.2","dotenv":"17.4.2","vitest":"4.1.4","@aztec/pxe":"5.0.1","typescript":"5.9.3","@types/node":"25.6.0","@aztec/bb.js":"5.0.1","@aztec/stdlib":"5.0.1","@noble/hashes":"1.8.0","@aztec/wallets":"5.0.1","@aztec/accounts":"5.0.1","@aztec/aztec.js":"5.0.1","@aztec/ethereum":"5.0.1","@aztec/constants":"5.0.1","@aztec/foundation":"5.0.1","@aztec/entrypoints":"5.0.1","@aztec/l1-artifacts":"5.0.1","@aztec/noir-contracts.js":"5.0.1","@aztec/protocol-contracts":"5.0.1","@alejoamiras/aztec-benchmark":"0.0.0-canary.g9ed2cf8"},"peerDependencies":{"@aztec/stdlib":"5.0.1","@aztec/aztec.js":"5.0.1","@aztec/protocol-contracts":"5.0.1"},"_npmOperationalInternal":{"tmp":"tmp/aztec-fee-payment_0.0.0-canary.g9ed2cf8_1784318506683_0.4838836868562082","host":"s3://npm-registry-packages-npm-production"},"deprecated":"Renamed to @alejoamiras/private-fee-juice (functionally equivalent to aztec-fee-payment@5.0.1-revision.1) — migrate package + import specifiers."},"5.0.1-revision.1":{"name":"@alejoamiras/aztec-fee-payment","version":"5.0.1-revision.1","author":{"name":"Wonderland"},"license":"MIT","_id":"@alejoamiras/aztec-fee-payment@5.0.1-revision.1","maintainers":[{"name":"alejoamiras","email":"alejo.amiras@gmail.com"}],"homepage":"https://github.com/alejoamiras/ecosystem-tooling#readme","bugs":{"url":"https://github.com/alejoamiras/ecosystem-tooling/issues"},"dist":{"shasum":"ed2841a976ef066d65ea36a0b73420ca32162b56","tarball":"https://registry.npmjs.org/@alejoamiras/aztec-fee-payment/-/aztec-fee-payment-5.0.1-revision.1.tgz","fileCount":31,"integrity":"sha512-m0PgOoWWMfMUbOEXLh6uvqLAW5xMToS98tUYBJvhQHLTfgpcWBfSgYj/TlEYCD8vT0RoWjIXM1dNVhnz/N/kUA==","signatures":[{"sig":"MEUCIB8KMc2NhXRkdwpwvSjx/GayvC4A4d8c1uP1mI24qT8lAiEA11npp3L8N2bHJgMcrk2AsKg/VYotZ4ipmcoeT03l5Ss=","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"attestations":{"url":"https://registry.npmjs.org/-/npm/v1/attestations/@alejoamiras%2faztec-fee-payment@5.0.1-revision.1","provenance":{"predicateType":"https://slsa.dev/provenance/v1"}},"unpackedSize":5122355},"main":"./dist/src/ts/index.js","type":"module","_from":"file:release-tarballs/alejoamiras-aztec-fee-payment-5.0.1-revision.1.tgz","types":"./dist/src/ts/index.d.ts","engines":{"node":">=22.0.0"},"exports":{".":{"types":"./dist/src/ts/index.d.ts","import":"./dist/src/ts/index.js"},"./utils":{"types":"./dist/src/ts/utils/index.d.ts","import":"./dist/src/ts/utils/index.js"},"./package.json":"./package.json","./artifacts/private":{"types":"./dist/src/artifacts/PrivateFPC.d.ts","import":"./dist/src/artifacts/PrivateFPC.js"},"./fee-payment-methods":{"types":"./dist/src/ts/fee-payment-methods/index.d.ts","import":"./dist/src/ts/fee-payment-methods/index.js"},"./canonical-deployment.json":"./canonical-deployment.json"},"scripts":{"ccc":"bun run clean && bun run compile && bun run codegen","test":"bun run test:nr && bun run test:js","build":"bun run compile && bun run codegen && bunx tsc --project tsconfig.build.json","clean":"rm -rf ./src/artifacts/* ./target ./dist codegenCache.json","codegen":"aztec codegen target --outdir src/artifacts -f","compile":"aztec compile","compute":"NODE_NO_WARNINGS=1 tsx scripts/compute.ts","test:js":"vitest run","test:nr":"aztec test","benchmark":"aztec-benchmark --suffix _base","typecheck":"tsc --noEmit -p tsconfig.json","verify:pack":"bun scripts/verify-pack.ts","verify:package":"bun run verify:dist-canonical && bun run verify:pack","verify:dist-canonical":"node scripts/verify-dist-canonical.mjs"},"_npmUser":{"name":"GitHub Actions","email":"npm-oidc-no-reply@github.com","trustedPublisher":{"id":"github","oidcConfigId":"oidc:75c1e7fb-fb4f-48a5-b7d3-5250ae1e7304"}},"_resolved":"/home/runner/work/ecosystem-tooling/ecosystem-tooling/release-tarballs/alejoamiras-aztec-fee-payment-5.0.1-revision.1.tgz","_integrity":"sha512-m0PgOoWWMfMUbOEXLh6uvqLAW5xMToS98tUYBJvhQHLTfgpcWBfSgYj/TlEYCD8vT0RoWjIXM1dNVhnz/N/kUA==","repository":{"url":"git+https://github.com/alejoamiras/ecosystem-tooling.git","type":"git","directory":"packages/aztec-fee-payment"},"_npmVersion":"11.18.0","description":"Private Fee Payment Contract (FPC) for Aztec — Noir contract + TypeScript SDK","directories":{},"_nodeVersion":"24.18.0","publishConfig":{"access":"public"},"_hasShrinkwrap":false,"devDependencies":{"tsx":"4.21.0","zod":"^4.4.0","viem":"npm:@aztec/viem@2.38.2","dotenv":"17.4.2","vitest":"4.1.4","@aztec/pxe":"5.0.1","typescript":"5.9.3","@types/node":"25.6.0","@aztec/bb.js":"5.0.1","@aztec/stdlib":"5.0.1","@noble/hashes":"1.8.0","@aztec/wallets":"5.0.1","@aztec/accounts":"5.0.1","@aztec/aztec.js":"5.0.1","@aztec/ethereum":"5.0.1","@aztec/constants":"5.0.1","@aztec/foundation":"5.0.1","@aztec/entrypoints":"5.0.1","@aztec/l1-artifacts":"5.0.1","@aztec/noir-contracts.js":"5.0.1","@aztec/protocol-contracts":"5.0.1","@alejoamiras/aztec-benchmark":"5.0.1-revision.1"},"peerDependencies":{"@aztec/stdlib":"5.0.1","@aztec/aztec.js":"5.0.1","@aztec/protocol-contracts":"5.0.1"},"_npmOperationalInternal":{"tmp":"tmp/aztec-fee-payment_5.0.1-revision.1_1784323805747_0.06938827967023653","host":"s3://npm-registry-packages-npm-production"},"deprecated":"Renamed to @alejoamiras/private-fee-juice (functionally equivalent to aztec-fee-payment@5.0.1-revision.1) — migrate package + import specifiers."}},"time":{"created":"2026-07-02T13:26:05.882Z","modified":"2026-07-18T14:53:50.044Z","0.0.0-canary.gb8d1485":"2026-07-02T13:26:06.300Z","5.0.0-rc.2":"2026-07-02T14:36:50.147Z","0.0.0-canary.g45c0c57":"2026-07-13T23:25:16.575Z","5.0.0":"2026-07-14T00:14:53.637Z","0.0.0-canary.g9a09074":"2026-07-16T18:52:19.480Z","5.0.1":"2026-07-16T19:10:08.578Z","0.0.0-canary.g9ed2cf8":"2026-07-17T20:01:46.869Z","5.0.1-revision.1":"2026-07-17T21:30:06.007Z"},"bugs":{"url":"https://github.com/alejoamiras/ecosystem-tooling/issues"},"author":{"name":"Wonderland"},"license":"MIT","homepage":"https://github.com/alejoamiras/ecosystem-tooling#readme","repository":{"url":"git+https://github.com/alejoamiras/ecosystem-tooling.git","type":"git","directory":"packages/aztec-fee-payment"},"description":"Private Fee Payment Contract (FPC) for Aztec — Noir contract + TypeScript SDK","maintainers":[{"name":"alejoamiras","email":"alejo.amiras@gmail.com"}],"readme":"# Aztec Fee Payment Contracts\n\nA Fee Payment Contract (FPC) for Aztec that enables private transaction fee sponsorship via FeeJuice.\n\n## Overview\n\n| Contract | Description | Auth model |\n|----------|-------------|-----------|\n| **PrivateFPC** | Fully private. Users bridge FeeJuice from L1; the bridge claim converts to internal FJ balance for fee sponsorship. | Cryptographic bridge proof (no owner, no agent) |\n\n## Project Structure\n\n```\n├── src/\n│   ├── artifacts/                   # Generated contract bindings\n│   ├── nr/                          # Noir smart contracts\n│   │   ├── fpc_lib/                 # Shared Noir library (get_max_gas_cost)\n│   │   └── private_contract/        # PrivateFPC\n│   └── ts/                          # TypeScript package\n│       ├── fee-payment-methods/     # Fee payment method classes\n│       ├── utils/                   # Utilities (gas, deploy)\n│       └── test/                    # Integration tests\n├── target/                          # Compiled contract artifacts\n├── benchmarks/                      # Performance benchmarks\n└── docs/                            # Product requirements\n```\n\n## Setup\n\n### Prerequisites\n\n- [Aztec CLI](https://docs.aztec.network/getting_started) — version pinned by the repo root `package.json` `config.aztecVersion`\n- Node.js 22+\n- Yarn 1.22+\n\n### Installation\n\n```bash\nbun install\n```\n\n### Compile Contracts\n\n```bash\n# Full rebuild: compile Noir + generate TS bindings\nbun run ccc\n\n# Or step by step\naztec compile\naztec codegen target --outdir src/artifacts\n```\n\n## Testing\n\nStart the Aztec sandbox:\n\n```bash\naztec start --local-network\n```\n\nRun all tests:\n\n```bash\nbun run test        # Noir unit tests + JS integration tests\nbun run test:nr     # Noir unit tests only\nbun run test:js     # JS integration tests only\n```\n\n## Deployment\n\nPrivateFPC is a **fully private** contract — it has no public functions and no constructor. This means **no on-chain deployment transaction is required**. The contract address is computed deterministically from its class hash and a salt, and users interact with it privately by address.\n\n### Compute the address\n\n**Canonical parameters** live in [`canonical-deployment.json`](canonical-deployment.json) — the fixed project salt and the expected address for the exact Aztec version this package targets. It is machine-asserted in CI (`src/ts/test/canonical.test.ts`), so the file cannot silently drift from the compiled artifact. Current canonical (Aztec 5.0.1): salt `0x…01`, address `0x1a6d21ce5fd80137df0e99632a4ca17e58a42dc8f6c08191a96ca8ae907a1bc0`.\n\nTo recompute yourself (or for a NON-canonical salt of your own):\n\n1. Copy `.env.example` to `.env` and set `PRIVATE_FPC_SALT`:\n   ```bash\n   cp .env.example .env\n   ```\n\n2. Compile the contracts (required on first run):\n   ```bash\n   bun run ccc\n   ```\n\n3. Run the compute script:\n   ```bash\n   bun run compute\n   ```\n\n> **DANGER:** The address is derived from compiled bytecode. A different Aztec version produces different bytecode and a **different address**. Sending funds to the wrong address means **unrecoverable loss**. Before using this address, verify the target network runs the same Aztec version as the one shown in the script output:\n> ```bash\n> curl -s -X POST <NODE_URL> -H 'Content-Type: application/json' \\\n>   -d '{\"jsonrpc\":\"2.0\",\"method\":\"node_getNodeInfo\",\"id\":1,\"params\":[]}' \\\n>   | jq .result.nodeVersion\n> ```\n\n## Usage\n\n```bash\nbun add @alejoamiras/aztec-fee-payment\n```\n\nSee [src/ts/README.md](src/ts/README.md) for detailed SDK documentation.\n\n```typescript\nimport {\n  PrivateFPCContract,\n  FPCFeePaymentMethod,\n  PrivateMintAndPayFeePaymentMethod,\n  registerPrivateContract,\n} from '@alejoamiras/aztec-fee-payment';\n\n// Register the PrivateFPC — no deployment transaction needed (fully private contract)\nconst fpc = await registerPrivateContract(wallet, salt);\n\n// --- L1: deposit to FeeJuicePortal with a claimer-bound secretHash ---\n// secretHash = computeSecretHash(poseidon2([salt, claimerAddress], DOM_SEP))\n// FeeJuicePortal.depositToAztecPublic(_to=fpc.address, _amount, secretHash)\n\n// --- L2: two-step flow ---\n// Step 1: claim FeeJuice on L2 (emits FeeJuice nullifier)\nawait feeJuice.methods.claim(fpc.address, amount, secret, leafIndex).send();\n\n// Step 2: mint internal FJ balance by proving the bridge claim\nawait fpc.methods.mint(amount, salt, leafIndex).send();\n\n// User sponsors a transaction from their internal balance\nawait myContract.methods.doSomething()\n  .send({ fee: { paymentMethod: new FPCFeePaymentMethod(fpc.address) } });\n\n// --- Cold-start: claim + mint + pay fee in one transaction ---\nawait myContract.methods.doSomething()\n  .send({\n    fee: {\n      paymentMethod: new PrivateMintAndPayFeePaymentMethod(\n        fpc.address, amount, secret, salt, leafIndex,\n      ),\n    },\n  });\n```\n\n## Benchmarks\n\n```bash\nbun run benchmark\n```\n\nBenchmarks are defined in `Nargo.toml` under `[benchmark]` and run against a live local network. Each contract has its own benchmark file in `benchmarks/`.\n\n## License\n\nMIT\n","readmeFilename":"README.md"}