Skip to content

Instantly share code, notes, and snippets.

View shayanb's full-sized avatar
💭
\-=-=|=-=-/

Shayan Eskandari shayanb

💭
\-=-=|=-=-/
View GitHub Profile
@shayanb
shayanb / privacy-pools-ceremony_attestation.log
Created February 20, 2025 23:59
Attestation for Privacy Pools Ceremony MPC Phase 2 Trusted Setup ceremony
Hey, I'm shayanb-309108 and I have contributed to the Privacy Pools Ceremony.
The following are my contribution signatures:
Circuit # 1 (withdraw)
Contributor # 40
Contribution Hash: 2cababfa 1a683665 1e24ae70 e80db35f
699ab414 8f8c5594 1d38e0e7 3a81c0ff
cbc58a76 bce5b0d5 1799cd45 3c582254
916c8830 26860f66 081cb5ea aa137a0a
@shayanb
shayanb / gist:1ca4483d29c65ff47fa644417fe6920f
Created February 19, 2025 10:07
Archive Discourse Forum Topics to Markdown files -- e.g. to host on Github -- Python Script
import json
import requests
from pathlib import Path
import re
from datetime import datetime
import base62
def process_forum_topics():
"""Process all markdown files in forum_topics directory to fix image links"""
topics_dir = Path('forum_topics')

0x2e8d42d7e658a173e509c6eb329aa96a8b67bcce142e3040efa45673829628eb

@shayanb
shayanb / token_checklist.md
Last active January 6, 2025 21:04
Token Checklist Table
Token Feature Known Vulnerabilities Resources Examples
ERC20 Allowance Double withdrawal (front-running)
This post links my 3Box profile to my Github account! Web3 social profiles by 3Box.
✅ did:3:bafyreicruo6vktkqa3gv2vqzwdlumz5owggehcyvjrljuiaekodlpkdxtm ✅
Create your profile today to start building social connection and trust online at https://3Box.io/
@shayanb
shayanb / indemnity.sol
Created June 12, 2019 18:36
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.1+commit.c8a2cb62.js&optimize=false&gist=
pragma solidity ^0.5.5;
contract indemnity {
address payable
}
@shayanb
shayanb / Challenge1.sol
Last active October 9, 2019 11:39
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.8+commit.23d335f2.js&optimize=false&gist=
// ConsenSys Diligence
// DevCon V - October 2019
// Osaka, Japan
pragma solidity ^0.5.4;
// Can you have a gazillion balance?
contract challenge1 {
3Box is a social profiles network for web3. This post links my 3Box profile to my Github account!
✅ did:muport:QmaEkb2GjKTkzN1nyHZKstuLHRt6XT8anq5452wgX2oySN ✅
Create your profile today to start building social connection and trust online. https://3box.io/

Keybase proof

I hereby claim:

  • I am shayanb on github.
  • I am shayanb (https://keybase.io/shayanb) on keybase.
  • I have a public key ASCkhNyL5kuHuYIY2it1CnFsAPivpvetpMhGUxwSN1ukNAo

To claim this, I am signing this object:

@shayanb
shayanb / Assignment2.sol
Created October 10, 2018 19:05
Assignment 2 for 6620 Class (Nov 2018)
pragma solidity ^0.4.22;
contract assignmentTwo {
uint public studentNumber;
address public student;
constructor() public {
student = msg.sender;
}