Pages:
Author

Topic: [BETA] BPIP Extension - user info add-on / extension for Firefox, Chrome, et al - page 6. (Read 8386 times)

legendary
Activity: 3654
Merit: 8909
https://bpip.org
I am not sure if we need any extra extension for that. In fact all we need is just a kind of on-mouse-over pop-up with a qrcode based on predefined user address. Could be in post section or on user's profile page. For amount - there could be a range, no?
https://github.com/fiatjaf/lnurl-rfc/blob/luds/06.md

This kind of change is very unlikely to be implemented on the forum itself (we still have long-dead messenger addresses on the user profile) so an extension or a user script is needed to add stuff to forum's HTML.

I don't think a QR code helps - you'd need a phone (or a second phone if you're browsing the forum on your phone).
legendary
Activity: 952
Merit: 1386
I am not sure if we need any extra extension for that. In fact all we need is just a kind of on-mouse-over pop-up with a qrcode based on predefined user address. Could be in post section or on user's profile page. For amount - there could be a range, no?
https://github.com/fiatjaf/lnurl-rfc/blob/luds/06.md
legendary
Activity: 3654
Merit: 8909
https://bpip.org
Merits are stated publicly, though. Tipping with Lightning is private and therefore can't be used alternatively as merits, unless we introduce third parties. I don't care much from the rest to know that I've donated; as long as the receiver knows it:

I don't mean the tip amounts should be displayed publicly (it wouldn't even be possible without some centralized tracking). Just that the button/link/whatever is next to +Merit. If you think the post is good enough for merit, it's likely good for tipping, is what I'm getting at.
legendary
Activity: 1512
Merit: 7340
Farewell, Leo
I think the hypothetical tipping option could be added to the "Merit a post" page, or the "+Merit" could be changed to "Merit or tip" (in case someone has no merits to send but has sats)
Merits are stated publicly, though. Tipping with Lightning is private and therefore can't be used alternatively as merits, unless we introduce third parties. I don't care much from the rest to know that I've donated; as long as the receiver knows it:


It could also be modded to search for a BTC mainnet address as well.
Tipping less than 10,000 sats shouldn't be done on-chain, IMO. But, yeah. It can easily work by searching your bitcoin address.
legendary
Activity: 3654
Merit: 8909
https://bpip.org
I'd expect a different, more valid response like "We should be realistic, very few posts are worth to tip".  Tongue

I think the hypothetical tipping option could be added to the "Merit a post" page, or the "+Merit" could be changed to "Merit or tip" (in case someone has no merits to send but has sats), and we do find meritable posts so there should be at least that many "tippable" too Smiley

How about a small link/icon in the existing extension, to a third party website that processes the tipping?

Sure, that'd be fine I think, as long as the third party doesn't require some excessive invasion of privacy or something like that.

It's unsolicited:

Yeah I know but I would have thought that "someone wants to give you money with no strings attached" could be an exception (I mean who doesn't want money?). Perhaps not though.
legendary
Activity: 1568
Merit: 6660
bitcoincleanup.com / bitmixlist.org
Being an extension, it could open the LN address using the default wallet app, but it requiresthat it support some kind of lightning:// protocol.
Some sort of custodial thing could work, but I doubt BPIP wants to do that. Just like theymos doesn't want to hold users funds for the same reason.

I'd like it though: Tipping micropayments on Bitcointalk.

Here is something that might work though. In the Bitcoin Address section of the profle, if an LN address is present, the BPIP extension opens the address using the default wallet application on the computer. Then you do the work of sending the money directly to the other user, without any middleman (I never liked the idea of having a middleman anyway). It could also be modded to search for a BTC mainnet address as well.
legendary
Activity: 3290
Merit: 16489
Thick-Skinned Gang Leader and Golden Feather 2021
I like the idea of tipping but it's tangential to the purpose of this extension so I think it would make more sense as a separate extension/userscript/etc.
How about a small link/icon in the existing extension, to a third party website that processes the tipping?

29. Sending unsolicited PMs, including but not limited to advertising and flood, is not allowed.
legendary
Activity: 1512
Merit: 7340
Farewell, Leo
You may have misunderstood me. I'm not against tipping or Lightning, it's just that it could be counterproductive if someone needs to install BPIP extension (that does many things they perhaps don't need) just to be able to tip.
Yes, sure. Tips can have their own experimental userscript at first.

We should be realistic about usage though. Most users on this forum probably have some sort of Bitcoin address.
I'd expect a different, more valid response like "We should be realistic, very few posts are worth to tip".  Tongue

It should be integrated into the forum software if you want to have any kind of impact on Lightning adoption... but you know what the answer to that is... "new forum software"
Compared to the Bitcoin network, only a minority uses Lightning. Compared to bitcointalk, only a minority uses extensions.

But, we don't need to find consensus for such upgrade. That's the spirit of Lightning anyway. We've developed an alternative way to settle transactions, outside the Bitcoin network, and you've developed a software that does have a forum impact without changing the forum itself. We need no one's permission.
legendary
Activity: 3654
Merit: 8909
https://bpip.org
Don't expect the users to get used to it with this behavior, though. If we don't appeal change, it won't magically happen gradually. Everyone does have a few sats to spare for a dual-funded channel.

Sure, a separate userscript might be better.

You may have misunderstood me. I'm not against tipping or Lightning, it's just that it could be counterproductive if someone needs to install BPIP extension (that does many things they perhaps don't need) just to be able to tip. On the other hand, if a separate user script is created - we could consider integrating it into the extension. The extension itself has very few users so I think it would be very limiting to the idea of tipping to have the functionality only in the extension.

We should be realistic about usage though. Most users on this forum probably have some sort of Bitcoin address. A small fraction use Lightning, an even smaller fraction accepts (or would like to send) tips, and an even smaller fraction would install a userscript/extension to do so. It should be integrated into the forum software if you want to have any kind of impact on Lightning adoption... but you know what the answer to that is... "new forum software" Grin.
legendary
Activity: 2212
Merit: 7064
Proposal: Tipping posts via Lightning.
As much as I like BPIP extension and I want this to be All-in-One extension, it would be to much to integrate Lightning payments.
However, I think it would be possible to add separate field for addresses that would indicate you could accept payment tips in BTC or in LN, but it wouldn't be much different than just adding this info in your profile.
You would have to use your own wallets for this, and no need for creating anything from scratch.

I don't think Lightning would work well for this, at least not as a way to tip anyone except a handful of users that actually have the ability to receive Lightning payments.
Separate userscript would be ok, but let's be realistic and check how many forum users have LN wallets ready for this.
legendary
Activity: 1512
Merit: 7340
Farewell, Leo
I don't think Lightning would work well for this, at least not as a way to tip anyone except a handful of users that actually have the ability to receive Lightning payments.
Don't expect the users to get used to it with this behavior, though. If we don't appeal change, it won't magically happen gradually. Everyone does have a few sats to spare for a dual-funded channel.

Sure, a separate userscript might be better.
legendary
Activity: 3654
Merit: 8909
https://bpip.org
I like the idea of tipping but it's tangential to the purpose of this extension so I think it would make more sense as a separate extension/userscript/etc.

I don't think Lightning would work well for this, at least not as a way to tip anyone except a handful of users that actually have the ability to receive Lightning payments. Hopefully I'm wrong about it. I wonder if it would be against forum rules to automatically send a PM if the recipient is not registered/declared/etc (whatever that entails) as being able to receive payments ("hey someone wants to send you money").
legendary
Activity: 1512
Merit: 7340
Farewell, Leo
You won't be able to tip every post. Only those whose authors own receiving capacity. I'm thinking it like this:

  • "Tip this post" sends you to blackhatcoiner.com/something_something/your_username
  • blackhatcoiner.com connects with the author's lightning node.
  • The lightning node creates an invoice with description, amount and sends it back to blackhatcoiner.com.
  • My page gives you that invoice.

That's a simple thought. To avoid trusting my page, we can include things like digital signatures of the author's node. I can't work on it at this moment, though, because I'm on vacations.
legendary
Activity: 3290
Merit: 16489
Thick-Skinned Gang Leader and Golden Feather 2021
Being an extension, it could open the LN address using the default wallet app, but it requiresthat it support some kind of lightning:// protocol.
Some sort of custodial thing could work, but I doubt BPIP wants to do that. Just like theymos doesn't want to hold users funds for the same reason.

I'd like it though: Tipping micropayments on Bitcointalk.
legendary
Activity: 1568
Merit: 6660
bitcoincleanup.com / bitmixlist.org
Proposal: Tipping posts via Lightning.

Haven't looked if the source code is available. I might write it myself if so.

Would be very hard to implement because it would have to load the user's profile page in the background and get the BTC address written in the "Address" section. And even then, I'm not sure how you would create a LN address from that.

Being an extension, it could open the LN address using the default wallet app, but it requiresthat it support some kind of lightning:// protocol.
legendary
Activity: 1512
Merit: 7340
Farewell, Leo
Proposal: Tipping posts via Lightning.

Haven't looked if the source code is available. I might write it myself if so.
legendary
Activity: 3570
Merit: 1959
You need to authorize the app: https://api.imgur.com/oauth2/authorize?client_id=09727b421c2303e&response_type=token

Copy the #access_token that the page will return (look at the URL bar) and use it as a Bearer token on the authorization field. Example:

Code:
     headers: { authorization: 'Bearer ef0da923dcd3c61bb4b5faa2c5418cfaef7ff340' },

Only problem is that the token expires every month, so you would need to do keep doing that.

Ha, no worries, thanks again man, that's perfect, love it! Wink

owl
legendary
Activity: 2212
Merit: 7064
It adds an imgur button that uploads your local file and appends the url inside a img tag.
This looks amazing and it's very useful for fast image upload, so this means we are going to see extension update between suchmoon and tryninja?
How about adding one more thing to BPIP extension reporters badge userscript created by mprep recently.
legendary
Activity: 2758
Merit: 6830
is if there was a way to upload hidden to your [own] imgur account(if even possible ofc)
You need to authorize the app: https://api.imgur.com/oauth2/authorize?client_id=09727b421c2303e&response_type=token

Copy the #access_token that the page will return (look at the URL bar) and use it as a Bearer token on the authorization field. Example:

Code:
     headers: { authorization: 'Bearer ef0da923dcd3c61bb4b5faa2c5418cfaef7ff340' },

Only problem is that the token expires every month, so you would need to do keep doing that.
legendary
Activity: 3570
Merit: 1959
Yeah I looked for any instance of a string (client-id) that long in my cookies but couldn't find anything that matched it, so not sure... I'm like 20 years behind on this web stuff, I will admit too. Tongue
Pages:
Jump to: