https://github.com/joystream/substrate-forum-module
An on-chain forum.
https://github.com/joystream/substrate-forum-module
blockchain forum rust substrate
Last synced: 10 months ago
JSON representation
An on-chain forum.
- Host: GitHub
- URL: https://github.com/joystream/substrate-forum-module
- Owner: Joystream
- Created: 2019-05-11T12:01:59.000Z (about 7 years ago)
- Default Branch: master
- Last Pushed: 2020-03-06T15:02:36.000Z (over 6 years ago)
- Last Synced: 2025-04-23T15:46:50.902Z (about 1 year ago)
- Topics: blockchain, forum, rust, substrate
- Language: Rust
- Size: 470 KB
- Stars: 11
- Watchers: 6
- Forks: 5
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# Substrate Forum Module
A resusable Substrate forum module.
## WIP
This README is a placeholder, until we get a standard structure established.
## Background
A simple example of a runtime module demonstrating
concepts, APIs and structures common to most runtime modules.
This repo serves as a template for writing new modules for substrate runtimes
as independent reusable rust library.
The main `lib.rs` also has a template for writing documentation for the module, following the same style as substrate srml modules. This can be easily derived from the specs written for the module during the design phase.
Since there isn't yet a stable substrate release we are still using a commit hash when referencing the dependencies on substrate packages in Cargo.toml. The same commit hash should be used in the runtime library.
Eventually when a stable API is reached we can move to using version numbers and get dependencies from published crates on crates.io
Here is a [sample PR](https://github.com/Joystream/substrate-runtime-joystream/pull/57) for how to use the module in the Joystream runtime.
Rust docs can be viewed by running:
`cargo doc --package runtime-example-module --open`
Recommended style guides:
Joystream Rust : https://github.com/Joystream/joystream/issues/36
Substrate Rust: https://wiki.parity.io/Substrate-Style-Guide