Home

Awesome

turbopoc

Turbocharged multichain smart contract POC template generation from the command line. This is more advanced, yet more complicated fork of great zobront/quickpoc tool.

usage

From the command line, call turbopoc [OPTIONS]... [CONTRACT-ADDRESS][:CHAIN]..., or turbopoc [OPTIONS]... -s https://page.to.scrap.block-explorers-addresses-from.io to generate a ready-to-go sandbox for running POCs for the given address against multiple EVM chains, including:

you can run forge test to confirm it's working, then go into tests/POC.t.sol to interact with the contract (saved in storage as c).

install

  1. on a UNIX machine with bash installed, install all dependencies:
  1. download the turbopoc file from this repo.

  2. set up your block explorer API keys and RPC URL for mainnet simulation in conf file

  3. you can then run it directly by calling the file (./turbopoc)

  4. more conveniently, install it globally:

features

troubleshooting

unknown option: -A

Macs ship with bash v3.2 due to licensing. It was released in 2007 and lacks many modern features. This tool requires associative arrays that were introduced in v4.0. In order to fix this issue, please install most recent bash version: brew install bash

This does not break anything on existing installations, as brew installs bash in user space, and /bin/bash is still default option.

TODO

please submit issues for any additional features you'd like to see :)