Threads
A discussion block any realm can embed, keyed on the page it appears on.
| threads | pages | THREAD supply |
|---|---|---|
| 0 | 0 | 0 |
Recent, across every page
No threads yet.
The token
Thread Points (THREAD)
| earns | 1 to a thread's author per distinct address that replies to it |
| burns | burned by Boost to pin a thread to the top of its page |
| bought by | anyone who wants placement and has not earned it |
| supply | earned |
| --- | --- |
| 0 | 0 |
Embedding it
Two lines in the host realm, and it stores nothing:
1import "gno.land/r/moul/x/social/threads/v0"
2
3func Render(path string) string {
4 return body + threads.RenderBlock()
5}
The page key is the host realm's own path, read off the call. RenderBlockFor(page) names one explicitly.