plebbit-js
plebbit-js copied to clipboard
A Javascript API to build applications using plebbit
it should be a value added by the sub owner, it should be the index of the comment + 1 (so it starts at 1). it should be optional but...
Full convo here: https://t.me/plebbitjs/35127 I just realized the schema of RPC update emitted to client is pretty bad. It's basically a union of CommentIpfs | CommentUpdate. I think it will...
A lot of people have requested a docker image I think maintaining an image is probably overkill, a bash script that downloads plebbit-cli and starts it in docker is probably...
The first step of tipping would be some EVM/solidity smart contract with an API similar to: tip(commentCid, address, amount) getTips(commentCid) though with this API I'm not sure how we could...
for example, maybe the user has a libp2pjs client set, but for whatever reason, it fails to fetch, it would be good to be able to fallback to gateways. same...
I've been thinking about something I've noticed with URL and image providers in the past. When you upload an image, in some cases a malicious image hoster would change what...
The challenges API for pending approvals should be: ```js const pendingApprovalChallengeSubplebbit = { title: 'pending approval challenge subplebbit', settings: { challenges: [ { // always fail this challenge, so all...
When publishing a comment, `plebbit-js` attempts to subscribe to a pubsub topic but fails with: ```bash Error: Already subscribed to [subplebbit address] with this handler ``` The comment may still...
For example we could do `/page-1` \, `/page-2`, etc. We could actually set up the entire subs like this `subplebbit/hot/page-1`, `subplebbit/hot/page-2`, etc We could also do it for post replies...
### Problem Currently `plebbit-js` believes whatever ETH RPCs tells it who owns a domain and its record values. There's no way to validate against RPC tampering with blockchain states in...