Skip to content

Instantly share code, notes, and snippets.

@alinush
alinush / circuit-v1.2.0_attestation.log
Created June 2, 2025 16:45
Attestation for circuit-v1.2.0: add support for AIP-108 and for nested JSON (2025-05-31) MPC Phase 2 Trusted Setup ceremony
Hey, I'm alinush-1724810 and I have contributed to the circuit-v1.2.0: add support for AIP-108 and for nested JSON (2025-05-31) MPC Phase2 Trusted Setup ceremony.
The following are my contribution signatures:
Circuit # 1 (circuit)
Contributor # 1
Contribution Hash: 9d391f66 a8f7ba53 d4223546 0499eb61
ee91a524 85061e7b 3601c9c0 b2bfc29c
57b327c2 378825d7 ac684604 eca96760
59ee5305 ea90a91c b65cece8 2a70699e
@alinush
alinush / circuit-v1.1.3_attestation.log
Created May 19, 2025 17:23
Attestation for circuit-v1.1.3: Enable interoperability for federated keyless accounts for the same issuer (2025-05-16) MPC Phase 2 Trusted Setup ceremony
Hey, I'm alinush-1724810 and I have contributed to the circuit-v1.1.3: Enable interoperability for federated keyless accounts for the same issuer (2025-05-16) MPC Phase2 Trusted Setup ceremony.
The following are my contribution signatures:
Circuit # 1 (circuit)
Contributor # 2
Contribution Hash: c62a1e60 caba246c 7aadec5b eacce99b
b3ffb7fe 60d87627 b69efa6e ca8cef87
4eedf665 4d6ae4ad fb547941 4d6b994b
84cca9d4 79a7faf9 29bf6177 e915515d
@alinush
alinush / test-ceremony-20250217_attestation.log
Created February 18, 2025 19:31
Attestation for test-ceremony-20250217 MPC Phase 2 Trusted Setup ceremony
Hey, I'm alinush-1724810 and I have contributed to the test-ceremony-20250217.
The following are my contribution signatures:
Circuit # 1 (circuit)
Contributor # 3
Contribution Hash: 1688734d 58c58ffd 5e96438c 0c6bcb21
6009215e 25e2278b 833a74ff 86cf75c1
fb21b3b2 906a19fb e8059022 8d8221d1
050a07da 7c61579c 63b00296 fb46dab3
@alinush
alinush / keyless-feb3-iteration_attestation.log
Created February 10, 2025 20:25
Attestation for keyless-feb3-iteration MPC Phase 2 Trusted Setup ceremony
Hey, I'm alinush-1724810 and I have contributed to the keyless-feb3-iteration MPC Phase2 Trusted Setup ceremony.
The following are my contribution signatures:
Circuit # 1 (main)
Contributor # 10
Contribution Hash: d90e27ce f1c5e41e 1588a03d ea481b7c
faeac73f cc4fb7ad 089fe4b8 e6fe068b
667e9b26 3049a161 c89246c2 532f7402
0d9b9693 eb1cc0ad 3abfc59e 7c25a685
@alinush
alinush / aptos-keyless-jan25-iteration_attestation.log
Created January 27, 2025 22:02
Attestation for aptos-keyless-jan25-iteration MPC Phase 2 Trusted Setup ceremony
Hey, I'm alinush-1724810 and I have contributed to the aptos-keyless-jan25-iteration MPC Phase2 Trusted Setup ceremony.
The following are my contribution signatures:
Circuit # 1 (main)
Contributor # 1
Contribution Hash: 2e14163b a2198a49 f429225b 0fed4daa
780f48de 9b70cdba 16a034ad 66e65486
11f14d34 8304b7a3 a27663d4 d7d66389
c54cd379 fd6f27cb 52572c4d 4d16d6a9
@alinush
alinush / gist:fd64eb4c7f741828c04a996938644874
Created September 17, 2024 17:03
Hoping to reveal some research soon
1d8bac55e7ec40f28cc1ec694f94dcb7d5f083a844b3b8b2f7b878a22f24a293
@alinush
alinush / aptos-keyless-ceremony-may2024_attestation.log
Created May 2, 2024 00:14
Attestation for aptos-keyless-ceremony-may2024 MPC Phase 2 Trusted Setup ceremony
Hey, I'm alinush-1724810 and I have contributed to the aptos-keyless-ceremony-may2024.
The following are my contribution signatures:
Circuit # 1 (main_39f9c44b4342ed5e6941fae36cf6c87c52b1e17f)
Contributor # 12
Contribution Hash: 8bda3a66 1e4978bf 89396a3a 0913408b
d45146e5 09aae40c 8e415476 f578ac0a
1e789d01 72b66dd4 2bb1d181 9da32f8b
449ae513 36cd8248 fde5b489 8f92db93
@alinush
alinush / aptos-oidb-zk-ceremony_attestation.log
Created February 22, 2024 17:34
Attestation for aptos-oidb-zk-ceremony MPC Phase 2 Trusted Setup ceremony
Hey, I'm alinush-1724810 and I have contributed to the aptos-oidb-zk-ceremony.
The following are my contribution signatures:
Circuit # 1 (main)
Contributor # 1
Contribution Hash: 65c3e44a e8ae9dcd 2406d1b4 7413e09c
72a6587b 5dbc6e00 ac607c84 cefbc4c1
a9dd4d2c 39d78381 ea2a8cf2 8d3f4e91
c32c2e8b eaf17465 b9bc8045 a529ecf1
pub struct RistrettoPoint(u128);
/// Returns mutable references to two Ristretto points in the vector using split_at_mut. Otherwise,
/// the Rust compiler would complain.
fn get_two_muts(v: &mut Vec<RistrettoPoint>, a: usize, b: usize) -> (&mut RistrettoPoint, &mut RistrettoPoint) {
use std::cmp::Ordering;
let (sw, a, b) = match Ord::cmp(&a, &b) {
Ordering::Less => (false, a, b),
Ordering::Greater => (true, b, a),
#[derive(Parser, Debug)]
#[clap(author, version, about, long_about = None)]
struct Args {
/// Can be either: merkle_sha3, merkle_blake2s, merkle_blake2b, merkle++, merkle++naive, or verkle
#[clap(short, long)]
_type: String, // TODO: list options
/// Tree arity
#[clap(short, long, default_value = "2")]
arity: usize,