Skip to content

Instantly share code, notes, and snippets.

View Balmasexy's full-sized avatar
💭
world 🌎🌎🌎 invincible individual explorer on ecosystem

Balmz GIT Balmasexy

💭
world 🌎🌎🌎 invincible individual explorer on ecosystem
View GitHub Profile
@Balmasexy
Balmasexy / foundry_copy_abi.sh
Created September 5, 2025 19:41 — forked from PaulRBerg/foundry_copy_abi.sh
Shell function to copy an ABI from Foundry output directory
# Copy the ABI of a contract from the out directory to the clipboard
# Example: foundry_copy_abi SablierLockup out-optimized
function foundry_copy_abi() {
if [ -z "$1" ]; then
echo "Please provide a contract name"
echo "Usage: foundry_copy_abi <ContractName> [outDir]"
return 1
fi
local contract_name=$1