Skip to content

Instantly share code, notes, and snippets.

View wanseob's full-sized avatar
🦉

Wanseob Lim wanseob

🦉
View GitHub Profile
@wanseob
wanseob / attestation.txt
Created March 26, 2021 05:58
ZKOPRU trusted setup attestation
I contributed to the ZKOPRU Trusted Setup Multi-Party Ceremony.
The following are my contribution signatures:
Circuit: zk_transaction_1_2
Contributor # 3
Hash: d041c400 e27728ef c2ee7346 a61b0dae
e4329d02 a106a350 33d20751 8396c143
48b30bd8 4d91f6f9 20a243b7 c629cb0a
2995e63d e1a675f5 7133c09b e20686f5
@wanseob
wanseob / attestation.txt
Created March 26, 2021 00:48
ZKOPRU trusted setup attestation
I contributed to the ZKOPRU Trusted Setup Multi-Party Ceremony.
The following are my contribution signatures:
Circuit: zk_transaction_1_1
Contributor # 88
Hash: 1a51aace 05d1cfb0 67ed1261 c8937ac0
7ab2d2c9 c31074e1 ee169357 bcd54fec
3a32b760 b5472c3b 3b26381f 101d39c7
273b2c8f d875535b 142232ca bbb9bea2
@wanseob
wanseob / attestation.txt
Created March 24, 2021 10:45
ZKOPRU trusted setup attestation
I contributed to the ZKOPRU Trusted Setup Multi-Party Ceremony.
The following are my contribution signatures:
Circuit: zk_transaction_1_1
Contributor # 88
Hash: 1a51aace 05d1cfb0 67ed1261 c8937ac0
7ab2d2c9 c31074e1 ee169357 bcd54fec
3a32b760 b5472c3b 3b26381f 101d39c7
273b2c8f d875535b 142232ca bbb9bea2
@wanseob
wanseob / attestation.txt
Created March 24, 2021 05:01
ZKOPRU trusted setup attestation
I contributed to the ZKOPRU Trusted Setup Multi-Party Ceremony.
The following are my contribution signatures:
Circuit: zk_transaction_1_1
Contributor # 88
Hash: 1a51aace 05d1cfb0 67ed1261 c8937ac0
7ab2d2c9 c31074e1 ee169357 bcd54fec
3a32b760 b5472c3b 3b26381f 101d39c7
273b2c8f d875535b 142232ca bbb9bea2
@wanseob
wanseob / attestation.txt
Created March 24, 2021 01:31
zkparty phase2 tusted setup MPC contribution summary
{
"ceremony": "zk_transaction_1_2",
"ceremonyId": "nGca74enStoBokEDLtJz",
"time": "2021-03-24T01:31:35.518Z",
"contributionNumber": 62,
"hash": "76dffc53 a1446eec 8f1b2461 ea890303\n b328d2bf e5f5b220 0af978d7 b3f527c2\n e702744c c930b23d d0f6c4a3 3d605fea\n 1351cca9 d832a81f e8f05345 3e5abfbb\n"
}
@wanseob
wanseob / attestation.txt
Created March 24, 2021 01:30
zkparty phase2 tusted setup MPC contribution summary
{
"ceremony": "zk_transaction_1_1",
"ceremonyId": "9HTUnepINy115FBtTdVc",
"time": "2021-03-24T01:30:57.637Z",
"contributionNumber": 88,
"hash": "1a51aace 05d1cfb0 67ed1261 c8937ac0\n 7ab2d2c9 c31074e1 ee169357 bcd54fec\n 3a32b760 b5472c3b 3b26381f 101d39c7\n 273b2c8f d875535b 142232ca bbb9bea2\n"
}
@wanseob
wanseob / circuit.circom
Last active April 29, 2020 07:56
ZkTransaction minimum circuit
template ZkTransaction(tree_depth, n_i, n_o) {
/** Private Signals */
// Spending notes
signal private input spending_note[7][n_i];
signal private input signatures[3][n_i];
signal private input note_index[n_i];
signal private input siblings[tree_depth][n_i];
// New notes
signal private input new_note[7][n_o];
include "circomlib/circuits/if_else_then.circom";
template PointComp() {
component if_else_then = IfElseThen(2); /// compare 2 values
signal input point1[2];
signal input point2[2];
signal output out;
/// return (point1 == point2 ? 1 : 0;)
if_else_then.obj1[0] <== point1[0];
include "circomlib/circuits/mux1.circom";
include "circomlib/circuits/comparators.circom";
template IfElseThen(n) {
signal input obj1[n];
signal input obj2[n];
signal input if_v;
signal input else_v;
signal output out;
component comparators[n];

Keybase proof

I hereby claim:

  • I am wanseob on github.
  • I am wanseob (https://keybase.io/wanseob) on keybase.
  • I have a public key ASBoeFAunT-ao_2eCezLkF3R5QxTioRa4gyjX_wy6Df8uQo

To claim this, I am signing this object: