ethereum / ethereum-org-website

Ethereum.org is a primary online resource for the Ethereum community.
https://ethereum.org/
MIT License
4.9k stars 4.67k forks source link

Suggest a tutorial: Server components for web3 apps #13158

Open qbzzt opened 2 weeks ago

qbzzt commented 2 weeks ago

Tutorial title

Server components for web3 apps

Tutorial description

After this tutorial, you will be able to write TypeScript servers that listen to events on a blockchain and respond accordingly with their own transactions. This will enable you to write applications that are centralized (because the server is a point of failure), but can interact with web3 entities.

Tutorial tags

server, offchain, centralized

Skill level

Beginner

Hosted on ethereum.org or hosted elsewhere?

Hosted on ethereum.org

For tutorials to be hosted on Ethereum.org: Tutorial Content

For tutorials hosted elsewhere: URL to tutorial

No response

Would you like to work on this issue?

wackerow commented 2 weeks ago

@qbzzt Interesting... so would these "server components" be like front end components? Or more of an API that is listening to events and capable of responding with actions?

cc: @minimalsm

qbzzt commented 2 weeks ago

They can be either. I'm thinking of a use case that requires listening to events, but it can be triggered by any other input too.

wackerow commented 1 week ago

Gotcha, I see what you're getting at here. Sounds good from my end!

qbzzt commented 1 week ago

Written (#13228). Next, I'll submit a proposal for a sequel that teaches how to use zero-knowledge proofs for a centralized component that holds a secret state and can be trusted (#13234). Do you think it's better to use Zokrates or Cairo?

wackerow commented 3 days ago

Written (#13228). Next, I'll submit a proposal for a sequel that teaches how to use zero-knowledge proofs for a centralized component that holds a secret state and can be trusted (#13234). Do you think it's better to use Zokrates or Cairo?

@qbzzt Not sure personally as these aren't tools I have familiarity with; feel like I've heard more about Zokrates lately though, but I'll let you be the judge.