Skip to content

FuzzyFoundry is design to help to change RPC faster when using foundry with cast or forge.

Notifications You must be signed in to change notification settings

MevSecurity/FuzzyFoundry

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

10 Commits
 
 
 
 

Repository files navigation

FuzzyFoundry

FuzzyFoundry is a light script that allows one to change faster from one RPC to another RPC. To have a smooth usage when using cast or forge. This also copies RPC directly into the buffer.

CleanShot 2024-01-30 at 00 04 27

How to install

To install FuzzyFoundry we need to make alias on the script and the following: This allows us to overwrite the following environment variable ETH_RPC_URL that is used by Foundry.

git clone https://github.com/Ethnical/FuzzyFoundry.git FuzzyFoundry; cd FuzzyFoundry; cp rpc_chooser.sh /usr/bin/rpc_chooser.sh
alias rpc_selector="source /usr/bin/rpc_chooser.sh" #syntax only working with zsh, bash (fish user need to check manually). 
echo "Installed ✅ and `rpc_selector` can be run."

Persistence (bashrc/zshrc)

To ensure the alias will be conserved each time you are running a new shell you can store this into the ~/.bashrc or ~/.zshrc.

alias rpc_selector="source /usr/bin/rpc_chooser.sh" #syntax only working with zsh, bash (fish user need to check manually). 

ToDo

  • PrivateKeys management.

Informations

Feel free to share some ideas, and tips for improving the script 🔥

About

FuzzyFoundry is design to help to change RPC faster when using foundry with cast or forge.

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages