Skip to content

Instantly share code, notes, and snippets.

I contributed to the Semaphore Trusted Setup Multi-Party Ceremony.
The following are my contribution signatures:
Circuit: semaphore31
Contributor # 10
Hash: 88e7d6e8 68d98ab7 991c6b9d ecd16bb5
9f152b85 f5eaaf06 16c477ab c0ca6c0a
b6af065e 8796e641 927f1d31 e2d3d25b
c34d040e 4c103cc9 15f93076 0ff950ae
I contributed to the Semaphore Trusted Setup Multi-Party Ceremony.
The following are my contribution signatures:
Circuit: semaphore31
Contributor # 10
Hash: 88e7d6e8 68d98ab7 991c6b9d ecd16bb5
9f152b85 f5eaaf06 16c477ab c0ca6c0a
b6af065e 8796e641 927f1d31 e2d3d25b
c34d040e 4c103cc9 15f93076 0ff950ae
I contributed to the Semaphore Trusted Setup Multi-Party Ceremony.
The following are my contribution signatures:
Circuit: semaphore31
Contributor # 10
Hash: 88e7d6e8 68d98ab7 991c6b9d ecd16bb5
9f152b85 f5eaaf06 16c477ab c0ca6c0a
b6af065e 8796e641 927f1d31 e2d3d25b
c34d040e 4c103cc9 15f93076 0ff950ae
I contributed to the Semaphore Trusted Setup Multi-Party Ceremony.
The following are my contribution signatures:
Circuit: semaphore31
Contributor # 10
Hash: 88e7d6e8 68d98ab7 991c6b9d ecd16bb5
9f152b85 f5eaaf06 16c477ab c0ca6c0a
b6af065e 8796e641 927f1d31 e2d3d25b
c34d040e 4c103cc9 15f93076 0ff950ae
I contributed to the Semaphore Trusted Setup Multi-Party Ceremony.
The following are my contribution signatures:
Circuit: semaphore16
Contributor # 10
Hash: f4142895 01a0f1ad 25fae2fc 70f009fb
b87f6d8a 127fd564 f054914a 96c22029
5269636d 52b8cc10 521636aa 277f6dff
bef15c8d e3500e6a b2c50b04 e0bfbe64
{
"netId1": {
"rpcCallRetryAttempt": 15,
"gasPrices": {
"instant": 80,
"fast": 50,
"standard": 25,
"low": 8
},
"nativeCurrency": "eth",
@TheFrozenFire
TheFrozenFire / calldata.json
Last active December 21, 2021 22:21
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.6.12+commit.27d51765.js&optimize=false&runs=200&gist=
["0x15825752204352339070773660561747744995368910166642058733447226553576048127620", "0x4104073791256506431339753363656965180476192406012222430072084853152771163259"],[["0x21758194330135378390286863182353012230019765724948538517270853787447154453578", "0x6589571048392691992622687789625744184701877001877815910946598678294191240038"],["0x8099406352661216300844452568837983225780892635497226701932517913844126351983", "0x13595637471498738026581934883195242444947549867736100368238369840892205648453"]],["0x15500068298729142697789248320911849575676594421665209012717427742635899083716", "0x19121931617960734456193555334840090322868904994996777191719354922390069145480"],["0x26474397424444624264459129239518201235937769586102783315330882518088509671","0x0000000000000000000000000000000000000000000000000000000000000000","0x0000000000000000000000000000000000000000000000000000000000000000","0x0000000000000000000000000000000000000000000000000000000000000000","0x0000000000000000000000000000000000000000000000000000000000000000","
@TheFrozenFire
TheFrozenFire / contracts...jwt_proof.auth0.sol
Created December 15, 2021 21:40
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.6.12+commit.27d51765.js&optimize=false&runs=200&gist=
//
// Copyright 2017 Christian Reitwiessner
// Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the Software, and to permit persons to whom the Software is furnished to do so, subject to the following conditions:
// The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software.
// THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTW
const temp = require("temp"); // https://github.com/bruce/node-temp
const fs = require("fs");
const circom_wasm = require("circom_tester").wasm;
async function test() {
temp.track();
const temp_circuit = await temp.open('test');
fs.writeSync(temp_circuit.fd, `
function parse_str(str, array) {
// eslint-disable-line camelcase
// discuss at: http://locutus.io/php/parse_str/
// original by: Cagri Ekin
// improved by: Michael White (http://getsprink.com)
// improved by: Jack
// improved by: Brett Zamir (http://brett-zamir.me)
// bugfixed by: Onno Marsman (https://twitter.com/onnomarsman)
// bugfixed by: Brett Zamir (http://brett-zamir.me)
// bugfixed by: stag019