Skip to content

RareSkills/uniswap-v2-puzzles

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

20 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

About

No description, website, or topics provided.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published