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

Update the challenge creation guide to use extensions #277

Open
escottalexander opened this issue Mar 12, 2025 · 5 comments
Open

Update the challenge creation guide to use extensions #277

escottalexander opened this issue Mar 12, 2025 · 5 comments
Assignees

Comments

@escottalexander
Copy link
Collaborator

Currently the main branch repo contains instructions on how to add a challenge. It appears it is not giving advice on how to create an extension but instead, the prior challenge type.

https://github.com/scaffold-eth/se-2-challenges?tab=readme-ov-file#-contributing-guide-and-hints-to-create-new-challenges

We are going through these steps currently so we can submit a PR to change this if it seems helpful.

@carletex
Copy link
Member

We are going through these steps currently so we can submit a PR to change this if it seems helpful.

That would be amazing!

@escottalexander
Copy link
Collaborator Author

@carletex When you are able can you add a new branch called base-challenge-extension-template. I will a submit a PR to that branch with some files that should kick-start any new challenge extension. It should replace the need for the existing base-challenge-template branch. Feel free to name it whatever you think will work best.

@carletex
Copy link
Member

Hey @escottalexander I added you on the repo, you should be able to create branches.

base-challenge-extension-template looks great to me!

@rin-st
Copy link
Member

rin-st commented Mar 13, 2025

Hey @escottalexander . As an option you can move old base-challenge-template branch to base-challenge-template--v0 as we do for all other challenges, and then recreate base-challenge-template for your needs so it will have clean git history.

Note: for some reason we didn't use template branch for challenges extensions, but we can fix it in future if needed

@escottalexander
Copy link
Collaborator Author

#278 and #279 will close this issue.

After thinking about it it seems the best way to get people set up will be for them to copy the files from the template onto the new extension they are creating after running yarn cli.

I renamed the existing template to base-challenge-template--v0 as suggested and have a PR into base-challenge-template.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants