Content pfp
Content
@
0 reply
0 recast
0 reaction

ɃΞrn pfp
ɃΞrn
@b7
Is there a way to compile only a single contract with hardhat?
2 replies
0 recast
2 reactions

taranis pfp
taranis
@taranis.eth
what do you mean exactly? You can put all the code in one file, or use something like https://hardhat.org/hardhat-runner/docs/advanced/flattening
1 reply
0 recast
0 reaction

ɃΞrn pfp
ɃΞrn
@b7
No, when having multiple contracts in the repo, I want to compile just single contract file instead of all contract files
1 reply
0 recast
0 reaction

taranis pfp
taranis
@taranis.eth
hmm doesnt seem to be an out-of-the-box feature, maybe you can try something like https://github.com/NomicFoundation/hardhat/issues/2306#issuecomment-1039452928
0 reply
0 recast
0 reaction