Skip to content

Instantly share code, notes, and snippets.

@kobigurk
kobigurk / attestation.txt
Created March 26, 2021 05:00
zkparty phase2 tusted setup MPC contribution summary
{
"ceremony": "zk_transaction_1_3",
"ceremonyId": "k9CJHwJoeSRMGtjHUiF6",
"time": "2021-03-26T05:00:36.629Z",
"contributionNumber": 4,
"hash": "4770ff29 38a77b27 03667284 203275f6\n c138c81b 76cf0f83 2660f68a c0aad995\n 214ef70e f44e9bda ce3eecb1 ee233791\n c6672dc3 b8e94357 7f6f9476 6a597143\n"
}
@kobigurk
kobigurk / attestation.txt
Created March 26, 2021 04:59
zkparty phase2 tusted setup MPC contribution summary
{
"ceremony": "zk_transaction_1_2",
"ceremonyId": "3lHsQDxM4lQKxkwA0Oyj",
"time": "2021-03-26T04:59:33.507Z",
"contributionNumber": 4,
"hash": "aca31c0b 59bfa427 f826ef2b fc062b76\n 574a5a35 65d6db70 1c8d9e76 3988117d\n 1bc84643 39b545f4 85540266 49bfbb4d\n 30d41a1b 36cd0946 45c0b540 4ebd898f\n"
}
@kobigurk
kobigurk / attestation.txt
Created March 26, 2021 04:57
zkparty phase2 tusted setup MPC contribution summary
{
"ceremony": "zk_transaction_1_1",
"ceremonyId": "hIfLWePJPn6ldES7OZjB",
"time": "2021-03-26T04:57:06.258Z",
"contributionNumber": 4,
"hash": "f8ad52ef 3f56f2e0 9dd4923f e692005d\n 9618057b a91596dd 68d73b56 952b530a\n fbcc93e2 5f19a7ed 9f15a354 74bb8d2c\n 7e021609 46421be2 e5dd1ae2 bda2a30d\n"
}
@kobigurk
kobigurk / contribution.txt
Created January 22, 2021 11:20
zkparty phase2 tusted setup MPC contribution summary
{
"ceremony": "ZKOPRU zk_transaction_4_4",
"ceremonyId": "MugUs6H0PYYm3G9EkhkO",
"time": "2021-01-22T11:20:22.013Z",
"contributionNumber": 12,
"hash": "0x80ee80abc3afdc6a448cac501372270c844ee073f7f1df008a83af1f0cd589f30254b283305767bce407afb72f0f9105d14b3f60523dd8fd4a59e6ce09232fd5"
}
@kobigurk
kobigurk / contribution.txt
Created January 22, 2021 11:16
zkparty phase2 tusted setup MPC contribution summary
{
"ceremony": "zk_transaction_1_4",
"ceremonyId": "Mu0NVfvA76s2hc5usdLT",
"time": "2021-01-22T11:16:50.787Z",
"contributionNumber": 11,
"hash": "0x0a573482049b2304a1ecde439bcb5e7189255445e8dc2ee6c11c52db2ea486b8efd3f8ffbde8c22abf6287f92074e13b0b1e4fb34289627596b19a8b46c742c9"
}
@kobigurk
kobigurk / contribution.txt
Created January 22, 2021 11:15
zkparty phase2 tusted setup MPC contribution summary
{
"ceremony": "zk_transaction_1_2",
"ceremonyId": "nGca74enStoBokEDLtJz",
"time": "2021-01-22T11:15:24.437Z",
"contributionNumber": 11,
"hash": "0xab7f03361c7e5d840a4a1c75d1b7e3c29ee08aa90bd4e5774648a6e02dedd1bb124c6ae03259f907a212270c79ed675697e011e771f6794e4d1d0cef8a15fa41"
}
@kobigurk
kobigurk / contribution.txt
Created January 22, 2021 11:13
zkparty phase2 tusted setup MPC contribution summary
{
"ceremony": "zk_transaction_1_3",
"ceremonyId": "Ub0RJMsiVsk49FyTSeaj",
"time": "2021-01-22T11:13:43.280Z",
"contributionNumber": 11,
"hash": "0xa961506ff2d27f9ea020e6ec41bf6e1709f35ede153220b1062bca24451469d9eeeaa8821d156eab51fc87f39952ac33921e86db3f0a519340ddbac0179a81f2"
}
@kobigurk
kobigurk / contribution.txt
Created January 22, 2021 11:12
zkparty phase2 tusted setup MPC contribution summary
{
"ceremony": "ZKOPRU transaction circuit 1/2",
"ceremonyId": "Qiu6eLsJDyMokvJ7sGzH",
"time": "2021-01-22T11:12:03.292Z",
"contributionNumber": 47,
"hash": "0x68c0cf0df975b3cb0f35c43dad790d0ccfde2821a4487fb16b534a410483d22106c4064995433cff0dd0d00ddbf8e7ce87b0081fe58e377fc604babb32f98669"
}
@kobigurk
kobigurk / add_peers.py
Last active January 15, 2021 14:50
add_peers
import sys
import subprocess
import re
import time
peers_file = 'peers.txt'
def extract_ip(peer):
return peer.split('/')[1]
@kobigurk
kobigurk / BLS_with_help.sol
Created August 25, 2020 15:51
Created using remix-ide: Realtime Ethereum Contract Compiler and Runtime. Load this file by pasting this gists URL or ID at https://remix.ethereum.org/#version=soljson-v0.5.17+commit.d19bba13.js&optimize=false&gist=
pragma solidity ^0.5.15;
contract BLS {
// Field order
uint256 constant N = 21888242871839275222246405745257275088696311157297823662689037894645226208583;
// Negated genarator of G2
uint256 constant nG2x1 = 11559732032986387107991004021392285783925812861821192530917403151452391805634;
uint256 constant nG2x0 = 10857046999023057135944570762232829481370756359578518086990519993285655852781;
uint256 constant nG2y1 = 17805874995975841540914202342111839520379459829704422454583296818431106115052;