Skip to content

Instantly share code, notes, and snippets.

View tyler-smith's full-sized avatar

Tyler Smith tyler-smith

View GitHub Profile
I contributed to the Semaphore Trusted Setup Multi-Party Ceremony.
The following are my contribution signatures:
Circuit: semaphore16
Contributor # 92
Hash: 35007b4e dca653ce 76f6233b b4a4345f
f5bc3ebe 577b28ea b7602b44 4de25550
8c975ec0 23b887fc d3e90da1 00929501
b58a4d49 601e82c3 15e7715c 43a4c138
@tyler-smith
tyler-smith / .env
Created September 28, 2021 18:07
Sherpa Relayer docker-compose .env
APP_PORT=8000
# 0x0403665a5E553743d1a4b0C57bE556503a920F1E
PRIVATE_KEY=<private key in hex, without leading 0x>
# 0.05 means 0.05%
REGULAR_TORNADO_WITHDRAW_FEE=1.0
MINING_SERVICE_FEE=1.0
REWARD_ACCOUNT=0x0403665a5E553743d1a4b0C57bE556503a920F1E
CONFIRMATIONS=1
@tyler-smith
tyler-smith / gist:7b7e4661490233cc87dd224ec3d35e09
Last active May 27, 2021 02:08
sherpa-ceremony-contribution.md
Contribution #1231
Hash: 0xc10290efe7b5e05922adee5e33369f2735e42684392c690d3aa3a83d51899980f45b41350ec728e098c5b130f91240edb9011c91c866d3953e38731b3a1f6a7f

Sherpa Ceremony VDF

Rounds: 100000000

Hash challenge: 74b3961830935b83aa7802fc8332fb715590abcbaf3cf9fc0da4d45fd2639bfa

Output: `00274ffae6c6b9b91f6a9d855f46c90d7fb8665394c78bbfc5a8a44a2b3adad84ba00d904bf6cc169cbf2762dbb7520fe207621056ea4ef19f006a3141ea1b98a0345dadf193971dc35ab49b8c30cf758b61537ee52b270bb6af47ca8a9fd35dfb2851c06fcae0c434ad80352d6d6a4472bab2eba5aced26ef850d544e5ad5a3aafffd28d1dbb91ec9b8ceee13554a7a8903234ce1eadfc1f9cc483ff4e0deebcfcc3f802f3e3daf27530fbb8adef2cf6e8d64fd0c38bdcbd44b7fc633850e36d3fb1e03af3e71cfafae8d91092e640016ee2287836b570dde6460693689001c8ff5147423f96ee32ec87123d189d5d8b203702124c6629865b87b369bca676416cb001878b1666171f29afa5b8a96d48e8bc77056084755a93e529fb8a2667c1b4dad06044d6fe9430a717c15d17ee68411f1bf1725aa8e3bbe26759ad60fb90913cf08f47cad948522ad9243e271b1fa82f881365900343b4661f316f4e2ecc549dd0b11e223d26b26633fdfe12ae8af6fc9f30f93e61101698776b6435a74c2d312ffed9a60874f17817e500030013ff4c301805259c3a5f2702690b2968a8a

Mainnet

  • NetworkID: 1
  • X-ChainID: 2oYMBNV4eNHyqk2fjjV5nVQLDbtmNJzq5s3qs3Lo6ftnC6FByM
  • C-ChainID: 2q9e4r6Mu3U68nU1fYjgbR6JvwrRx36CohpAX5UQxse55x1Q5
  • AVAXAssetID: FvwEAhmxKfeiG8SnEvq42hc6whRyY3EFYAvebMqDNDGCgxN5Z
  • C-Chain Internal ChainID: 43114

Fuji Testnet

-----BEGIN PGP PUBLIC KEY BLOCK-----
Comment: GPGTools - https://gpgtools.org
mQINBFSaKK0BEADu42qhownio1+bqlIb3Sq7qHKvfN/mVJionmqDHxtuOd9wivcA
4ZzBME+ovG4OTL+eajFAA2tWjdLPmFefrEjbuzYfTOfsOEPA7X7dhwFyTVO9XXTW
pznTO0uzR/2xLvBmtCXVn89720QXVR0a7jkkW2S8SfKbIk8rdegljbqXTxaZpGuw
b1FyArGVU3SJQxGfQNsatZaJlz3xsF26joea8+oa6T5i8c1/FcH1NX/TNZ4bwZHs
Ljdkd9jmneEO50+lTvDO22ySy/un0vD/kcIsBJwxmt7HSnEZNRX5h0o8xbHRcgTE
gDXNoD34ereOYUH7IqplQr1kPdf0wr0dtZ5Hc16HKBLcwoIMs14dT0WOU2cLh1jk
p4HoSBCAueOvqicwrt52Hpim+9wTPltLfOEcBR3N9WOhz4sX2R4loJVepsLvLzQY
#!/bin/bash
curl -X POST --data "{
\"jsonrpc\":\"2.0\",
\"id\" : 1,
\"method\" :\"avm.send\",
\"params\" :{
\"username\" :\"sendbot\",
\"password\" :\"supersecretpassword\",
\"assetID\" :\"AVA\",
@tyler-smith
tyler-smith / attestation_0055.md
Last active August 30, 2020 08:34
PPoT Response 0055 attestation

Attestation to response 0055

  • Date: Aug 28 - Aug 29 2020
  • Name: Tyler Blaise Smith (tcrypt)
  • Location: Santa Clara, CA
  • Device: MacBook Pro (16-inch, 2019), Tails 4.9 on Samsung flash drive
  • Software: phase2-bn254
  • Commit Hash: 988b668a396b1c417b23e31438854637fa434424
  • Challenge URL: https://ppotch.blob.core.windows.net/public/challenge_0055
#!/bin/bash
set -e
# Examples:
# ./gecko-entrypoint.sh ./build/ava -api-ipcs-enabled=true
#
# docker run -v gecko-entrypoint.sh:/gecko-entrypoint.sh --entrypoint /gecko-entrypoint.sh avaplatform/gecko ./build/ava -api-ipcs-enabled=true
# Attempt to enable IPC continuously
(while true
@tyler-smith
tyler-smith / output.txt
Created May 13, 2020 21:00
build_test.sh output
<gecko> ./scripts/build_test.sh
ok github.com/ava-labs/gecko/api 1.267s coverage: 63.6% of statements
? github.com/ava-labs/gecko/api/admin [no test files]
? github.com/ava-labs/gecko/api/ipcs [no test files]
# github.com/ava-labs/salticidae-go
Undefined symbols for architecture x86_64:
"_bytearray_free", referenced from:
__cgo_67f9b454acd8_Cfunc_bytearray_free in _x008.o
(maybe you meant: __cgo_67f9b454acd8_Cfunc_bytearray_free)
"_bytearray_new", referenced from: