This part is a very simple service that provides an upload/download API interface and saves the zkp proof and encrypted data created by the user offline on the server
Clone this repo. install Golang 1.14+. and build the source code
git clone github.com/zkp-application/data-market.git && \
cd data-market/server && \
go build && \
./server config.json
Name | type | Describe |
---|---|---|
proof_file_zip | bin | proof zip file binary. which contain zkp proof and encrypted data |
part_file | bin | reveal part data |
application/json { "hash": "0b08d19e68994a1bfa459210e0dfed4eb851b28a1ac4052e2ae930cd607fc1d9" }
Name | type | Describe |
---|---|---|
file_hash | string | the file hash |
file_type | string | download file type. part_file/proof_file_zip |
payload file binary