MultiversX Tracker is Live!

A Better Way to Build A Vue, Nuxt, React, etc... Server?

Etherum Reddit

More / Etherum Reddit 162 Views

I am building a dapp that relies on a Metamask auth to login. My dapp is basically a Nuxt app where certain whitelisted user can access extra Nuxt pages. It bothers me that hosting this dapp is centralized. It only looks at the Ethereum blockchain to make sure an address meets the requirements for the whitelisting. I wish this dapp could be serverless because as long as a server provides the Nuxt functionality this dapp is completely centralized.

So it occurred to me that when I write a smart contract, I actually write callable functions that can be accessed with the dapp user's Eth wallet. Annnnnnnnnd what is a Nuxt app other than a series of functions that load view pages.... So could I write the entire Nuxt server as a Solidity smart contract? Has anyone done this?

If the gas cost would make this prohibitive on Ethereum, could you do it on Polygon, or Avalanche, or some other EVM compatible chain?

submitted by /u/warpanomaly
[link] [comments]
Get BONUS $200 for FREE!

You can get bonuses upto $100 FREE BONUS when you:
πŸ’° Install these recommended apps:
πŸ’² SocialGood - 100% Crypto Back on Everyday Shopping
πŸ’² xPortal - The DeFi For The Next Billion
πŸ’² CryptoTab Browser - Lightweight, fast, and ready to mine!
πŸ’° Register on these recommended exchanges:
🟑 Binance🟑 Bitfinex🟑 Bitmart🟑 Bittrex🟑 Bitget
🟑 CoinEx🟑 Crypto.com🟑 Gate.io🟑 Huobi🟑 Kucoin.



Comments