https://github.com/fullstack-development/zk-mixuper-deposit
https://github.com/fullstack-development/zk-mixuper-deposit
Last synced: 8 months ago
JSON representation
- Host: GitHub
- URL: https://github.com/fullstack-development/zk-mixuper-deposit
- Owner: fullstack-development
- License: apache-2.0
- Created: 2023-06-10T05:39:08.000Z (about 3 years ago)
- Default Branch: master
- Last Pushed: 2023-09-05T07:33:32.000Z (almost 3 years ago)
- Last Synced: 2025-03-05T12:18:44.851Z (over 1 year ago)
- Language: Haskell
- Size: 119 KB
- Stars: 0
- Watchers: 3
- Forks: 1
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- Contributing: CONTRIBUTING.md
- License: LICENSE
Awesome Lists containing this project
README
# zk-mixuper-deposit
This project is inspired/based on previous open source work: [tornado](https://github.com/tornadocash/tornado-core), [hydra-merkle-tree](https://github.com/input-output-hk/hydra/tree/master/plutus-merkle-tree).
## Development shell
You can use cabal, haskell-language-server and other dev tools inside.
```sh
nix develop
```
## Usage
Example in nix dev shell:
```sh
cabal run dump-policy -- --help
cabal run dump-policy -- -h 8f1efed2e61abd2ece188f7f98fcf0a89ccb5df1bcc7d1f6acb0f01bd2676070 -x 1
```
```sh
cabal run dump-script -- --help
cabal run dump-script -- -s cd4ecd8b80466c7325e9d2f76fce6eb8a236667734eb1646bcfdcb51 -h 7
```
## On-chain limitations
1. Due to transaction size limits max height of merkle tree would be 8.
2. Due to memory execution units limit max height of merkle tree is 4.