Kusama Forum Tech Preview

I was funded by the Kusama Treasury to build an MVP Decentralized Forum for the Kusama Community to use instead of the Polkadot Forum.

I have published a video showing a technology preview of the new forum:

thumbnail

Basic tech stack:
Runtime running on polkadot-omni-node: GitHub - ethernomad/kusama-forum-runtime · GitHub
Content Pallet: GitHub - acuity-network/pallet-content: Substrate pallet for publishing content. · GitHub
Trusted Accounts Pallet: GitHub - acuity-network/acuity-trusted-accounts-pallet: FRAME pallet for trusted accounts. · GitHub
Acuity Index: GitHub - acuity-network/acuity-index: Event indexer for Substrate blockchains. · GitHub
Acuity IPFS Pinner: GitHub - acuity-network/acuity-ipfs-pinner · GitHub
Svelte Frontend: GitHub - ethernomad/kusama-forum-svelte · GitHub

I’ve implemented the Virto Connect functionality, but haven’t tested it. For now, account management works with Polkadot browser extensions.

I need to host it so that the community can test it out. Once it is tested, the runtime can be deployed as a Kusama parathread using KSM as the base token.

Please comment below if you would like to be a tester or have any questions. There are endless ways the forum can be improved.

Hi @jbrown thanks for the longawaited update on the decentralized Kusama forum. Happy to test it once you have the hosted version!

Nice Demo, thank you! I have a few questions:

  • How is this different from Subsocial and the tech they developed a while back?
  • Who is expected to provide high-availability IPFS pinning? Any plans to use the bulletin chain which may be a good fit once PoP-based-storage allowances are introduced?
  • How do you intend to decentralize ownership if you rely on pallets? Do you expect this to become a new systemchain? If not, how would you give up control and how would governance work?
  • What’s your updated deployment roadmap?

Thanks @florentina57 !

  • How is this different from Subsocial and the tech they developed a while back?

Kusama Forum is an instance of the Acuity Network stack, which in turn is a port of MIX, which had a very similar architecture built on an EVM chain.

From AI:

Subsocial emphasizes social primitives:

  • posts
  • comments
  • follows
  • reactions
  • reputation
  • moderation
  • monetization hooks

The docs suggest a richer social-native chain model intended for many app types.

Kusama Forum uses a deliberately minimal on-chain state model.

From pallet-content:

  • chain stores only compact control state
    • owner
    • latest revision number
    • lifecycle flags
  • content payload references are emitted in events
  • parents/links/mentions are also in events, not storage

This is a very specific design choice:

  • chain = canonical control/auth state
  • events = relationship/history feed
  • IPFS = actual payload
  • indexer = queryable materialized view

Result

Compared to Subsocial, Kusama Forum is more aggressively event-sourced and off-chain-materialized.

  • Who is expected to provide high-availability IPFS pinning? Any plans to use the bulletin chain which may be a good fit once PoP-based-storage allowances are introduced?

It doesn’t really fit into the Acuity architecture to have storage for 2 weeks.

There needs to be a network of paid standardized “rich nodes” that the user can choose from. They will provide many services such as state queries, event indexing, IPFS pinning, IPFS location caching, private data storage, full text search, AI, etc.

GitHub - acuity-network/acuity-index: Event indexer for Substrate blockchains. · GitHub is the first component of this

  • How do you intend to decentralize ownership if you rely on pallets? Do you expect this to become a new systemchain? If not, how would you give up control and how would governance work?

My general thinking is that there will be many parachains with the pallet content installed, each with their own native coin: Feeds, Topics, Forums, Wiki, Marketplace, etc.

The root forum content item can be owned by a DAO. I’m interested in DAO-based content moderation court. Moderators can be elected into place. Judgements can be challenged in a court. Moderators can be removed if necessary.

Of course, anyone can write a dapp that has a completely different moderation system for the same content.

  • What’s your updated deployment roadmap?

I’ve just released the latest version of Acuity Index. I think I’ll have a hosted version of Kusama Forum available in a couple of weeks.