✅ Web3 in C#?
I'm working on a realtime chat application, and i saw there's some library for interacting with web3 for .NET, like Nethereum for the Ethereum blockchain.
Is C# a viable option for web3? My chat application has a React frontend and an ASP.NET web api, so i'm wondering if i could ever convert it to be web3, just for the purpose of learning new stuff
5 Replies
Afaik, Web3 is just serverless running on the blockchain. So... there is no conversion required. You just integrate your app with a function running on the blockchain to add financial and identity features to your app
Or am I missing something?
I'm confused how web3 is relevant to a chat app
(I mean I'm also confused how "web3" is even useful)
Well, you ain't wrong here ahah. I talked about the chat app, but the question is about web3 with C# in general
How do you intend to use the blockchain for your app?
what is your goal?
In general, Web3 is an obscure mumbojumbo word like the meta-verse.
Do you wish to allow your chat app users to send each other money? Or authenticate via the blockchain?
Or you wish to have the entire application decentralized?
.NET and C# should be theoretically fine - you can create a Blazor WASM Client, that a will be delivered to users from a decentralized network. The client will be your chat app, that will connect to smart contracts (serverless functions on the blockchain) to operate financial and identity operations on the blockchain. The chat will have to be peer to peer, because you cannot store data on the network - that would require a centralized storage from some provider.
So you'd be basically creating telegram with some Blockchain features. E.g., instead of authenticating via a phone number, you use your Blockchain wallet.
Really depends on how you want to use the decentralized concept and the features of the Blockchain in general.
Your current approach assumes that you have an asp.net webapi running on a centralized server - you cannot really take that app and run it on the Blockchain as far as I know - this applies to any server app
Got it, so in this case my ASP NET backend is basically useless
Yeah, a decentralized chat app would be cool