barretenberg icon indicating copy to clipboard operation
barretenberg copied to clipboard

Remove Pino and Buffer dependencies from bb.js to simplify bundling

Open johnathan79717 opened this issue 3 weeks ago • 1 comments

Problem

bb.js currently depends on Pino and Buffer, which are Node.js-only dependencies. This complicates bundling for browser and other non-Node.js environments.

Tasks

  • [ ] Remove Pino dependency from bb.js
  • [ ] Remove Buffer dependency from bb.js
  • [ ] Find and integrate a new msgpack library for JavaScript that doesn't require Buffer (current library depends on it)
  • [ ] Verify bb.js works correctly after the changes
  • [ ] Test bundling in various environments (browser, Node.js, etc.)

Expected Outcome

bb.js should be easier to bundle and use across different JavaScript environments without Node.js-specific dependencies.

johnathan79717 avatar Nov 25 '25 10:11 johnathan79717

This issue was automatically closed because it was referenced in AztecProtocol/aztec-packages PR #18582 which has been merged to the default branch.

View workflow run

AztecBot avatar Nov 26 '25 21:11 AztecBot