Skip to content

Feat/private transfer#204

Draft
Huygon764 wants to merge 15 commits intodevelopfrom
feat/private-transfer
Draft

Feat/private transfer#204
Huygon764 wants to merge 15 commits intodevelopfrom
feat/private-transfer

Conversation

@Huygon764
Copy link
Contributor

@Huygon764 Huygon764 commented Mar 10, 2026

Types of change

  • Feature
  • Bug
  • Enhancement

Comments (optional)

  • Just explore "Private transfer"
  • 10/3 it still have error from "testnet zkverify", so can't test it. Pending for now
  • 11/3 got error "invalid proof", need invest this

Huygon764 and others added 14 commits March 5, 2026 17:04
refactor: streamline CSV generation
* feat: support multi-chain deployment with Horizen and Base in documentation updates

* docs: clarify destination chain definition and update flow diagrams for Horizen and Base integration
* feat: enhance build process and fix ESM imports

- Updated build script to include a new script for fixing ESM imports.
- Added `fix-esm-imports.cjs` script to automatically append `.js` to import paths in the `dist` directory.
- Refactored import statements across various files to use index files for better organization.

* Introduced an ADR for migrating the  package from CommonJS to ESM.
- Enhanced readability by reformatting import statements and function parameters in `mixer.controller.ts`, `mixer.indexer.ts`, and `mixer.service.ts`.
- Added new components for the Mixer UI: `DepositTab`, `WithdrawTab`, `MixerContainer`, and `PoolStats`.
- Implemented hooks for managing deposits and withdrawals in `useMixerDeposit` and `useMixerWithdraw`.
- Updated DTOs in the shared package to improve type validation.
- Introduced new API methods in `mixerApi` for handling deposits and withdrawals.
- Added state management for cached commitments in `WithdrawTab` to optimize withdrawal processes.
- Updated `getWithdrawableSlots` in `useMixerWithdraw` to return commitments alongside slots, reducing redundant API calls.
- Refactored `useMixerKeys` to utilize refs for base secret management, improving performance during concurrent calls.
- Adjusted `useMixerWithdraw` to accept commitments as parameters, streamlining the withdrawal flow.
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.

2 participants