Deployment examples
Notes: use --broadcast to send transactions to the network (requires a signer).
a) Deploy DEX — Alpen Labs Testnet
forge script script/DeployDEX_v2.s.sol --fork-url https://rpc.testnet.alpenlabs.io --ledger --broadcastb) Deploy DEX — Ethereum Sepolia
forge script script/DeployDEX_V2.s.sol --fork-url https://ethereum-sepolia-rpc.publicnode.com --ledger --broadcastFor factory deployments and other variants see the repo scripts (e.g., DeployDEX_v2).
Verify contract (example BlockScout)
forge verify-contract \
--rpc-url https://explorer.testnet.alpenlabs.io/api/eth-rpc \
--verifier blockscout \
--verifier-url 'https://explorer.testnet.alpenlabs.io/api/' \
0x<ContractAddress> src/Kanari.sol:Kanari \
--compiler-version 0.8.30