initial commit for data consumer

This commit is contained in:
mhchia
2023-12-13 00:46:20 +08:00
parent c96eda8b31
commit ef4f2b8af1
3 changed files with 46 additions and 0 deletions

View File

@@ -0,0 +1,9 @@
{
"name": "zkstats-data-consumer",
"version": "0.0.1",
"main": "index.js",
"license": "MIT",
"dependencies": {
"@ezkljs/engine": "^7.0.0"
}
}

View File

@@ -0,0 +1,9 @@
export async function verifyProof(
proofPath: string,
settingsPath: string,
verificationKeyPath: string,
srsPath: string,
) {
return true;
}

28
data-consumer/yarn.lock Normal file
View File

@@ -0,0 +1,28 @@
# THIS IS AN AUTOGENERATED FILE. DO NOT EDIT THIS FILE DIRECTLY.
# yarn lockfile v1
"@ezkljs/engine@^7.0.0":
version "7.0.0"
resolved "https://registry.yarnpkg.com/@ezkljs/engine/-/engine-7.0.0.tgz#89d04bfd0fb7e9c9b32293832101bcf135ba82fe"
integrity sha512-mn1TFsNCwkpJTfTEX/YjLMCMRBvhwtnN7CGha+zLBqvM4mDelw0HmZHXsUlypnISdxBF5V8WIdb75z0WC/s+1w==
dependencies:
"@types/json-bigint" "^1.0.1"
json-bigint "^1.0.0"
"@types/json-bigint@^1.0.1":
version "1.0.4"
resolved "https://registry.yarnpkg.com/@types/json-bigint/-/json-bigint-1.0.4.tgz#250d29e593375499d8ba6efaab22d094c3199ef3"
integrity sha512-ydHooXLbOmxBbubnA7Eh+RpBzuaIiQjh8WGJYQB50JFGFrdxW7JzVlyEV7fAXw0T2sqJ1ysTneJbiyNLqZRAag==
bignumber.js@^9.0.0:
version "9.1.2"
resolved "https://registry.yarnpkg.com/bignumber.js/-/bignumber.js-9.1.2.tgz#b7c4242259c008903b13707983b5f4bbd31eda0c"
integrity sha512-2/mKyZH9K85bzOEfhXDBFZTGd1CTs+5IHpeFQo9luiBG7hghdC851Pj2WAhb6E3R6b9tZj/XKhbg4fum+Kepug==
json-bigint@^1.0.0:
version "1.0.0"
resolved "https://registry.yarnpkg.com/json-bigint/-/json-bigint-1.0.0.tgz#ae547823ac0cad8398667f8cd9ef4730f5b01ff1"
integrity sha512-SiPv/8VpZuWbvLSMtTDU8hEfrZWg/mH/nV/b4o0CYbSxu1UIQPLdwKOCIyLQX+VIPO5vrLX3i8qtqFyhdPSUSQ==
dependencies:
bignumber.js "^9.0.0"