32 reads
2 comments
·18 hours ago
18 hours ago
import { SingleHopSwap, IERC20 } from "../typechain-types";
May I ask how the typechain-types piece is defined? Can you suggest a reference?
·
·1 reply
Author
·12 hours ago
I used hardhat with typescript which will generate types automatically.
But if you want to generate types without hardhat, you can use typechain npmjs.com/package/typechain
·