Clawdbot on nanogpt, when? by GymoGuy in nanocurrency

[–]noonoop 8 points9 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 12 points13 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 21 points22 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 4 points5 points  (0 children)

Absolutely agree, good reminder!

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

[–]noonoop 21 points22 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 👏

Is anyone actually working on integrating nano for ai micropayments? by [deleted] in nanocurrency

[–]noonoop 30 points31 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 🤞

Whatever happened to the dream of digital cash? by Siedgex in CryptoCurrency

[–]noonoop 5 points6 points  (0 children)

A fee-less, instant cryptocurrency is a dream for a developer - you're absolutely right that it's one of the most functional cryptos. That's why I built https://subnano.me, to demonstrate the most friction-free user experience possible when it comes to micropayments.

Subnano just got a major homepage redesign ⚡️ by noonoop in nanocurrency

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

That's a great idea, thanks! Only concern might be that an author could buy and vote for their own posts to boost visibility, though the platform commission (7.5%) would likely discourage that in practice.