Avatar
BtcPins
50a9326de0b1aed1b364bf02affc4129fe320e27438e471acbb0605c81ab87bb
Pins Shop

I think I just got automatic commission payouts over lightning working on individual store items 👍

This is useful for collaboration pins where a cut of sales go to an artist or a non-profit when it's a fundraiser.

Yep. Prices condense a insane amount of information into just a few digits.

I think it's helpful to look at the monetary supply inflation along with the costs of goods that I actually plan on buying in the future. Monetary inflation doesn't effect the price of everything equally or at the same speed, as the state manipulates the prices of everything differently.

BtcPins affiliate links are live!

No sign-up. No KYC. Nothing more than your lightning address.

Create affiliate links at btcpins.com/affiliate-signup

Use one that shows your lightning address or the long one that encrypts it for privacy.

Sats stream to you when an order ships!

I can also manually create custom affiliate links, tied to a lightning address. Good for podcasts or meetups to earn sats. If you want to support nostr:nprofile1qqs8suecw4luyht9ekff89x4uacneapk8r5dyk0gmn6uwwurf6u9ruspzpmhxue69uhkumewwd68ytnrwghszxthwden5te0wfjkccte9eekummjwsh8xmmrd9skctcpz4mhxue69uhhyetvv9ujuerpd46hxtnfduhs2juazd you can use btcpins.com/?aff=opensats . Sales will support devs and open source projects.

What powers this? I used AI to write another plugin. Pulse

It works on Woocommerce and integrates with nostr:nprofile1qqs22d4tralncqfnh2kmmarjkxk8449hwnk5xtqe3y5yry6hy7ytegqpzemhxue69uhk2er9dchxummnw3ezumrpdejz7qgcwaehxw309ahx7um5wghxvmt59emkj73wvf5h5tcpz4mhxue69uhhyetvv9ujuerpd46hxtnfduhsymkvl9

Check out Pulse

https://github.com/pardus79/Pulse

Replying to Avatar BtcPins

I was making good progress on a new Woocommerce / nostr:nprofile1qqs22d4tralncqfnh2kmmarjkxk8449hwnk5xtqe3y5yry6hy7ytegqpzemhxue69uhk2er9dchxummnw3ezumrpdejz7qgcwaehxw309ahx7um5wghxvmt59emkj73wvf5h5tcpz4mhxue69uhhyetvv9ujuerpd46hxtnfduhsymkvl9 plugin when Lunanode went down tonight.

So it's an affiliate app. People can earn sats shilling my store. That's not the cool part though.

1. No need to create an account on my site. All you do is take your lightning address and encrypt that with a public key I provide, add it to my store URL. I'll have a page that makes that easy, but you can verify it or do it yourself 👍

The URLs it makes are pretty long, but that's a later problem.

2. When someone buys something after following your link, the plugin decrypts the referral URL, calculates the payout, then sends some API calls to my nostr:nprofile1qqs22d4tralncqfnh2kmmarjkxk8449hwnk5xtqe3y5yry6hy7ytegqpzemhxue69uhk2er9dchxummnw3ezumrpdejz7qgcwaehxw309ahx7um5wghxvmt59emkj73wvf5h5tcpz4mhxue69uhhyetvv9ujuerpd46hxtnfduhsymkvl9 to create a Pull Payment then a Payout Request for that. Then Btcpayserver sends the payment to the lightning address.

3. The plugin confirms that was all done and adds some notes to the order so it doesn't get paid twice.

I'm making this mainly because I hate marketing and want others to do it for me. Also I don't want to have to deal with tracking orders and paying people manually. Set it and forget it.

Got payouts to work! See how fast the payout occurred after the order was marked completed (shipped)? Straight to a lightning address that was encrypted in the affiliate link with no sign-ups by the affiliate.

So less than 24hrs from 0 to working prototype. A non-coder using AI.

Next, allow unencrypted lightning addresses in links and some vanity links in the settings.

nostr:nevent1qqs07n8ucz9ujrm2snsc9yn5jznwu2k4ljkluhr55hkdlkdvcrj2cnspz9mhxue69uhkummnw3ezuamfdejj7q3q2z5nym0qkxhdrvmyhup2llzp98lryr38gw8ywxktkps9eqdts7asxpqqqqqqz90swrz

It doesn't work yet.

It works up to the point of sending the initial pull payment to Btcpayserver but doesn't authorize the actual payout yet. Which I was trying to get to work when Lunanode went down, a long with my Btcpayserver.

Got a lot done considering I started it this morning.

I was making good progress on a new Woocommerce / nostr:nprofile1qqs22d4tralncqfnh2kmmarjkxk8449hwnk5xtqe3y5yry6hy7ytegqpzemhxue69uhk2er9dchxummnw3ezumrpdejz7qgcwaehxw309ahx7um5wghxvmt59emkj73wvf5h5tcpz4mhxue69uhhyetvv9ujuerpd46hxtnfduhsymkvl9 plugin when Lunanode went down tonight.

So it's an affiliate app. People can earn sats shilling my store. That's not the cool part though.

1. No need to create an account on my site. All you do is take your lightning address and encrypt that with a public key I provide, add it to my store URL. I'll have a page that makes that easy, but you can verify it or do it yourself 👍

The URLs it makes are pretty long, but that's a later problem.

2. When someone buys something after following your link, the plugin decrypts the referral URL, calculates the payout, then sends some API calls to my nostr:nprofile1qqs22d4tralncqfnh2kmmarjkxk8449hwnk5xtqe3y5yry6hy7ytegqpzemhxue69uhk2er9dchxummnw3ezumrpdejz7qgcwaehxw309ahx7um5wghxvmt59emkj73wvf5h5tcpz4mhxue69uhhyetvv9ujuerpd46hxtnfduhsymkvl9 to create a Pull Payment then a Payout Request for that. Then Btcpayserver sends the payment to the lightning address.

3. The plugin confirms that was all done and adds some notes to the order so it doesn't get paid twice.

I'm making this mainly because I hate marketing and want others to do it for me. Also I don't want to have to deal with tracking orders and paying people manually. Set it and forget it.

Ah ok. If I have any invite codes, I can't find them on my Alby acct 🤷

Wow. Alby Go is simple AF