Skip to content

Commit

Permalink
Initial commit
Browse files Browse the repository at this point in the history
  • Loading branch information
vicsn committed Mar 31, 2023
0 parents commit fb49555
Show file tree
Hide file tree
Showing 4 changed files with 38 additions and 0 deletions.
1 change: 1 addition & 0 deletions .gitignore
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
build
12 changes: 12 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,12 @@
# 0g

Zero-knowledge weightless machine learning

## Setup

Clone and install the [custom aleo compiler]([email protected]:zkp-gravity/aleo-setup.git) supporting lookup arguments

## Usage
```
aleo run
```
15 changes: 15 additions & 0 deletions main.aleo
Original file line number Diff line number Diff line change
@@ -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;

10 changes: 10 additions & 0 deletions program.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,10 @@
{
"program": "main.aleo",
"version": "0.0.0",
"description": "",
"development": {
"private_key": "APrivateKey1zkpB3DxLAYtTP2NZ3dZiebXaAJtt7ZSQQ6LMEhVyKy2ynVH",
"address": "aleo1gy9h3a9sywc7p23acd5jjt9suuh663q0fv8uegpgr36je20xf5rsggnarq"
},
"license": "MIT"
}

0 comments on commit fb49555

Please sign in to comment.