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

feat: add support for basic vyper project using forge init --vyper #9930

Draft
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

startup-dreamer
Copy link
Contributor

Closes: #8340

This PR aims to add forge init --vyper command which instantiate a basic vyper project from project as suggested here #8340 (comment).

This command mimics forge init --template https://github.com/Patronum-Labs/foundry-vyper currently the standard way of initializing a vyper project.

PR Checklist

  • Added Tests
  • Added Documentation
  • Breaking changes

Copy link
Member

@zerosnacks zerosnacks left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Hi @startup-dreamer, thanks for your PR

I would prefer if the Vyper template used local files, see: https://github.com/foundry-rs/foundry/tree/master/crates/forge/assets

We will have to move the Solidity ones in their respective subfolder in the assets directory and create a Vyper equivalent

Thanks!

@startup-dreamer
Copy link
Contributor Author

Makes sense, I'll do the changes.

@startup-dreamer startup-dreamer marked this pull request as draft February 25, 2025 08:28
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
Status: No status
Development

Successfully merging this pull request may close these issues.

feat(forge init): add --vyper flag to initialize a basic Vyper project mirroring Counter
2 participants