Avatar
bumi
330fb1431ff9d8c250706bbcdc016d5495a3f744e047a408173e92ae7ee42dac
working on getalby.com - a browser extension with lightning and Nostr support
Replying to Avatar chevdor

Are there options similar to what Brave is doing: adding a Tip button on sites like Reddit, Github, etc... (https://github.com/brave/brave-browser/issues/5040)

but for #lightning ?

An extension would be rather simple, I guess the challenge is to know the LNUrl for a given user.

Do you know how they do it if the recipient is not participating? can the recipient claim the amounts later?

Replying to Avatar chevdor

Are there options similar to what Brave is doing: adding a Tip button on sites like Reddit, Github, etc... (https://github.com/brave/brave-browser/issues/5040)

but for #lightning ?

An extension would be rather simple, I guess the challenge is to know the LNUrl for a given user.

that works with Alby.

for example: https://github.com/secondl1ght

we should probably also inject some button in the website.

It's added by the sender, correct? so it should be supported.

but we don't validate it. I will check this.

Replying to Avatar PABLOF7z

nostr:npub1xv8mzscll8vvy5rsdw7dcqtd2j268a6yupr6gzqh86f2ulhy9kkqmclk3x did you guys added support for NIP-57's new P tag on your zapper?

oh, which one is the new P tag? 🙀

I think an optionDependency would be better in this case. because then developers can at least decide if to install it. It it does not need to be installed if not needed (though npm will still try to install it by default)

https://docs.npmjs.com/cli/v10/configuring-npm/package-json#optionaldependencies

It's the same thing for window.webln and I think payments+identity go well together.

An NWC app/wallet can also be a nsecbunker. It can then handle payments + signing requests.

and apps have one integration.

Replying to Avatar JeffG

Anyone interested in helping bring nostr:npub1l2vyh47mk2p0qlsku7hg0vn29faehy9hy34ygaclpn66ukqp3afqutajft's Oauth-like login experience to many more apps?!

I've started a simple drop-in library that will enable any web client to trigger the creation of a new account (via nsecbunker) when a user without a NIP-07 extension tries to log in.

Repo here: https://github.com/erskingardner/nostr-ignition

can we take something from bitcoin connect there? and maybe even have a combination mode? 🤔

thanks for the clarification. do you think the dependency then also can be optional?

but why? and why force wasm on apps?

why does the JS nostr-tools now have some wasm dependency?

the ln account and the master key are independent of each other.

so if you add the same alby account to the extension it hat the same ln wallet.

still a bit of a UX issue sadly

the alby extension is not invite only. you can use it with any lightning node/wallet.

we also work hard on making more accounts available

Happy New Year, Nostr fiends!

on to an exciting 2024!