Skip to content

Instantly share code, notes, and snippets.

@benjaminion
benjaminion / privacy-pools-ceremony_attestation.log
Created February 21, 2025 16:35
Attestation for Privacy Pools Ceremony MPC Phase 2 Trusted Setup ceremony
Hey, I'm benjaminion-20796281 and I have contributed to the Privacy Pools Ceremony.
The following are my contribution signatures:
Circuit # 1 (withdraw)
Contributor # 77
Contribution Hash: 2fa65edf 49edb4fc 0cce8db4 9b85046f
ed2ca58e 92daa98c c684eee1 e2f67102
ec670fb6 511399f6 58682c90 532e1b93
641339f4 8614ac77 34c1e766 fb27f161
I contributed to the Semaphore Trusted Setup Multi-Party Ceremony.
The following are my contribution signatures:
Circuit: semaphore16
Contributor # 188
Hash: debc6a81 aeb94af2 48a9d261 28e0f328
e30989a9 bf871055 e2bc0652 5cfd514d
95e7e788 f283c75b 106a2b6a 40f3c505
1e050a8f 482ca402 efd0be26 43377827
@benjaminion
benjaminion / Command line
Last active January 18, 2022 11:00
Running the Eth2 spec
> git clone https://github.com/ethereum/consensus-specs.git
> python3 -m venv consensus-specs/
> cd consensus-specs/
> source bin/activate
> python --version
Python 3.8.10
> python setup.py install
... tons of output ...
> make install_test
... some failures, then it installs cytoolz and sorts itself out ...
@benjaminion
benjaminion / attestation.txt
Created September 3, 2021 11:23
Attestation
I contributed to the clr.fund Trusted Setup Multi-Party Ceremony.
The following are my contribution signatures:
Circuit: qvt32
Contributor # 95
Hash: 8826e68d 0a4450f0 3a54ae9f 58aeaa96
ad0a5ac1 792b4987 b98a6228 c66b362e
5c43bbfb 4425b5e1 15db9e9a 005149be
3825914b 75c98563 2dbc4ddc db1d8142
@benjaminion
benjaminion / convert.sh
Last active December 23, 2021 15:15
Convert Eth2 EIP-2335 scrypt keystores to pbkdf2 keystores
## Converts Eth2 EIP-2335 scrypt keystores to pbkdf2 keystores
#
# Requires ethdo (https://github.com/wealdtech/ethdo) and jq.
#
# Tested with ethdo v1.7.3 and Teku v0.12.5+508-g03d75b2
#
# Notes:
# - I'd definitely do this off-line and air-gapped.
# - The files in INPUT_DIR and PASS_DIR are not modified.
# - Take care of directory and file permissions. This script assumes it can
@benjaminion
benjaminion / keybase.md
Created June 8, 2020 09:31
Keybase verification

Keybase proof

I hereby claim:

  • I am benjaminion on github.
  • I am benjaminion (https://keybase.io/benjaminion) on keybase.
  • I have a public key whose fingerprint is 5F25 DF2F 7142 C65A 5C22 0019 7D1C 85FD 1A98 3DD4

To claim this, I am signing this object:

@benjaminion
benjaminion / besu_command.txt
Last active May 9, 2020 19:10
Besu sync error on Goerli
bin/besu --network=goerli --rpc-http-enabled=true --rpc-http-port=8545 --p2p-port=30304 --rpc-http-api=ETH,NET,WEB3 --data-path=/data/besu_goerli/data --pruning-enabled --p2p-host=X.X.X.X
@benjaminion
benjaminion / BLSTestSuite.java
Created July 10, 2019 15:26
Ingesting the Eth2 reference tests
/*
* Copyright 2019 ConsenSys AG.
*
* Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with
* the License. You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software distributed under the License is distributed on
* an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the License for the
did:muport:QmQjwBnKvrymWsS7WF2D1AHgubYXnSLCVyzJLkGQ9ByjSd
@benjaminion
benjaminion / OptionalLong.java
Created March 1, 2019 12:17
Source code of OptionalLong
/*
* Copyright (c) 2012, 2013, Oracle and/or its affiliates. All rights reserved.
* ORACLE PROPRIETARY/CONFIDENTIAL. Use is subject to license terms.
*/
package java.util;
import java.util.function.LongConsumer;
import java.util.function.LongSupplier;
import java.util.function.Supplier;