Skip to content

Hardhat Integration and CLI Documentation #1013

Answered by roninjin10
huseyindeniz asked this question in Q&A
Discussion options

You must be logged in to vote

Yes the docs linked have a section on how to do code gen. But tldr simply run “npx tevm gen . /path/to/contract.sol

Note however this is the same thing as importing the file from a different package but extra steps. Importing doesn’t tightly couple code. Imports are by definition static, happening at build time not runtime, and explicitly using a package boundary

Replies: 1 comment 5 replies

Comment options

You must be logged in to vote
5 replies
@huseyindeniz
Comment options

@roninjin10
Comment options

Answer selected by huseyindeniz
@roninjin10
Comment options

@huseyindeniz
Comment options

@roninjin10
Comment options

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants