https://github.com/numtel/piece-chat
https://github.com/numtel/piece-chat
Last synced: about 1 year ago
JSON representation
- Host: GitHub
- URL: https://github.com/numtel/piece-chat
- Owner: numtel
- Created: 2023-02-26T09:18:58.000Z (about 3 years ago)
- Default Branch: main
- Last Pushed: 2023-03-27T22:25:36.000Z (about 3 years ago)
- Last Synced: 2025-02-15T04:42:33.461Z (about 1 year ago)
- Language: JavaScript
- Homepage: https://nonphysical.systems/
- Size: 1.3 MB
- Stars: 0
- Watchers: 2
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# Piece.chat
Reddit-style message board with no superadmin—everything directly on chain!
## Installation
```
$ git clone https://github.com/numtel/piece-chat.git
$ cd piece-chat
$ npm install
```
Download the `solc` compiler. This is used instead of `solc-js` because it is much faster. Binaries for other systems can be found in the [Ethereum foundation repository](https://github.com/ethereum/solc-bin/).
```
$ curl -o solc https://binaries.soliditylang.org/linux-amd64/solc-linux-amd64-v0.8.15+commit.e14f2714
$ chmod +x solc
```
## Development Frontend
Build the contracts, run the localhost development chain, and host the frontend.
```
$ npm run build-dev
$ npm run dev-chain
$ npm run dev
```
## Testing Contracts
```
# Build contracts before running tests
$ npm run build-dev
$ npm test
```
## License
MIT
## TODO
* identity interface - coinpassport, avatars, custom text
* ~~ens all the things!~~
* ~~edit post~~
* ~~moderator mint, suppress~~
* ~~owner manage mods, arbitrary transfer~~
* ~~factory board browsing~~
* ~~post sort by newest, oldest, controversial (votes/abs(upvotes-down))~~
* ~~pagination, load more, suppression level to display~~
* fix router back button
* ~~zero address as active account on hot refresh?~~
* account profile page
* feed of multiple boards at once