GV

GeezerVison

The World Wide Web, restored to 800 pixels of glory.

Home|About|Gaming cabinet|Archives|How it works|Starter sites

On this site

  • Sign in
  • ActionsCI/CD and automation
  • CodespacesCloud development environments
  • All Features
  • Documentation
  • Training
  • Certifications
  • Build with Copilot
  • Customize Copilot
  • Integrations
  • Trending repos
  • GitHub Sponsors
  • Developer articles
  • Enterprises

This view

  • Original page
  • New address

GeezerVison is showing github.com — GitHub - PurrProof/capture-the-ether-solved: Capture The Ethers CTF solutions using Hardhat, Ethers@6, Typescript.

BranchesTags
Open more actions menu

Latest commit

 

History

18 Commits
18 Commits

Folders and files

NameName
Last commit message
Last commit date
contracts
contracts
 
 
test
test
 
 
.env.example
.env.example
 
 
.gitignore
.gitignore
 
 
.prettierrc.yml
.prettierrc.yml
 
 
.solcover.js
.solcover.js
 
 
.solhint.json
.solhint.json
 
 
.solhintignore
.solhintignore
 
 
README.md
README.md
 
 
eslint.config.mjs
eslint.config.mjs
 
 
hardhat.config.ts
hardhat.config.ts
 
 
package.json
package.json
 
 
pnpm-lock.yaml
pnpm-lock.yaml
 
 
slither.config.json
slither.config.json
 
 
slither.sh
slither.sh
 
 
tsconfig.json
tsconfig.json
 
 

Repository files navigation

Capture The Ethers game solutions with Hardhat/Typescript/Mocha.js/Ethers

Thank you @smarx for the game.

Quickstart

git clone https://github.com/PurrProof/capture-the-ethers-solved.git
cd capture-the-ethers-solved
cp .env.example .env
pnpm it

Useful snippets

const prov = new _ethers.providers.Web3Provider(window.ethereum);
await prov.getStorageAt(await contract.address,2)
sol2uml storage -d -u $RPC_NODE_URL -c Privacy -s $PRIVACY_INSTANCE_ADDRESS -o storage.svg ./Privacy.sol
cast send -i -r $RPC_NODE_URL --create $BYTECODE
cast call -i -r $RPC_NODE_URL $ADDRESS $FUNCTION_ID

Solutions

0. Warmup -> Deploy

  • level: contract
  • solution: test

1. Warmup -> Call me

  • level: contract
  • solution: test

2. Warmup -> Choose a nickname

  • level: contract
  • solution: test

3. Lotteries -> Guess the number

  • level: contract
  • solution: test

4. Lotteries -> Guess the secret number

  • level: contract
  • solution: test

5. Lotteries -> Guess the random number

  • level: contract
  • solution: test

6. Lotteries -> Guess the new number

  • level: contract
  • solution: contract, test

7. Lotteries -> Predict the future

  • level: contract
  • solution: contract, test

8. Lotteries -> Predict the block hash

  • level: contract
  • solution: test

9. Math -> Token Sale

  • level: contract
  • solution: test

10. Math -> Token Whale

  • level: contract
  • solution: test

11. Math -> Retirement Fund

  • level: contract
  • solution: contract, test

12. Math -> Mapping

  • level: contract
  • solution: test

13. Math -> Donation

  • level: contract
  • solution: test

About

Capture The Ethers CTF solutions using Hardhat, Ethers@6, Typescript.

Topics

capturetheetherctfctf-solutionsctf-writeupsethereumhardhatsecuritysolidity

Resources

Readme
Activity

Stars

0 stars

Watchers

1 watching

Forks

0 forks
Report repository

Releases

Packages

Contributors

Languages

You are visitor 01402792 — GeezerVison does not store the pages you look up.
Best viewed with Netscape Navigator 4.7 or Internet Explorer 6 at 800×600. No cookies required.