SolidScript treats network selection as a deploy-time flag rather than a compile-time concern. You write and compile your contract once, then deploy it to any EVM-compatible network by passingDocumentation Index
Fetch the complete documentation index at: https://docs.solidscipt.zoracle.xyz/llms.txt
Use this file to discover all available pages before exploring further.
-n with a network name. Five networks are built in. Any other chain you add to solidscript.config.ts becomes available by name immediately.
Built-in networks
| Network | Chain ID | RPC |
|---|---|---|
anvil | 31337 | http://127.0.0.1:8545 |
sepolia | 11155111 | viem chain registry |
mainnet | 1 | viem chain registry |
base-sepolia | 84532 | https://sepolia.base.org |
base | 8453 | https://mainnet.base.org |
-n to target any built-in network:
Adding custom chains
Register additional networks insolidscript.config.ts with an rpcUrl and chainId. They become available to all CLI commands immediately:
solidscript.config.ts
solidscript.config.ts