Use `forge` and `cast` commands in Python scripts
foundrycli.py is a Python library I’ve made for personal use; now open source. It let’s you access forge and cast CLIs from Python scripts and correctly handles the output, with some handy features: Features Run any command as if you were using the terminal # Get VB’s address vitalik = foundry_cli(‘cast resolve-name “vitalik.eth”‘) Use in scripts with composable commands # Calculate VB’s $$$ in stables for coin in stables: sum += foundry_cli(f’cast call {
Read more