near / near-discovery

The homebase for Near Builders
https://dev.near.org
The Unlicense
48 stars 68 forks source link

[Suggestion] Create NEAR template with preconfigured WalletSelector + SocialDB on live deploy service like Glitch/Replit/Stackblitz #1224

Open mpeterdev opened 6 days ago

mpeterdev commented 6 days ago

BOS is commonly used for hackathons. We would like to have another option to point developers towards which gives them the same benefits of building on BOS without the security and capability limitations of BOS

Goals:

In the bos-web-engine repo, we have packages for a prebuilt WalletSelector UI which is very similar to the BOS header dropdown, and we have a library for interacting with SocialDB which even has a more ergonomic hooks interface.

If we provide a Glitch/Replit/Stackblitz template which bundles these things and a developer can spin it up then immediately start writing React code for their hackathon project (including npm deps), does that supersede the use case of BOS for hackathons?

frol commented 6 days ago

Stackblitz looks exactly right, and I agree that this direction would close the gap, but for that Wallet Selector and NAJ have to have a clean API and I wish we invested in that more. @mpeterdev you seemed to be on it, so once that is done, we can get back to this topic.

frol commented 6 days ago

Also, we may consider evolving jutsu.ai since they are eager to contribute to the ease of fromt-end development on NEAR

gagdiez commented 6 days ago

I like the idea.

Whatever template we create, lets make sure to make it is compatible with existing scaffolding tools and templates.

Otherwise please remember to take on the task of updating all the documentation, scaffolding tools and templates, so people does not have friction when reading the docs or checking other examples