Foundry

Foundry

Foundry is a smart contract development toolchain.

With Foundry you can manage your dependencies, compile your project, run tests, deploy smart contracts, and interact with the chain from the command-line and via Solidity scripts.

Check out the Foundry Book to get started with using Foundry with Pivotal.


Using Foundry with Pivotal

Foundry supports Pivotal out-of-the-box.

Just provide the Pivotal RPC URL and Chain ID when deploying and verifying your contracts.

Mainnet

Deploying a smart contract

forge create ... --rpc-url=https://mainnet.thepivotal.xyz/

Verifying a smart contract

forge verify-contract ... --chain-id 

Testnet

Deploying a smart contract

forge create ... --rpc-url=https://sepolia.thepivotal.xyz/

Verifying a smart contract

forge verify-contract ... --chain-id

Last updated