Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Rework hardhat-vnext-viem types #5978

Open
kanej opened this issue Nov 25, 2024 · 2 comments
Open

Rework hardhat-vnext-viem types #5978

kanej opened this issue Nov 25, 2024 · 2 comments
Assignees
Labels
status:ready This issue is ready to be worked on v-next A Hardhat v3 development task

Comments

@kanej
Copy link
Member

kanej commented Nov 25, 2024

We need to improve the types and chain selection. This will require a reworking at least at the type level - though potentially API changes as well.

@kanej kanej added the v-next A Hardhat v3 development task label Nov 25, 2024
@kanej kanej added this to the Private Alpha Follow-up milestone Nov 25, 2024
@kanej kanej added this to Hardhat Nov 25, 2024
@github-project-automation github-project-automation bot moved this to Backlog in Hardhat Nov 25, 2024
@github-actions github-actions bot added the status:ready This issue is ready to be worked on label Nov 25, 2024
@kanej kanej moved this from Backlog to To-do in Hardhat Nov 25, 2024
@SebastienGllmt
Copy link
Contributor

I'm not sure the context for this issue, but if it's about exposing types in a way that people can easily use to get type safety in their viem applications, you can consider using #5984 with tsWrapper set to true

@kanej
Copy link
Member Author

kanej commented Nov 26, 2024

I'm not sure the context for this issue, but if it's about exposing types in a way that people can easily use to get type safety in their viem applications, you can consider using #5984 with tsWrapper set to true

@SebastienGllmt, in Hardhat 3 the compilation pipeline also generates typescript types similar to your tsWrapper. We them consume those types from hardhat-viem.

@kanej kanej mentioned this issue Nov 27, 2024
32 tasks
@kanej kanej assigned alcuadrado and unassigned schaable Feb 7, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
status:ready This issue is ready to be worked on v-next A Hardhat v3 development task
Projects
Status: To-do
Development

No branches or pull requests

4 participants