# Pay-per-Content with IOTA

**URL:** <https://forum.ghost.org/t/pay-per-content-with-iota/23571>\
**Category:** Using Ghost\
**Created:** [June 18, 2021, 6:38pm UTC](https://forum.ghost.org/t/pay-per-content-with-iota/23571 "2021-06-18T18:38:22Z")\
**Posts on this page:** 11\
**Page:** 1

<div class="post-metadata">

**Author:** ![KIT](https://sea1.discourse-cdn.com/flex015/user_avatar/forum.ghost.org/kit/32/13448_2.png) [@KIT](https://forum.ghost.org/u/KIT)\
**Post date:** [June 18, 2021, 6:38pm UTC](https://forum.ghost.org/t/pay-per-content-with-iota/23571/1 "2021-06-18T18:38:22Z")

</div>

Hi,

i started a pay-per-content gateway ( [GitHub - F-Node-Karlsruhe/ghost-iota-pay: Pay per content in ghost blog with IOTA](https://github.com/F-Node-Karlsruhe/ghost-iota-pay) ) and am currently looking for some helping hands.

The gateway works already very fine, but there are a few minor issues:

- I still don’t know how to get a link to the PPC Gateway in front of a paid article (at least not possible with the theme)
- The content is fetched by the admin API and only gets rendered in a very simple html for the paying user. You can find a flask proxy in the repo which could simply stream the entire ghost page to the user, but if have a hard time setting it up (authentication, headers and so on)

I’d love to find contributors who could bring in their knowledge in as well 🙂

Hope to hear from you soon.

---

<div class="post-metadata">

**Author:** ![KIT](https://sea1.discourse-cdn.com/flex015/user_avatar/forum.ghost.org/kit/32/13448_2.png) [@KIT](https://forum.ghost.org/u/KIT)\
**Post date:** [June 20, 2021, 7:49pm UTC](https://forum.ghost.org/t/pay-per-content-with-iota/23571/2 "2021-06-20T19:49:22Z")

</div>

Update:

I fixed the html rendering issue like described in this post: [Accessing Member only or Paid member only post by API - #7 by KIT](https://forum.ghost.org/t/accessing-member-only-or-paid-member-only-post-by-api/16529/7)

The other issue remains. Looking forward to get some help from ghost pros how to integrate this button option into ghost.

---

<div class="post-metadata">

**Author:** ![KIT](https://sea1.discourse-cdn.com/flex015/user_avatar/forum.ghost.org/kit/32/13448_2.png) [@KIT](https://forum.ghost.org/u/KIT)\
**Post date:** [June 22, 2021, 8:17am UTC](https://forum.ghost.org/t/pay-per-content-with-iota/23571/3 "2021-06-22T08:17:03Z")

</div>

Almost finished. The only thing missing now is the wallet browser extension and the deep linking with data attached. In the current phase it is not yet so convenient.

Check it out here: [How to pay for the other article](https://blog.f-node.de/how-to-pay-for-the-other-article/)

---

<div class="post-metadata">

**Author:** ![KIT](https://sea1.discourse-cdn.com/flex015/user_avatar/forum.ghost.org/kit/32/13448_2.png) [@KIT](https://forum.ghost.org/u/KIT)\
**Post date:** [June 22, 2021, 5:02pm UTC](https://forum.ghost.org/t/pay-per-content-with-iota/23571/5 "2021-06-22T17:02:14Z")

</div>

Reupload:

For those who rather watch:

[![](https://us1.discourse-cdn.com/flex015/uploads/ghost2/original/3X/0/0/0074cf7c500b99a2cd13dc8e155ef89fbcce9556.jpeg "Ghost IOTA Pay - Paying per content in a ghost blog") ](https://www.youtube.com/watch?v=3XG2W9J3b1A)

---

<div class="post-metadata">

**Author:** ![josephkman](https://sea1.discourse-cdn.com/flex015/user_avatar/forum.ghost.org/josephkman/32/11149_2.png) [@josephkman](https://forum.ghost.org/u/josephkman)\
**Post date:** [June 22, 2021, 11:15pm UTC](https://forum.ghost.org/t/pay-per-content-with-iota/23571/6 "2021-06-22T23:15:13Z")

</div>

This is a promising idea, do you have any plans of doing the same with other currencies (via Stripe)? I had to look up IOTA, I don’t think it’s very mainstream.

---

<div class="post-metadata">

**Author:** ![KIT](https://sea1.discourse-cdn.com/flex015/user_avatar/forum.ghost.org/kit/32/13448_2.png) [@KIT](https://forum.ghost.org/u/KIT)\
**Post date:** [June 23, 2021, 6:55am UTC](https://forum.ghost.org/t/pay-per-content-with-iota/23571/7 "2021-06-23T06:55:00Z")

</div>

I have not yet planned to integrate other cryptos, but porting the implementation should be fairly easy:

**Portability**  
Just exchange the iota client with another and listen to a given address. The rest stays the same 🙂 I encourage you to fork the repo, maybe we can build a multi crypto version together.

**Regarding IOTA**  
The reasons i chose IOTA are the following:

- Feeless: if paying for a post the price should range in the sub one dollar region, so any fee at all would destroy the incentive to use a pay per content offer.  
Other than that it was the initial idea to implement a feeless version because all other solutions are costly (paypal, stripe, patreon, onlyfans etc.)
- Scalable: other than blockchains, the IOTA Tangle scales, i.e. even if a million blog users use a such system at the same time it wouldn’t be an issue → still fast and feeless
- Speed: other than my slow test\_wallet in python, the [official wallet](https://firefly.iota.org/) needs around 2 seconds for a transaction. The internet user is impatient. Even 2 seconds is an eternity for them. Waiting an hour (bitcoin) or minutes (ethereum) for a transaction to confirm is out of question when you want to buy just an article for a quick read.

On top IOTA is very well known and connected here in the DACH region as a non-profit based in Germany. But afaik. it is less known around the world, that’s right.

**Regarding stripe**  
I don’t have much experience with stripe. But as far as i know it is already part of the ghost stack. So maybe it would be better to build a pay per content solution with it within ghost (?) other than using my gateway approach.  
Still, stripe is a costly payment provider and may prove not cost-effective in a pay per content situation.

Hope i could answer all your questions properly 🙂

---

<div class="post-metadata">

**Author:** ![josephkman](https://sea1.discourse-cdn.com/flex015/user_avatar/forum.ghost.org/josephkman/32/11149_2.png) [@josephkman](https://forum.ghost.org/u/josephkman)\
**Post date:** [June 24, 2021, 2:18am UTC](https://forum.ghost.org/t/pay-per-content-with-iota/23571/8 "2021-06-24T02:18:38Z")

</div>

Thanks for clarifying. You are right Stripe fees are highs, but I was thinking of higher value items ($5.00+) akin to ebooks.

As for forking, my coding skill is weak to non-existent. Sad!

---

<div class="post-metadata">

**Author:** ![KIT](https://sea1.discourse-cdn.com/flex015/user_avatar/forum.ghost.org/kit/32/13448_2.png) [@KIT](https://forum.ghost.org/u/KIT)\
**Post date:** [June 26, 2021, 3:00pm UTC](https://forum.ghost.org/t/pay-per-content-with-iota/23571/9 "2021-06-26T15:00:04Z")

</div>

**Call for action**

I just pushed the first alpha [release](https://github.com/F-Node-Karlsruhe/ghost-iota-pay/releases) :)

I’m currently abusing the location field to manage an authors personal address. This is not optimal, but works, as this field takes all kind of strings.  
I already looked into ghost but i’m not familiar enough with it to make a pull request.

**This pull request should contain:**

- An additional information field for the author(user) which can contain an arbitrary string of information to house a donation/payment address. This can be anything, from patreon links, to crypto addresses.  
Current workaround: [GitHub - F-Node-Karlsruhe/ghost-iota-pay: Pay per content in ghost blog with IOTA](https://github.com/F-Node-Karlsruhe/ghost-iota-pay#author-address-setup)

I hope somebody attends to do a such PR.

  

Further i would appreciate if you could give some feedback on my work 🤓

Looking forward to it

---

<div class="post-metadata">

**Author:** ![KIT](https://sea1.discourse-cdn.com/flex015/user_avatar/forum.ghost.org/kit/32/13448_2.png) [@KIT](https://forum.ghost.org/u/KIT)\
**Post date:** [July 15, 2021, 9:21am UTC](https://forum.ghost.org/t/pay-per-content-with-iota/23571/10 "2021-07-15T09:21:17Z")

</div>

I am currently waiting for this issue ([Allow messages/data attachments on transactions · Issue #1256 · iotaledger/firefly · GitHub](https://github.com/iotaledger/firefly/issues/1256)) to become a PR and get finally merged.

Because in the current state the solution is not very convenient for the consumer.

When merged, the purchase process will finally be a 2 click experience :)

Stay tuned.

---

<div class="post-metadata">

**Author:** ![KIT](https://sea1.discourse-cdn.com/flex015/user_avatar/forum.ghost.org/kit/32/13448_2.png) [@KIT](https://forum.ghost.org/u/KIT)\
**Post date:** [August 26, 2021, 8:39am UTC](https://forum.ghost.org/t/pay-per-content-with-iota/23571/11 "2021-08-26T08:39:02Z")

</div>

The idea evolved into a service which is quite easy to use 🙂

Check it out.

> [@Pay per content service - RFC](https://forum.ghost.org/t/pay-per-content-service-rfc/24871):
>
> Hey there, i started building a little pay per content plugin in this thread here [Pay-per-Content with IOTA](https://forum.ghost.org/t/pay-per-content-with-iota/23571) I resumed the idea now and built a platform where one can simple register his/her blog monetize the posts per click. I’m curious what you think about the idea. It is already quite easy imo to sign up, add a blog and put some posts on ‘paid’. I invite you to try it out, it’s free. Really looking forward to your feedback :)

---

<div class="post-metadata">

**Author:** ![block](https://avatars.discourse-cdn.com/v4/letter/b/839c29/32.png) [@block](https://forum.ghost.org/u/block)\
**Post date:** [June 29, 2023, 10:04pm UTC](https://forum.ghost.org/t/pay-per-content-with-iota/23571/13 "2023-06-29T22:04:34Z")

</div>

Why you used a crypto and not Bitcoin (Lightning Network), eventually with btc pay server integration? Just curious.
