thirdweb CLI
Build
Compile your smart contracts and detect any extensions you have implemented.
This command:
- Detects the framework you're using (Hardhat, Forge, etc.)
- Compiles all of your smart contracts using the framework's compiler, or the default Solidity compiler
- Displays the extensions you have implemented for each contract
--clean: Clear the cache before building--pathor-p: Path to project--debugor-d: Show debug logs--allor-a: Run detection on all contracts