An open API service indexing awesome lists of open source software.

https://github.com/masaun/private-payroll

This is a smart contract for realizing the private payroll. Utilize Aztec-protocol (UTXO model).
https://github.com/masaun/private-payroll

aztec solidity truffle

Last synced: 2 months ago
JSON representation

This is a smart contract for realizing the private payroll. Utilize Aztec-protocol (UTXO model).

Awesome Lists containing this project

README

          

# Private Payroll

***
## 【Introduction of Private Invoice】
- This is a smart contract for realizing the private payroll.
- Private payroll mean that sending/receiving salaries without revealing the amount in the middle of payments.
- Utilize Aztec-protocol (UTXO model) for creating private payroll.

***

## Setup
### ① Install modules
```
$ npm install
```


### ② Run ganache-cli
(Please make sure whether port number is `8545` or not)
```
$ ganache-cli
```


### ③ Compile contracts
```
$ npm run compile:local
```


### ④ Test contracts
```
$ npm run test:local
```
- Testing flow and result:
- Bob pay 25DAI for Sally as a payroll.
- Payroll amount is 25DAI.
- if Bob pays with his note worth 100 he requires 75 change.

 

***

## 【References】
- [Protect Privacy Hackathon]
- Maker:https://gitcoin.co/issue/makerdao/community/585/4432
- Keep:https://gitcoin.co/issue/keep-network/Protect-Privacy-Hackathon/1/4457


- [Aztec]
- [Sample repos]
- loan-dapp-starter-kit
https://github.com/AztecProtocol/loan-dapp-starter-kit
- aztec-ganache-starter-kit
https://github.com/AztecProtocol/aztec-ganache-starter-kit

- [Doc]:aztec.js
- UTXO model:https://docs.aztecprotocol.com/#/Introduction/UTXO%20model
- API methons list:https://aztecprotocol.github.io/AZTEC/
- a brief explanation: https://docs.aztecprotocol.com/#/aztec.js