npm installnpx hardhat flatten <contract-to-be-flatten> | sed '/SPDX-License-Identifier:/d' | sed 1i'// SPDX-License-Identifier: GPL-3.0-or-later'-
use hardhat
npx hardhat compile
-
use remix
| Name | Name | Last commit date | ||
|---|---|---|---|---|
npm installnpx hardhat flatten <contract-to-be-flatten> | sed '/SPDX-License-Identifier:/d' | sed 1i'// SPDX-License-Identifier: GPL-3.0-or-later'use hardhat
npx hardhat compileuse remix