penumbra-zone / nextjs-penumbra-client-example

0 stars 3 forks source link

feat: implement simple connect-and-fetch app #4

Closed VanishMax closed 3 months ago

VanishMax commented 3 months ago

Test application with a simple logic:

It uses the most up-to-date APIs of penumbra-zone packages. Yet, it requires many libraries to accomplish this simple task:

Furthermore, the task gets even more complicated because of the lack of the exported methods and documentation.

Made some helper functions here and there to come up with better abstractions but not really satisfied with the result. I still think the API should be wallet-centric like it was proposed here: https://github.com/penumbra-zone/web/issues/1093#issuecomment-2163407450

I'd like to receive a review of this work and discuss how we can make it easier.

VanishMax commented 3 months ago

@grod220 Updated the deps and Prax wallet to make the stable version of this app. Didn't change the linter since the idea of this app is to add as little as possible to the default Next template