• Stars
    star
    153
  • Rank 243,303 (Top 5 %)
  • Language
    Solidity
  • Created about 2 years ago
  • Updated over 1 year ago

Reviews

There are no reviews yet. Be the first to send feedback to the community and the maintainers!

Repository Details

template for efficient paradigm ctf testing & scripts

Paradigm CTF Setup

This is a template for the Spearbit Rearguard team (or anyone else who finds it) to use for Paradigm CTF 2022.

Set Up

  • Create a .env file in the root directory with PARADIGM_RPC_URL and PRIVATE_KEY (these will be used for submission scripts)
  • Add your Paradigm RPC to the foundry.toml file (this will be used to fork for tests)

Running Challenges

  • Create a folder in /src with the contracts for the challenge.
  • Copy the Template.t.sol file in /test and set it up for the challenge. Link in needed contracts (including mocks). It's already set up to fork the Paradigm network at the start of the test.
  • Write exploit in the test (after vm.createSelectFork(vm.rpcUrl("paradigm"));). Use cast commands in terminal or console.logs in the test to aid as needed.
  • When the test succeeds, copy everything over to script/Exploitoor.s.sol, in between startBroadcast() and stopBroadcast().
  • Call bash exploit.sh to run the script on the Paradigm network with your private key.

More Repositories

1

quickpoc

easy POC template generation from the command line
Shell
315
star
2

audits

public audit & bug reports
254
star
3

xchain

Cross chain call library for Solidity
Solidity
80
star
4

4byte-collider

Simple Rust script for finding colliding 4byte function selectors
Rust
57
star
5

halmos-solady

Formally verifying consistency between Solmate and Solady using Halmos
Solidity
50
star
6

nft-snapshot

A script to scrape owners of a given NFT. Helpful for snapshots for airdrops, white lists, etc.
JavaScript
24
star
7

homerolled-zk

simple zk implementations in python
Python
18
star
8

ethernaut

Complete solutions to all of OpenZeppelin's Ethernaut security challenges.
JavaScript
9
star
9

aztec-poker

proof of concept zk-based trustless poker game on aztec
Rust
8
star
10

pv4d

private voting for dummies
Solidity
8
star
11

tla-specs

TLA
7
star
12

dna-computing-simulator

A simple Python simulator that mirrors Adleman's 1994 DNA computing paper.
Python
7
star
13

dapp-template

A simple minimal structure for a DApp built with Ethers, Hardhat, Mocha and NextJS
JavaScript
7
star
14

vyper-halmos

a (work in progress) pipeline for testing vyper contracts with halmos
Solidity
6
star
15

fogofwar

a simple 2 player card game, with an pinch of zk mystery
Solidity
6
star
16

token-ping

An npm package for easily querying ERC20, ERC721, or ERC1155 data with no setup.
JavaScript
5
star
17

zkdna

zk proof of variant
Rust
2
star
18

rps

Dummy project to play with The Graph
JavaScript
1
star
19

gist

A simple script to extract the most relevant sentence in a body of text, using GloVe word embeddings.
Jupyter Notebook
1
star
20

obrontcom

JavaScript
1
star
21

billy-the-bull

Solidity
1
star
22

aztec-hipster-airdrop

use proof of historic private state to claim an airdrop
Rust
1
star
23

multisig

A simple multisig wallet with voting for fund release.
JavaScript
1
star
24

http-rs

Rust
1
star
25

benft3-frontend

JavaScript
1
star
26

blog

1
star
27

swirl-and-mint

Use AI neural style transfer to artistically combine two images, then mint as an NFT with one click.
JavaScript
1
star
28

regal-raptors

Regal Raptors are a collection of Ethereum NFTs created by multiple artists with 100% of proceeds going to raptor conservation (hawk, falcon, eagle, and owl). Each image is a Founding Member token redeemable for in-person raptor experiences coming 2022-2024.
Solidity
1
star