deploy
; accessible from the /contracts
directory by running
the following command:
- Find all smart contracts from the
/contracts
directory - Compile the smart contracts using Hardhat
- Generate a URL for you to deploy them via the browser
Using A Local Network (Optional)
When you’re testing out your smart contracts, you can use free test networks like Polygon’s Mumbai, Ethereum’s Sepolia, or any other EVM-compatible test network. These are great for testing, but sometimes they’re a little slower than you’d like. You might prefer using a local network that allows you to deploy the smart contracts to your local machine and still connect to them from the/application
directory. The local network has a few benefits:
- Near instant transaction times
- Easy access to test funds
- Faster iteration cycles
/contracts
directory):
yarn deploy
command, and selecting Localhost
as the chain to deploy to
on the thirdweb dashboard.