{"id":20464071,"url":"https://github.com/fullstack-development/zk-mixuper-admin","last_synced_at":"2026-06-10T14:31:10.156Z","repository":{"id":177997623,"uuid":"646699495","full_name":"fullstack-development/zk-mixuper-admin","owner":"fullstack-development","description":null,"archived":false,"fork":false,"pushed_at":"2023-09-05T07:35:30.000Z","size":100,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":3,"default_branch":"master","last_synced_at":"2025-03-05T12:18:43.777Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"language":"Python","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"apache-2.0","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/fullstack-development.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2023-05-29T06:23:03.000Z","updated_at":"2023-07-02T06:08:54.000Z","dependencies_parsed_at":null,"dependency_job_id":"11a19a36-2835-4269-bea7-6d35a970e8ae","html_url":"https://github.com/fullstack-development/zk-mixuper-admin","commit_stats":null,"previous_names":["fullstack-development/zk-mixuper-admin"],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/fullstack-development/zk-mixuper-admin","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/fullstack-development%2Fzk-mixuper-admin","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/fullstack-development%2Fzk-mixuper-admin/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/fullstack-development%2Fzk-mixuper-admin/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/fullstack-development%2Fzk-mixuper-admin/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/fullstack-development","download_url":"https://codeload.github.com/fullstack-development/zk-mixuper-admin/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/fullstack-development%2Fzk-mixuper-admin/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":34157453,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-05-26T15:22:16.424Z","status":"online","status_checked_at":"2026-06-10T02:00:07.152Z","response_time":89,"last_error":null,"robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":true,"can_crawl_api":true,"host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":[],"created_at":"2024-11-15T13:13:56.560Z","updated_at":"2026-06-10T14:31:08.605Z","avatar_url":"https://github.com/fullstack-development.png","language":"Python","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Admin tools for zk-mixuper\n\n## Local development with IDE\n\n### First time setup\n\n1. Pin python version to Python 3.11.2:\nIf you don't have pyenv install it with this [guide](https://realpython.com/intro-to-pyenv/#installing-pyenv).\nThen run:\n\n```sh\npyenv install -v 3.11.2\npyenv local 3.11.2\n```\n\n2. Create virtual environment:\n\n```sh\npython -m venv ./venv\n```\n\n3. Activate virtual environment:\n\n```sh\nsource venv/bin/activate\n```\n\n4. Install the project dependencies:\n\n```sh\npip install -r requirements.txt\n```\n\n### Activation (after you've done first time setup only activation is necessary)\n\nDo only 3. step from setup.\n\n### Deactivation\n\n```sh\ndeactivate\n```\n\n### Prepare environment\n\nCopy template:\n\n```sh\ncp template.env .env\n```\n\nAnd modify variables there\n\n## Pycardano off-chain mixer\n\nThere are two main entry points to main functionality of this lib:\n\n1. A [class](mixer/start.py) for starting new mixer.\n2. A [class](mixer/user.py) for using already created mixer.\n\nOther functionality includes a [helper](mixer/nft_minter.py) to mint NFTs; and also a [owner script](mixer/owner_script.py) implementation. `OwnerScript` exists just to query owner wallet for a UTxO to reference during mixer NFT (protocol token) mint.\n\n## Mixer script compilation \u0026 other preparations\n\nFirst mixer owner should create an mixer, so he needs to generate a pair of keys for his wallet.\nAlso he needs to compile mixer script, therefore he first needs to prepare script parameters. It is done with this runner:\n\n```sh\npython print_mixer_start_params.py\n```\n\nIt will generate and print important parameters which should be saved for later use. First, they are used as a mixer script parameter `MixerConfig`.\n\nAfter that owner needs to copy printed parameters and consult on-chain deposit [readme](https://github.com/fullstack-development/zk-mixuper-deposit/tree/master#usage) and withdraw [readme](https://github.com/fullstack-development/zk-mixuper-on-chain/tree/master#usage).\n\nPrinted parameters are supplied to minting policy. Then, to know minting policy id run:\n\n```sh\npython print_minting_policy_hash.py\n```\n\nThis will provided another parameter for on-chain scripts, to compile them.\n\n## Mixer related transactions\n\n### Starting mixer\n\nOwner wallet needs to run:\n\n```sh\npython run_mint.py\npython run_start.py\npython run_deploy_deposit.py\npython run_deploy_withdraw.py\npython update_configuration.py\n```\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Ffullstack-development%2Fzk-mixuper-admin","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Ffullstack-development%2Fzk-mixuper-admin","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Ffullstack-development%2Fzk-mixuper-admin/lists"}