Giter Site home page Giter Site logo

cre-mer / capture-the-ether-assembly Goto Github PK

View Code? Open in Web Editor NEW

This project forked from mrtoph/capture-the-ether

0.0 0.0 0.0 187 KB

My solutions to https://capturetheether.com/ written in assembly

Home Page: https://capturetheether.com/

TypeScript 64.03% Solidity 35.97%

capture-the-ether-assembly's Introduction

capture-the-ether

My solutions to capture-the-ether CTF. In-depth explanations for each level can be read on my blog.

Progress: 11600/11600 Rank: 56

Leaderboard

Development

npm i

You need to configure environment variables:

cp .env.template .env
# fill out

Pick a mnemonic and use the resulting first ETH account as the challenger account on capture-the-ether.

Hardhat

This repo uses hardhat to run the CTF challenges. Challenges are implemented as hardhat tests in /test.

To fork the Ropsten testnet, you need an archive URL like the free ones from Alchemy.

Running challenges

Optionally set the block number in the hardhat.config.ts hardhat network configuration to the ropsten head block number such that the challenge contract is deployed.

# fork ropsten but run locally
npx hardhat test test/warmup/call-me.ts
# once everything works, run all txs on ropsten testnet to gain points
npx hardhat test test/warmup/call-me.ts --network ropsten

capture-the-ether-assembly's People

Contributors

mrtoph avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.