Skip to content

0x0918/uniswap-v2-puzzles-solutions

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

21 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Uniswap-v2-puzzles by RareSkills

How to play

  • Git clone the Repo

  • Install dependencies

    $ forge install
  • Start hacking.

Run test

The test forks mainnet so as to interact with contracts on a real network and also give a more realistic experience. Go to Alchemy or infura to get your_mainnet_rpc_url.

$ forge test --fork-url <your_mainnet_rpc_url> --match-path test/<test_filename> 

Test Your RPC with HelloWorld Puzzle

Run the following command:

$ forge test --fork-url <your_mainnet_rpc_url> --match-path test/HelloWorld.t.sol

If the test passes, RPC is working, else, it might have exceeded its rate limit or typo in the url.

Suggested order for the puzzles

Releases

No releases published

Packages

No packages published

Languages

  • Solidity 98.1%
  • Python 1.9%