All Products

Tenderly Node
Smart Contract Frameworks
Foundry

Foundry - Tenderly Node Integration

Foundry is a toolkit for smart contract development on the Ethereum blockchain. It includes tools for compiling, testing, and deploying smart contracts, emphasizing speed and efficiency.

Using forge create

To deploy contracts using Tenderly Node, run forge create with the option --rpc-url set to the RPC link you copied from the Dashboard.

deploy-counter.sh
forge create Counter \
--rpc-url $RPC_URL \
--private-key $PRIVATE_KEY  \

To include a verification step, follow this guide on verifying contracts with Foundry.

Using forge script

To run a script using Tenderly Node, run forge script with the option --rpc-url set to the RPC link you copied from the Dashboard.

counter-script.sh
forge script script/Counter.s.sol:CounterScript \
--rpc-url $RPC_URL \

To include a verification step, follow this guide on verifying contracts with Foundry.