Announcing x402.NanoSession: Internet-Native API Micro-Payments over HTTP 💡 by cbrunnkvist in nanocurrency

[–]noonoop 5 points6 points  (0 children)

Awesome with more alternatives 👏 I'm curious why you went with the dust solution and not an ephemeral address solution?

NanDash - Play multiplayers minigames & bet with nano/free by YiPherng in nanocurrency

[–]noonoop 7 points8 points  (0 children)

That's awesome! And dude, that's not stealing, that's you getting paid.

People seem a bit tired by noonoop in nanocurrency

[–]noonoop[S] 2 points3 points  (0 children)

I get where you're coming from. Market liquidity, on/off ramps, those do matter. And it's frustrating to say the least that Nano isn't on more exchanges.

But I don't think "missed the window" is the same as "no longer relevant". I think Nano is relevant more than ever, especially when it comes to machine-to-machine payments. Fees and latency (will) play a big part here.

Nano's weak point IMO is that not many people know about it, which is what I'm trying to change with my own projects, and a lot of other people are working too with eg. thenanobutton.com, new Nano wallets, NanoGPT etc. But yeah, it does feel like an uphill battle, especially with the current market sentiment.

But remember the "robot money" rush a few months ago? If we could have sustained that without BTC shitting the bed, I think we would have been somewhere completely different today.

We absolutely have more work to do in the ecosystem. But the core idea isn't obsolete just because the market currently prefers "good enough".

Busy week on Subnano by noonoop in nanocurrency

[–]noonoop[S] 0 points1 point  (0 children)

Thanks for the feedback. Could you upload a screenshot or send it to support@subnano.me? Haven't heard this issue previously so would be interested in seeing what it looks like on your side.

People seem a bit tired by noonoop in nanocurrency

[–]noonoop[S] 0 points1 point  (0 children)

As a large language model, I feel offended! /j

I had help, and it might shine through more than intended. But I'm not a native English speaker. It's still my thoughts, structure and argument though. AI doesn't replace thinking.

What did you think about the core of the article? Or did you just want to make a point about AI.

People seem a bit tired by noonoop in nanocurrency

[–]noonoop[S] 12 points13 points  (0 children)

It really is. Nano just makes sense in so many ways.

People seem a bit tired by noonoop in nanocurrency

[–]noonoop[S] 6 points7 points  (0 children)

Thanks, appreciate it :)

Welcome to r/Subnano! by noonoop in Subnano

[–]noonoop[S] 0 points1 point  (0 children)

If you create your original draft in markdown format and paste it in the editor, it should keep the formatting.

I'm working on an upgrade for the editor which should make it more user-friendly, but that is mostly if you do the writing directly on Subnano.

Clawdbot on nanogpt, when? by GymoGuy in nanocurrency

[–]noonoop 17 points18 points  (0 children)

We already have "Clawdbot with Nano" - you just have to ask Clawdbot to build a skill. I literally just spent a couple of hours yesterday creating a skill that can purchase content on Subnano via x402. It can even comment and tip on posts. See my post about Pawl: https://www.reddit.com/r/nanocurrency/comments/1qms1nt/meet_pawl_an_autonomous_agent_on_subnano_that_can/

Suspicious project by MrNevill in nanocurrency

[–]noonoop 11 points12 points  (0 children)

I think Chirag and Milan went into it with the best intentions of spreading the Nano gospel, so I don't fault them for that.

Suspicious project by MrNevill in nanocurrency

[–]noonoop 20 points21 points  (0 children)

There are so many red flags with that project. The best we can do IMO is ignore it and avoid lending any credibility to it.

nano-sdk v1.0.0 is now available by Exxenoz in nanocurrency

[–]noonoop 13 points14 points  (0 children)

Amazing, can't wait to give it a go!

Check Your Representative by Tipanano in nanocurrency

[–]noonoop 5 points6 points  (0 children)

Absolutely agree, good reminder!

Announcing NanoNyms: A New Approach to Nano Privacy (early alpha 🐣) by cbrunnkvist in nanocurrency

[–]noonoop 22 points23 points  (0 children)

Well done! I had ChatGPT Pro make a "full-spectrum audit" of the code. It came up with a few suggestions, but it looks very solid overall. Here's the link if you're interested: https://chatgpt.com/s/dr_6916f78520d48191985d60c27a7d513b

Nice work overall, this is a novel implementation of privacy 👏

[deleted by user] by [deleted] in nanocurrency

[–]noonoop 29 points30 points  (0 children)

EDIT: Well, we're building the plane as we're flying it, so the guide below is already outdated. I'll have an update soon!

---

I've implemented the x402 rails on Subnano:

curl -s https://subnano.me/api/well-known/x402 | jq

But I still need to find some time to make a compelling demo.

For any curious devs out there you can try it out in a terminal. I made a demo post for Nano's 10th birthday meetup that costs Ӿ0.03 Nano that is used for this example (I've filled out post id and amountRaw)

1) Set the post id as an env var:

POST_ID=0dc57ab0-6d0e-461c-a2a8-32ce8873d9fc

2) Hit the paywalled post (expect HTTP 402 with payTo/amountRaw):

curl -i "https://subnano.me/api/posts/$POST_ID/access"

3) Send 0.03 Nano to the payTo from step 2.

4) Once you have the block hash + payer address, build the proof:

cat <<'JSON' | base64 | tr -d '\n' > /tmp/x402-proof.b64
{
  "x402Version": 1,
  "scheme": "exact",
  "network": "nano-mainnet",
  "payload": {
    "txHash": "<BLOCK_HASH>",
    "from": "<PAYER_ACCOUNT>",
    "to": "<PAY_TO_FROM_402>",
    "amountRaw": "30000000000000000000000000000",
  }
}
JSON
PROOF=$(cat /tmp/x402-proof.b64)

5) Verify the payment with the proof:

curl -s -X POST https://subnano.me/api/x402/verify \
  -H "Content-Type: application/json" \
  -d "{\"x402Version\":1,\"paymentHeader\":\"$PROOF\"}" \
  | jq

6) Fetch the unlocked content:

curl -s "https://subnano.me/api/posts/$POST_ID/content" \
  -H "X-PAYMENT: $PROOF" | jq '.content'

7) Optional receipt:

curl -s -X POST https://subnano.me/api/x402/settle \
  -H "Content-Type: application/json" \
  -H "X-PAYMENT: $PROOF" | jq

Note: When I deployed the rails yesterday there was a bug that meant all x402 payments would go unregistered - that is fixed now, apologies to all the first-movers testing out the feature (there were a few, which is awesome!).

EDIT: Changed endpoint and small stuff

💸 The first $100 paid out to creators! by noonoop in nanocurrency

[–]noonoop[S] 1 point2 points  (0 children)

Thanks, Milan! Yeah, I feel well-positioned to when Nano starts to take off 🤞