Replying to Avatar Thomas

Err402 nginx P2PK locked ecash benchmark

https://github.com/DhananjayPurohit/ngx_l402

Client/Customers (left): Sending ecash locked to Servers Pubkey (simulating 32 tx/sec to nginx err402 endpoint)

Server (middle): Collecting ecash, once in a while redeem over lightning to the Providers LNURL (BOLT12 soon)

Provider (right): Get the earned sats via lightning

#soveng

nostr:nprofile1qqsg8kve59yxyhpa9wupntesvnq0dgfd0k5g769jc6fzrua8gct36xgpzpmhxue69uhkumewwd68ytnrwghszrnhwden5te0dehhxtnvdakz7p5n66j

nostr:nprofile1qqsqfh90y4fgqxfh68pqk6ddlztydusm20qhjp38r53v005metdedsqpp4mhxue69uhkummn9ekx7mqpz3mhxue69uhhyetvv9ujuerpd46hxtnfdu0m9g8x

nostr:nprofile1qqs9pk20ctv9srrg9vr354p03v0rrgsqkpggh2u45va77zz4mu5p6ccpzemhxue69uhk2er9dchxummnw3ezumrpdejz7qgkwaehxw309a5xjum59ehx7um5wghxcctwvshsfmrzrk

https://blossom.primal.net/fe693c5713b1e8ed60e70529ba1dad0a8803922c001c1410391eeaf19001d58a.mp4

Is it easy to setup different prices for different endpoints?

Reply to this note

Please Login to reply.

Discussion

yes, default ms sats each endpoint (nginx.conf), and you can update via Redis “SET /protected 15000” default settings on the fly.

@DhananjayPurohit

correct me, if I am wrong.

Exactly right 👍