taikoxyz / taiko-mono

A based rollup. 🥁
https://taiko.xyz
MIT License
4.43k stars 2.08k forks source link

feat(website): better prover endpoint page #15048

Closed wolfderechter closed 6 months ago

wolfderechter commented 7 months ago

A better prover market where anyone can add a prover and only the online provers get shown. The DB has an endpoint where it will loop every prover pool and do a /status check to get the latest status.

The input field sends a request to the DB to create a new prover, where there is a hook that first does a /status check to see if the endpoint is a valid prover pool.

Some features:

The database can be found here github.com/wolfderechter/prover-market-page and is currently hosted at provers.dojonode.xyz.

Todo:

Current layout: image

vercel[bot] commented 7 months ago

@wolfderechter is attempting to deploy a commit to the taikoxyz Team on Vercel.

A member of the Team first needs to authorize it.

spachib commented 7 months ago

Would a nickname field be helpful? Some provers rock straight IPs

wolfderechter commented 7 months ago

Would a nickname field be helpful? Some provers rock straight IPs

Agreed, hence why I added the fourth TODO item. This way people can change their nickname in the .env, restart their prover and the name will automatically be updated in the next refresh. So everything happens permissionlessly and doesn't require a review from anyone.

spachib commented 7 months ago

Ah, missed that one :sweat_smile: right on man

wolfderechter commented 7 months ago

Related issues: https://github.com/taikoxyz/taiko-mono/issues/14795 https://github.com/taikoxyz/taiko-mono/issues/14837

wolfderechter commented 7 months ago

Feel free to make changes and take over the design btw! I just implemented some things to show how it currently works

samui68400 commented 7 months ago

What remains to be done? I've been reviewing your work on the dynamic provers page. I've checked out the website preview and the codebase. I'd like to contribute by adding a one-line copy-paste command for all the online provers. Would it be better for me to fork your repository or should I fork the official taiko-mono repository and work directly there?

2manslkh commented 6 months ago

Will create a branch called prover-endpoints-page

2manslkh commented 6 months ago

Also probably needs an auth mechanism, perhaps authenticating with Github?

wolfderechter commented 6 months ago

Also probably needs an auth mechanism, perhaps authenticating with Github?

Auth for moderating the data then? Because adding data is fully permissionless atm. But yeah adding auth with github is possible

2manslkh commented 6 months ago

Let's add that to the TODOs

2manslkh commented 6 months ago

Heads up: we will be moving the website out of the mono-repo to a new repository called taikoxyz/website

2manslkh commented 6 months ago

Please see: https://github.com/taikoxyz/website/pull/2

@wolfderechter @spachib