Turbocharged multichain smart contract POC template generation from the command line. This is more advanced, yet more complicated fork of great zobront/quickpoc tool.
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:
src/ folder populated with all contracts and librariescd folder_name copied to clipboard to save you 1 extra secondyou 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).
brew install jq)brew install graphviz)npm i -g surya)npm i -g sol2uml)download the turbopoc file from this repo.
set up your block explorer API keys and RPC URL for mainnet simulation in conf file
you can then run it directly by calling the file (./turbopoc)
more conveniently, install it globally:
~/bin)~/.zshrc) and add the following line: export PATH="$PATH:/Users/path_to_folder_holding_filechmod +x path_to_file to make the file executableturbopoc from any folder to generate the POC folder within it.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.
please submit issues for any additional features you'd like to see :)
Shell
100.0%
Turbocharged multichain smart contract POC template generation from the command line. This is more advanced, yet more complicated fork of great zobront/quickpoc tool.
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:
src/ folder populated with all contracts and librariescd folder_name copied to clipboard to save you 1 extra secondyou 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).
brew install jq)brew install graphviz)npm i -g surya)npm i -g sol2uml)download the turbopoc file from this repo.
set up your block explorer API keys and RPC URL for mainnet simulation in conf file
you can then run it directly by calling the file (./turbopoc)
more conveniently, install it globally:
~/bin)~/.zshrc) and add the following line: export PATH="$PATH:/Users/path_to_folder_holding_filechmod +x path_to_file to make the file executableturbopoc from any folder to generate the POC folder within it.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.
please submit issues for any additional features you'd like to see :)
Shell
100.0%