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

New sections & tutorials in GBE #157

Open
leohhhn opened this issue Apr 17, 2024 · 2 comments
Open

New sections & tutorials in GBE #157

leohhhn opened this issue Apr 17, 2024 · 2 comments
Assignees

Comments

@leohhhn
Copy link
Contributor

leohhhn commented Apr 17, 2024

Description

Here is proposal for GBE. Here are the new sections & their tutorials I would like to introduce:

  • Basics
    • Primitives, variables, loops, conditionals, etc.
    • Hello world, Render
    • init function
    • gno.mod (Maybe not suited too well for this environment, probably going to need some DevOps help for this)
    • Importing/using stdlibs
    • Importing/using on-chain packages
    • Importing/using on-chain realms
  • Chain-related
    • Using panic for reverting
    • Emitting events
    • Manipulating call stack (PrevRealm, OrigPkgAddr, OrigSend, etc)
    • Using banker, sending & receiving native coins
  • Tooling / gno.land node / TM2 (need improvements to the GBE environment to support this)
    • Using different types of Gno.land messages (call, addpkg, run, etc)
    • Qeval, Qrender, query, etc
  • Possible CTF/wargame section, like Ethernaut (larger effort).

Any suggestions are welcome.

I see a possible issue with this - I think we need to define what type of content goes in GBE, what goes in the docs, and what goes on other content platforms (ie gno.me). I don't think we need to be suuuuper strict about it - there can be overlap, as long as there is a clear reason for it to exist.

gno-by-example should mainly contain short-form content, and should always point to the docs for further reading. That being said, some of the things mentioned above do not exist in the docs yet.

@leohhhn leohhhn self-assigned this Apr 17, 2024
@leohhhn leohhhn changed the title Sections & tutorials in GBE New sections & tutorials in GBE Apr 18, 2024
@leohhhn
Copy link
Contributor Author

leohhhn commented Apr 23, 2024

Another possible direction we can take this in, which might be cooler than what I suggested above, is to split the tutorials based on the previous knowledge of the user:

  • Blockchain devs > introduce them to Gno, how to do blockchain things in Gno
  • Go devs > introduce them to blockchain concepts, how Gno differs from Go

This would be reflected in the UI/UX of the website as well - with two distinct learning paths for each user group.

@zivkovicmilos
Copy link
Member

gno-by-example should mainly contain short-form content, and should always point to the docs for further reading

💯

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

2 participants