deploy_create2
Deploy smart contracts with deterministic addresses across EVM chains using CREATE2. Ensure predictable deployment by specifying bytecode, salt, and constructor arguments.
Instructions
Deploy a contract using CREATE2 for deterministic addresses across chains
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| abi | No | Contract ABI (required if constructor has arguments) | |
| salt | Yes | Salt for deterministic address (32 bytes hex or string to hash) | |
| network | No | Network name (e.g. 'bsc', 'opbnb', 'ethereum', 'base', etc.) or chain ID. Supports others main popular networks. Defaults to BSC mainnet. | bsc |
| bytecode | Yes | Contract bytecode (hex string) | |
| privateKey | Yes | Private key for deployment | |
| factoryAddress | No | CREATE2 factory address (uses default if not provided) | |
| constructorArgs | No | Constructor arguments |