diff --git a/.gitignore b/.gitignore new file mode 100644 index 0000000..378eac2 --- /dev/null +++ b/.gitignore @@ -0,0 +1 @@ +build diff --git a/README.md b/README.md new file mode 100644 index 0000000..3a6f1f8 --- /dev/null +++ b/README.md @@ -0,0 +1,12 @@ +# 0g + +Zero-knowledge weightless machine learning + +## Setup + +Clone and install the [custom aleo compiler](git@github.com:zkp-gravity/aleo-setup.git) supporting lookup arguments + +## Usage +``` +aleo run +``` diff --git a/main.aleo b/main.aleo new file mode 100644 index 0000000..07d3fdb --- /dev/null +++ b/main.aleo @@ -0,0 +1,15 @@ +program main.aleo; + +table triple: + input field; + input field; + input field; + entry 1field 1field 1field; + entry 1field 2field 3field; + +function main: + input r0 as field.private; + input r1 as field.private; + input r2 as field.private; + lookup triple r0 r1 r2; + diff --git a/program.json b/program.json new file mode 100644 index 0000000..fdc9ac9 --- /dev/null +++ b/program.json @@ -0,0 +1,10 @@ +{ + "program": "main.aleo", + "version": "0.0.0", + "description": "", + "development": { + "private_key": "APrivateKey1zkpB3DxLAYtTP2NZ3dZiebXaAJtt7ZSQQ6LMEhVyKy2ynVH", + "address": "aleo1gy9h3a9sywc7p23acd5jjt9suuh663q0fv8uegpgr36je20xf5rsggnarq" + }, + "license": "MIT" +}