076 SNS

One question @silverpill, is it theoretically possible to use crypto related features like in Mitra without the need to use JS?
I mean, literally everything crypto related appears to have Javascript as a mandatory dependency for whatever reason...
I know it's needed for client side mining, but for things like subscriptions though?

@ryo @silverpill
> I know it's needed for client side mining, but for things like subscriptions though?
Yes. I wish it has a simple fallback page for JS disabled.

> https://codeberg.org/silverpill/mitra
> cargo build --release --features production
Oh, it's in Rust too.
replies
1
announces
0
likes
1

@ryo Yes, it's possible. Monero subscriptions in Mitra don't require any client-side JS, all important processes happen at the back end. Ethereum subscriptions are different. The web page interacts directly with your browser wallet and the server only watches events in the blockchain. In theory, Ethereum subscriptions can be implemented without JS, but most people will be unable to use them because wallets are not designed for that. Ethereum is very web-oriented.

(In the beginning, #web3 was based on the idea that we don't need "servers" anymore, because everything can happen at the client side, people just need to connect their browser to Ethereum node and browse "dapps" hosted on IPFS... 8 years later "dapps" are ridiculously bloated but still require servers.)

@udon @ryo

>I wish it has a simple fallback page for JS disabled.

I don't think it's possible with mitra-web frontend. However, Monero subscriptions rely on ~5 non-standard API endpoints, everything else is mostly identical to Mastodon API (and I'm willing to improve compatibility further). I think someone can take existing no-JS frontend and add support for subscriptions.

@udon @silverpill I'm asking him specifically about the subscription part, would be neat if it doesn't require JS when alternative frontends come in.

@silverpill Thanks for the explanation.
Though honestly, I already knew the whole "no server" idea would flop from day 1.
Any experienced web developer would say, never trust the client side for security at all.
Client side should only ever be used as a viewer, all the calculations belong in the server side.