I'm not yet familiar enough with JavaScript. My solution was written in PHP. Demo is here:
https://kuopassa.net/temp/twetch.app/bot
And the source file is here:
What the chain says
- Block
- 643 947
- Time
- 2020-07-16T12:26:25Z
- Signer
- 1BRZLovV9s46Rb3fVSc9HJi4tACZZZNfiQ
- App
- twetch
- Type
- post
- Content type
- text/plain
- Name in tx
- twetch#2595
Fields the transaction did not carry are omitted. Open the payload to see the bytes as stored.
Signed by
1BRZLovV9s46Rb3fVSc9HJi4tACZZZNfiQ Verified