This is your work, valued

w021d

sudo rm -rf --no-preserve-root /

Elite
@pcaversaccio

𝐖𝐨𝐫𝐀𝐒𝐧𝐠 𝐨𝐧 𝐰𝐑𝐚𝐭'𝐬 𝐧𝐞𝐱𝐭.

reentrancy-attacks. A chronological and (hopefully) complete list of reentrancy attacks to date.

1.6k

snekmate. State-of-the-art, highly opinionated, hyper-optimised, and secure 🐍Vyper smart contract building blocks.

599

createx. Factory smart contract to make easier and safer usage of the `CREATE` and `CREATE2` EVM opcodes as well as of `CREATE3`-based (i.e. without an initcode factor) contract creations.

568

xdeployer. Hardhat plugin to deploy your smart contracts across multiple EVM chains with the same deterministic address.

445

safe-tx-hashes-util. This Bash script calculates the Safe transaction hashes by retrieving transaction details from the Safe transaction service API and computing both the domain and message hashes using the EIP-712 standard.

409

create2deployer. Helper smart contract to make easier and safer usage of the `CREATE2` EVM opcode.

307

hardhat-project-template-ts. A fully-fledged Hardhat project template based on TypeScript.

225

white-hat-frontrunning. White hat frontrunning script to outpace hackers and secure funds from compromised wallets.

190

malleable-signatures. This repository implements a simplified PoC that demonstrates how signature malleability attacks using compact signatures can be executed.

115

ecdsa-nonce-reuse-attack. This repository implements a Python function that recovers the private key from two different signatures that use the same random nonce during signature generation.

108

tornado-cash-exploit. This repository implements a simplified PoC that showcases how a contract can morph. A similar approach was used as part of the governance attack on Tornado Cash in May 2023.

63

metatx. A smart contract to enable ERC-20 token meta-transactions on Ethereum.

49

escrow-contract. A simple multilateral escrow smart contract for ETH and ERC-20 tokens governed by Cobie.

42

raw-tx. Four scripts to ordinary generate, EIP-4844-type generate, EIP-7702-type generate, and execute a signed raw transaction with ethers.

42

torn-detector. Detect if a contract has been deployed in the latest (or predefined) block from an address that was previously funded through Tornado.Cash.

29

solidity-games. A repository for Solidity-based smart contract games.

29

batch-distributor. Helper smart contract for batch sending both native and ERC-20 tokens.

26

meth. The moment you Rust, you should look for your Mojo πŸ”₯.

21

mnemonic-to-private-key. A JavaScript script that converts the mnemonic phrase into a wallet private key using the ethers.js library.

20

create-util. Helper smart contract to make easier and safer usage of the `CREATE` EVM opcode.

19

p256-verifier-vyper. P256 (a.k.a. secp256r1 elliptic curve) signature verification 🐍Vyper contract.

19

fork-testing-evm-compatibility. This repository implements a simple fork test on Optimism that proves that the EVM behaviour of the forked chain is not identically replicated locally.

14

ethereum-key-generation-python. Generating Ethereum addresses in Python.

14

pcaversaccio. My public profile.

14

erc20-permit-upgradeable. Permit-enabled, upgradeable ERC20 smart contract template.

11

gpg-sign-and-encrypt. This guide explains how to sign and encrypt an email using the `gpg` (GNU Privacy Guard) tool from the command line.

10

blocklists. A Python script designed to retrieve comprehensive domain status reports from multiple blocklist providers.

10

mass-key-generation. A repository for mass public-private key generation (Bitcoin & Ethereum).

9

tornado-cash-ether-withdrawal-decipherer. Deciphering the ether transactions in the Tornado.Cash withdrawals.

8

zksync-vyper-sandbox. A sandbox environment for ZKsync Era Vyper compiler testing.

7

ethereum-key-generation. A repository that shows how to generate a private / public key pair using web3.js or HD wallets.

7

erc20-oz-sdk. How to deploy an ERC20 smart contract using OpenZeppelin SDK and write a TokenExchange smart contract.

7

chainlink-price-feed. Retrieve the ETH/USD price feed from Chainlink's oracle using Infura.

6

bitsquatting. Helper script for generating permutations of an ENS domain that differ by 1-bit from the original domain.

6

connection-vscode-to-google-colab-gpus. A step-by-step guide to connecting the local Visual Studio Code to Google Colab's GPU runtime.

5

telegram-group-counter. A simple Python script to check how many Telegram groups and channels a user is in.

4

zksync-emergency-upgrades. ZKsync emergency upgrade verification tools.

3

tokenbridge-helium-ethereum. A tokenbridge between the Helium blockchain (native network) and the Ethereum blockchain (foreign network).

3

pool-viewer. Similar to an ETH2 block explorer, but focused only on recent data.

3

porini-community-token-contract. This is Porini's ERC-20 smart contract, whose tokens can activate communities to support conservation activities and learn about blockchain technology.

2

configurations. Monorepo for my personal configurations.

2

pcaversaccio.github.io. My personal website.

2

startfeld-token-contract. This is Startfeld's ERC-20 smart contract, whose tokens are used as vouchers in their ecosystem.

2

randao-distribution. Empirical distribution of the randomness beacon (=RANDAO) provided by the Beacon chain.

2

impact-dollar-token-contract. This is Impact Dollar's ERC-20 smart contract, whose tokens can deliver a demonstrable contribution to conservation and protected areas through digital collectibles.

2

payfoot-token-contract. This is PayFoot's ERC-20 smart contract, whose tokens are used as stablecoins in their ecosystem.

2

flip. Synthetic Image generation with Flip. Generate thousands of new 2D images from a small batch of objects and backgrounds.

1

saentis-gulden-token-contract. This is SΓ€ntis Gulden's ERC-20 smart contract, whose tokens are used as vouchers in their ecosystem.

1