FEP-8c3f: Web Monetization

Warning

このFEPはまだ翻訳されていません。

ここから翻訳に協力することができます。

Summary

Web Monetization federation via [ActivityPub].

History

The ability to transfer money has been a long-standing omission from the web platform. As a result, the web suffers from a flood of advertising and corrupt business models. Web Monetization provides an open, native, efficient, and automatic way to compensate creators, pay for API calls, and support crucial web infrastructure.

[Web Monetization] is being proposed as a W3C standard at the Web Platform Incubator Community Group.

Requirements

In GNU social this is implemented on a plugin using an extra property gs:webmonetizationWallet on the actor object.

Example

{
  "type": "Person",
  "streams": [],
  "@context": [
    "https://www.w3.org/ns/activitystreams",
    {
      "gs": "https://www.gnu.org/software/social/ns#"
    },
    {
      "webmonetizationWallet": {
        "@id": "gs:webmonetizationWallet",
        "@type": "@id"
      }
    }
  ],
  "id": "https://social.gnusocial.rocks/actor/42",
  "inbox": "https://social.gnusocial.rocks/actor/42/inbox.json",
  "outbox": "https://social.gnusocial.rocks/actor/42/outbox.json",
  "following": "https://instance.gnusocial.test/actor/42/subscriptions",
  "followers": "https://instance.gnusocial.test/actor/42/subscribers",
  "preferredUsername": "alice",
  "name": "Alyssa P.Hacker",
  "url": "https://social.gnusocial.rocks/@alice",
  "webmonetizationWallet": "$wallet.example.com/alice"
}

About the value of gs:webmonetizationWallet

That string is the same as the example one in Web Monetization specification and it consists on a payment pointer.

Payment Pointers start with a $ character to distinguish them from other identifiers and make it obvious that they are related to payments. To convert a Payment Pointer to a URL the $ is replaced with the standard prefix of a secure URL, https://.

参考文献

  • [ActivityPub] Christine Lemmer Webber, Jessica Tallon, ActivityPub, 2018
  • [Web Monetization] Adrian Hope-Bailie, Ben Sharafian, Nick Dudfield, Web Monetization, 2021

著作権

CC0 1.0 ユニバーサル (CC0 1.0) パブリック ドメイン

法律で認められる範囲において、この Fediverse 拡張提案の著者は、この作品に対するすべての著作権および関連する権利または隣接する権利を放棄しています。