mirror of
https://github.com/chancehudson/circom-stark.git
synced 2026-01-09 22:08:00 -05:00
20 lines
222 B
Plaintext
20 lines
222 B
Plaintext
pragma circom 2.0.0;
|
|
|
|
template Example() {
|
|
signal input a;
|
|
// signal input b;
|
|
|
|
signal output c;
|
|
signal output d;
|
|
|
|
c <== 2+a;
|
|
|
|
d <== 9*a;
|
|
|
|
signal f <== c * d;
|
|
|
|
}
|
|
|
|
component main { public [ a ] } = Example();
|
|
|