{"id":15457054,"url":"https://github.com/masaun/private-payroll","last_synced_at":"2026-05-03T04:38:26.245Z","repository":{"id":112437510,"uuid":"274007723","full_name":"masaun/private-payroll","owner":"masaun","description":"This is a smart contract for realizing the private payroll. Utilize Aztec-protocol (UTXO model).","archived":false,"fork":false,"pushed_at":"2020-07-06T14:42:44.000Z","size":1247,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":3,"default_branch":"master","last_synced_at":"2025-02-02T10:43:20.564Z","etag":null,"topics":["aztec","solidity","truffle"],"latest_commit_sha":null,"homepage":"","language":"JavaScript","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/masaun.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":"2020-06-22T00:47:58.000Z","updated_at":"2020-07-06T14:44:59.000Z","dependencies_parsed_at":"2023-04-22T14:17:26.686Z","dependency_job_id":null,"html_url":"https://github.com/masaun/private-payroll","commit_stats":{"total_commits":47,"total_committers":1,"mean_commits":47.0,"dds":0.0,"last_synced_commit":"b291153de90a6c2b2c7c0e3bcc0b175b5135138d"},"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/masaun%2Fprivate-payroll","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/masaun%2Fprivate-payroll/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/masaun%2Fprivate-payroll/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/masaun%2Fprivate-payroll/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/masaun","download_url":"https://codeload.github.com/masaun/private-payroll/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":246009180,"owners_count":20708907,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","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":["aztec","solidity","truffle"],"created_at":"2024-10-01T22:41:48.224Z","updated_at":"2026-05-03T04:38:26.219Z","avatar_url":"https://github.com/masaun.png","language":"JavaScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Private Payroll\n\n***\n## 【Introduction of Private Invoice】\n- This is a smart contract for realizing the private payroll.\n  - Private payroll mean that sending/receiving salaries without revealing the amount in the middle of payments.\n  - Utilize Aztec-protocol (UTXO model) for creating private payroll.\n\n***\n\n## Setup\n### ① Install modules\n```\n$ npm install\n```\n\n\u003cbr\u003e\n\n### ② Run ganache-cli\n（Please make sure whether port number is `8545` or not）\n```\n$ ganache-cli\n```\n\n\u003cbr\u003e\n\n### ③ Compile contracts\n```\n$ npm run compile:local\n```\n\n\u003cbr\u003e\n\n### ④ Test contracts\n```\n$ npm run test:local\n```\n- Testing flow and result:\n  - Bob pay 25DAI for Sally as a payroll.  \n  - Payroll amount is 25DAI.\n  - if Bob pays with his note worth 100 he requires 75 change.  \n\n\u0026nbsp;\n\n\n***\n\n## 【References】\n- [Protect Privacy Hackathon]  \n  - Maker：https://gitcoin.co/issue/makerdao/community/585/4432\n  - Keep：https://gitcoin.co/issue/keep-network/Protect-Privacy-Hackathon/1/4457\n\n\u003cbr\u003e\n\n- [Aztec] \n  - [Sample repos]  \n    - loan-dapp-starter-kit   \n      https://github.com/AztecProtocol/loan-dapp-starter-kit\n    - aztec-ganache-starter-kit  \n      https://github.com/AztecProtocol/aztec-ganache-starter-kit\n \n\n  - [Doc]：aztec.js\n    - UTXO model：https://docs.aztecprotocol.com/#/Introduction/UTXO%20model\n    - API methons list：https://aztecprotocol.github.io/AZTEC/\n    - a brief explanation： https://docs.aztecprotocol.com/#/aztec.js\n\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fmasaun%2Fprivate-payroll","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fmasaun%2Fprivate-payroll","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fmasaun%2Fprivate-payroll/lists"}