Evaluate whether to include the hedera-smart-contracts
repo as a dependency
#140
Labels
dependencies
Add, update or remove dependency packages or files
As we are starting to include more and more HTS functionality, we need more type and interface definitions. See for example,
getTokenInfo
(foundry solution) #128Most of these definitions are already present in the
hedera-smart-contracts
repo. We should evaluate whether to include this repo as a dependency. One minor drawback is theimport
paths are quite long, for exampleThis could be changed locally by adding a remapping to
remappings.txt
likeso the above
import
looks likeNote
If we adopt this solution, we need to exclude the
lib/
folder fromtsconfig.json
to avoid unrelated type-checking issues.Related issues to consume the smart contracts repo from an npm package
The text was updated successfully, but these errors were encountered: