Skip to content

Instantly share code, notes, and snippets.

View mcdee's full-sized avatar

Jim McDonald mcdee

View GitHub Profile
# The withdrawal account.
export ETHDO_ALLOW_WEAK_PASSHRASES=true
export ETHDO_WALLET_PASSPHRASE=secret
ethdo wallet create --type=hd --mnemonic='abandon abandon abandon abandon abandon abandon abandon abandon abandon abandon abandon abandon abandon abandon abandon abandon abandon abandon abandon abandon abandon abandon abandon art' --wallet='Withdrawal wallet'
ethdo account create --account='Withdrawal wallet/A withdrawal account'
export WITHDRAWAL_ACCOUNT_PUBLIC_KEY=$(ethdo account info --account='Withdrawal wallet/A withdrawal account' | grep 'Public key' | sed 's/Public key: //')
# To prove that the withdrawal accout holder holds the private key for a public key:
# 1. The requestor sends a random 32-byte hex string to the withdrawal account holder.
export REQUESTOR_DATA=$(xxd -l 32 -p /dev/urandom | tr -d " \n")
@mcdee
mcdee / attestation.txt
Created April 12, 2022 06:34
Attestation
I contributed to the Semaphore Trusted Setup Multi-Party Ceremony.
The following are my contribution signatures:
Circuit: semaphore16
Contributor # 331
Hash: a973b31d 19a855e5 f6b8d9df df7784b9
c0977035 31a48dd2 ea4f7c27 98db62e0
9ea5be17 1b32c069 aacd436b a97bb78c
4947de2d d1a0f1a4 25abe5cf c3cea6a1