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

Forc init with example #530

Closed
SilentCicero opened this issue Dec 29, 2021 · 0 comments · Fixed by #836
Closed

Forc init with example #530

SilentCicero opened this issue Dec 29, 2021 · 0 comments · Fixed by #836
Assignees
Labels
enhancement New feature or request forc good first issue Good for newcomers

Comments

@SilentCicero
Copy link
Member

SilentCicero commented Dec 29, 2021

The Forc toolchain should provide a few example starter projects at the init stage which are easily accessible. This allows for a more seamless getting started experience.

The basic one would be the Counter example, eventually more complex examples like a Uniswap or Token could be added.

For now, we should work to add in a Counter example at the init (as it demonstrates state, testing and a basic smart contract). As the Fuel architecture grows with indexers, having basic examples like this will go a long way to show how everything fits together.

forc init --counter-example

Eventually it could be a drop down.

forc init

  [x] An empty project
  [ ] Counter
  [ ] Uniswap
@SilentCicero SilentCicero added documentation enhancement New feature or request good first issue Good for newcomers bikeshedding For bikeshedding trivialities forc labels Dec 29, 2021
@adlerjohn adlerjohn removed documentation bikeshedding For bikeshedding trivialities labels Dec 29, 2021
@JoshuaBatty JoshuaBatty self-assigned this Feb 10, 2022
@adlerjohn adlerjohn changed the title Forc should provide a Counter example option for init for better QOL Forc init with example Feb 14, 2022
@JoshuaBatty JoshuaBatty linked a pull request Feb 24, 2022 that will close this issue
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request forc good first issue Good for newcomers
Projects
Archived in project
Development

Successfully merging a pull request may close this issue.

3 participants