minibits-cash / minibits_wallet

MIT License
73 stars 7 forks source link

[Dev] Unable to debug app without "minibits service" #109

Open djpnewton opened 1 month ago

djpnewton commented 1 month ago

the development instructions say to set the environment values:

MINIBITS_SERVER_API_KEY='mockkey'
MINIBITS_SERVER_API_HOST='http://localhost/api' 

but it is not possible to run the app without a running minibits service

minibits-cash commented 1 month ago

Hi, minibits server provides support for mimibits.cash lnurl addresses, nostr identities, nwc and zaps processing.

All those features are optional and normal ecash transactions should not depend on them. Minibits supports as well providing external nostr identity - if so, it than turns off support for lightning address etc depending on server.

For dev environment it should be ok to create a mock server returning the POST /profile response, may be few more, most of the others api calls should not block ecash use cases.

Will be happy to hear what your goals are, we can discuss deeper any area you might think of to work on.

djpnewton commented 1 month ago

I was thinking about adding a nickname to the private contacts. But now I see that the "private note" field acts like a nickname.

Well perhaps there are still some improvements to be made: