Skip to content

Instantly share code, notes, and snippets.

View ankitchiplunkar's full-sized avatar
👋

Ankit Chiplunkar ankitchiplunkar

👋
View GitHub Profile
@ankitchiplunkar
ankitchiplunkar / tokenlist.json
Last active November 9, 2023 12:14
tokenlist
[ {
"name": "Tether USD",
"address": "0xdAC17F958D2ee523a2206206994597C13D831ec7",
"symbol": "USDT",
"decimals": 6,
"chainId": 1,
"logoURI": "https://raw.githubusercontent.com/trustwallet/assets/master/blockchains/ethereum/assets/0xdAC17F958D2ee523a2206206994597C13D831ec7/logo.png",
"extensions": {
"bridgeInfo": {
"ton": {
@ankitchiplunkar
ankitchiplunkar / EscrowRelay.sol
Created March 24, 2023 14:34
Escrow contract for Optimistic relay v2
contract Escrow {
event Payment(
address builder,
address feeRecipient,
uint256 amount,
uint256 nonce,
uint256 expiry,
bytes32 blockhash
);
@ankitchiplunkar
ankitchiplunkar / nethermind_parity_traces.md
Last active November 30, 2018 15:04
preliminary comparison between netnermind and parity traces

Checked the traces at block 1Million

blocknumber 10**6 = 0xf4240

For parity

curl --data '{"method":"trace_replayBlockTransactions","params":["0xf4240",["stateDiff", "trace"]],"id":1,"jsonrpc":"2.0"}' -H "Content-Type: application/json" -X POST localhost:8545

For nethermind

@ankitchiplunkar
ankitchiplunkar / install_web3py.sh
Last active June 2, 2020 10:36
install web3.py
sudo apt-get install virtualenv -y
sudo apt-get install python3.6-dev -y
sudo apt-get install python3 python-dev python3-dev \
build-essential libssl-dev libffi-dev \
libxml2-dev libxslt1-dev zlib1g-dev \
python-pip -y
virtualenv -p python3 web3.py/venv
source web3.py/venv/bin/activate
Verifying my identity on Peepeth.com 0xdb3d3af153cb02f0bc44621db82289280e93500f