Close Menu
  • News
    • Bitcoin
    • Altcoins
    • DeFi
    • Regulation
    • Market Cap
    • Web 3
    • Scam
  • Blockchain
  • NFT
  • Metaverse
  • Analysis
  • Learn
  • Blog
  • Contact
    • Tech7685@gmail.com
What's Hot

Why $ 2.69 contains the key

2025-05-14

XRP rises 21%, but these clusters indicate a short -term dip to …

2025-05-14

Layer-2 Blockchain explosion ends safe integration on the risks of third parties risks

2025-05-14
Facebook X (Twitter) Instagram
  • Contact
  • Terms & Conditions
  • Privacy Policy
  • DMCA
  • Advertise
  • BitcoinPlatform.com
Facebook X (Twitter) Instagram
Free Cryptocurrency – Bitcoin | Altcoins | Blockchain | News Stories Updated Daily
  • News
    • Bitcoin
    • Altcoins
    • DeFi
    • Regulation
    • Market Cap
    • Web 3
    • Scam
  • Blockchain

    Layer-2 Blockchain explosion ends safe integration on the risks of third parties risks

    2025-05-14

    Codexfield bundles forces with LoveBit to stimulate ESG Innovation in Web3 & Crypto

    2025-05-14

    SFT protocol joins Glacier Labs to bridge physical and data infrastructure

    2025-05-14

    Dantewada secures more than 700,000 land records on avalanche blockchain

    2025-05-14

    Brave Wallet is expanding support with Cardano -Integration

    2025-05-13
  • NFT

    AI Sports Betting Agent wants to disrupt the Tipster industry using Crypto

    2025-05-14

    Bidding starts at Ross Ulbricht’s pre-judgment and prison thinking of the fact that he is starting a new chapter

    2025-05-14

    Why this Facebook group places the news on NFTS

    2025-05-13

    Mey Network launches real estate NFTs to invest real estate in the chain

    2025-05-13

    Animoca Brands plans our mention to record ‘unique moment’ of Trump administration: FT

    2025-05-13
  • Metaverse

    Shib: The Metaverse – Part of the expanding Shiba Inu ecosystem

    2025-01-03

    Experience to Earn: Everdome’s Metaverse Frontier

    2024-12-30

    Beyond Bots: Meta Motivo and the Dawn of Human Digital Life

    2024-12-13

    Exploring NetVRk: What’s Behind This AI-Powered Virtual Universe?

    2024-10-28

    Council of Europe emphasizes the impact of Metaverse on privacy and democracy

    2024-09-05
  • Analysis

    Why $ 2.69 contains the key

    2025-05-14

    According to analyst Jason Pizzino, it will be time to be careful to carefully turn to cryptomarkets

    2025-05-14

    Dogecoin (Doge) is higher for the next leg – will the resistance plan break?

    2025-05-14

    21Shares says that Solana is on Tempo Linchpin of digital finances

    2025-05-14

    Analyst sees crypto repeating dot-com bubble, predicts meetings for XRP and one Solana Challenger

    2025-05-14
  • Learn

    What Is Proof-of-Work (PoW)?

    2025-05-12

    What Is Proof-of-Authority (PoA)?

    2025-05-10

    What Is Proof-of-Stake (PoS)? A Beginner’s Guide

    2025-05-09

    What Is a Layer-1 (L1) Blockchain?

    2025-05-03

    What is a Layer-2 (L2) Blockchain Network Solution?

    2025-05-02
  • Blog
  • Contact
    • Tech7685@gmail.com
Free Cryptocurrency – Bitcoin | Altcoins | Blockchain | News Stories Updated Daily
Home»Web 3»How to solve the blockchain infrastructure security problem while creating a dApp
Web 3

How to solve the blockchain infrastructure security problem while creating a dApp

2023-05-03No Comments7 Mins Read
Share
Facebook Twitter LinkedIn Pinterest Email

The race for WEB3 is on. Venture capitalists, cryptocurrency startups, engineers and visionaries are developing WEB3 (or Web 3.0) powered by blockchain. A new frontier emerged, more democratic, decentralized, independent and ideal for data recovery.

But is everything so perfect when it comes to decentralization and security of infrastructures? No, and countless cases of man-in-the-middle attacks are proof of that.

But to solve the security problem, let’s remember what WEB3 is. The core concept of WEB3 is to solve the security problems caused by centralization and give people authority over their data and identification. So at what technology level are these unfortunate incidents of security breaches happening in your blockchain infrastructure? Let’s figure it out.

To focus on the internal aspects of WEB3, technologies such as EVM, Solidity and JavaScript still play a major role. However, we use Node providers and WEB3 API providers when discussing backend functions.

Node providers are companies that allow you to use their services instead of managing your nodes. This is very useful because instead of setting up your node and experiencing all the stress and costs that come with it, you can send your dApp transaction requests over the internet to the node provider. If you are interested in smart contract development, you can use one or two node providers (for redundancy).

There are many WEB3 API providers; However, in many cases these companies work with nodes behind the scenes. With these tools applied, you can get all the pre-compiled and pre-calculated data in the chain.

In addition, it is easy to establish reliable communication and interaction between different applications through these WEB3 APIs. In addition, quality APIs ensure that the coding remains consistent and stable. That’s why we rely most on reliable WEB3 APIs when building applications.

💡 Difference between Node providers and WEB3 API providers: The WEB3 provider allows your application to communicate with a blockchain node by making JSON-RPC requests to a server. Node service providers run distributed node clients behind the scenes, letting them write to and read from a blockchain using an API key.

See also  The new NFT marketplace that raises the bar

What is the security threat to dApps developers?

Nodes are still relatively primitive technologies, but they are still valuable. For example, a WEB3 node cannot tell you what users have deposited into their accounts. Beyond simply providing raw blockchain information, nodes cannot handle multiple smart contracts. In addition, nodes have limited capabilities and can only process one chain. Fortunately, APIs are available to help you get around this limitation.

APIs define and standardize application interactions so you can use raw blockchain data. This is why WEB3 APIs are useful for dApp development. WEB3 APIs are a key component in dApp development; they not only provide a simple interface, but also allow a piece of software to communicate with other applications. Because reliable APIs enable consistent coding in a stable environment, dApp developers don’t have to reinvent the wheel.

In addition, by using these WEB3 provider APIs, you can easily link nodes. Therefore, you don’t have to worry about connecting to nodes when using these APIs. When you interact with these providers, you may also receive a variety of valuable pre-calculated and pre-compiled on-chain data.

But such services do not completely exclude developers’ requests in the security plans, and in most cases you have to pay upfront for using them.

The fact is that there are more and more cases where dApps are hacked using the man-in-the-middle attack mentioned above.

This is when an attacker, using vulnerabilities in DNS servers (for example), switched servers to serve traffic from jsonrpc endpoints.

One victim is known have lost 16.5 WBTC (~$350,840). And about 23 cryptocurrency projects have already encountered a similar DNS attack.

With a very simple solution, you can protect yourself against such man-in-the-middle attacks. And we will come back to this.

And if you have a development team, you can go your own way and try to build your solution, but you need a super-skilled team of like-minded people to make it work.

See also  Global Blockchain Gaming Market To Reach $300 Billion By 2030

The difficulty of this process is that you can significantly overestimate your strength. A task that seems simple then raises many questions, which are solved by years of experience in one’s work. Therefore, if you have a lot of time and resources, you should accept this path.

Violation of 3 major blockchain principles in the WEB3

So now let’s take a deep breath and look at the current security challenges in the WEB3 world from an infrastructure perspective.

The main principles of blockchain are

  • decentralization
  • transparency
  • trustlessness

But does it work in practice? Have a look at the most popular dApp architecture.

Most popular dApp architecture
Most popular dApp architecture

We can see users on the front end sending requests to JSON-RPC providers (could be Infura, Alchemy, Quicknode, etc.).

So the requests are forwarded to a shared environment where we have no control over the data transformation at the API gateway, caching engine, blockchain nodes or anything else.

And this is where the first problem arises because a shared environment means that many users, especially bots and hackers, work in the same environment. This is a real black box for the developer that draws too much attention from attackers.

Well, this approach contradicts all 3 principles of WEB3 because:

  1. It centralizes access to the Blockchain, with everything passing through a shared environment;
  2. It’s not transparent – we can’t verify the answers from such an API;
  3. Therefore, it cannot be called true distrust, as the security problems of such an infrastructure are simply based on trust. See for yourself in the following diagram.
problems with the dApp architecture
problems with the dApp architecture

The second problem is that the described infrastructure version enables man-in-the-middle attacksthat criminals periodically use.

The following services can be attacked:

    • Domain or DNS registrars
    • JSON-RPC providers
    • All aggregated third-party services

A self-hosted cluster of blockchain nodes is the only solution

But is there a solution? Yes — configured on-premises environment.

First, it uses a self-hosted cluster of blockchain nodes. All nodes are initialized from the official genesis and synchronized using p2p. This ensures data consistency.

See also  How to reform Blockchain and AI digital romance

Nodes should be periodically updated with fewer snapshots to run at peak efficiency. The ideal solution is to automatically create new nodes from the resized snapshot while zooming. If you initialize the node from scratch, this approach can get you a new node in 30 minutes instead of several days.

Another critical point is the automatic update of the blockchain software after its release – this can also be done. The most important thing is to take a snapshot with the new version (as sometimes it may require some data operations, which may take some time), and then the new nodes should automatically start with the new snapshot and updated software.

Below is an infrastructure diagram that solves most of the problems described.

dApp infrastructure solution
dApp infrastructure solution

It is also important to monitor the sync status and exclude the nodes that are behind the upstream stream. This can be done, for example, with the help of health checks.

In addition to the fact that access can be restricted by IP address, it’s worth noting that the good old JWT token can protect against domain registrars or DNS attacks. JWT token is easy to integrate into web3js and other libraries and must be deployed on the API gateway side in our blockchain cluster.

In this way we make the blockchain endpoint secure and decentralized.

Sum up

Web3 is still in its infancy. But the race for decentralization has already begun. And you will see that the most secure applications are probably the most innovative and open-source approaches.

And that’s why you shouldn’t ignore the basics of WEB3, because then your newly created dApp won’t provide security to other participants. The only option currently available is one autonomous cluster of geo-distributed blockchain nodes.

Author:

Daniel Yavorovich

Co-founder and CTO at RPCSfast And Dysnix

LimeWire token



Source link

Blockchain creating dApp infrastructure problem Security solve
Share. Facebook Twitter Pinterest LinkedIn Tumblr Email

Related Posts

Layer-2 Blockchain explosion ends safe integration on the risks of third parties risks

2025-05-14

SFT protocol joins Glacier Labs to bridge physical and data infrastructure

2025-05-14

Dantewada secures more than 700,000 land records on avalanche blockchain

2025-05-14

Ethereum Price Dips: Healthy Cooldown or Warning Sign of Bigger Problem?

2025-05-13
Add A Comment
Leave A Reply Cancel Reply

Top Posts

The success of DePIN is in all our pockets

2024-10-13

XRP Price Sets Stage for Bullish Continuation: What’s Next?

2024-12-13

Bitcoin, Ethereum Price Prediction for This Week Says…

2024-03-31
Editors Picks

Bitcoin price hits $100,000, predicts macro guru Dan Tapiero – here’s the timeline

2023-11-25

Why Blockchain Payments Are Misunderstood

2024-03-06

Bitcoin Price Prints Bearish Pattern And Could Dive To New Weekly Low

2023-07-29

Analyst predicts a 60% rally in the next seven days

2024-03-12
About
About

Our mission is to develop a community of people who try to make financially sound decisions. The website strives to educate individuals in making wise choices about Cryptocurrencies, Defi, NFT, Metaverse and more.

We're social. Connect with us:

Facebook X (Twitter) Instagram Pinterest YouTube
Top Insights

Why $ 2.69 contains the key

XRP rises 21%, but these clusters indicate a short -term dip to …

Layer-2 Blockchain explosion ends safe integration on the risks of third parties risks

Get Informed

Subscribe to Updates

Get the latest news and Update from Free.cc about Crypto, Metaverse, NFT and more.

  • Contact
  • Terms & Conditions
  • Privacy Policy
  • DMCA
  • Advertise
  • BitcoinPlatform.com
© 2025 Free.cc - All rights reserved. Contact: info@free.cc

Type above and press Enter to search. Press Esc to cancel.

  • bitcoinBitcoin(BTC)$103,342.08-0.69%
  • ethereumEthereum(ETH)$2,582.41-0.07%
  • tetherTether USDt(USDT)$1.00-0.02%
  • rippleXRP(XRP)$2.55-0.28%
  • solanaSolana(SOL)$176.56-0.10%
  • binancecoinBNB(BNB)$651.00-1.33%
  • usd-coinUSDC(USDC)$1.00-0.03%
  • dogecoinDogecoin(DOGE)$0.231873-2.88%
  • cardanoCardano(ADA)$0.81-1.44%
  • tronTRON(TRX)$0.2749622.12%
  • suiSui(SUI)$3.89-3.50%
  • chainlinkChainlink(LINK)$16.95-0.85%
  • avalanche-2Avalanche(AVAX)$25.290.58%
  • stellarStellar(XLM)$0.305241-2.00%
  • shiba-inuShiba Inu(SHIB)$0.000016-1.08%
  • hedera-hashgraphHedera(HBAR)$0.206267-3.17%
  • hyperliquidHyperliquid(HYPE)$25.560.36%
  • the-open-networkToncoin(TON)$3.27-2.05%
  • unus-sed-leoUNUS SED LEO(LEO)$8.801.97%
  • bitcoin-cashBitcoin Cash(BCH)$404.78-0.43%
  • polkadotPolkadot(DOT)$5.02-1.76%
  • piPi(PI)$1.08-10.01%
  • litecoinLitecoin(LTC)$99.91-1.97%
  • moneroMonero(XMR)$348.292.61%
  • pepePepe(PEPE)$0.000014-3.84%
  • bitget-tokenBitget Token(BGB)$4.73-0.75%
  • daiDai(DAI)$1.00-0.02%
  • ethena-usdeEthena USDe(USDE)$1.00-0.02%
  • uniswapUniswap(UNI)$6.63-4.43%
  • bittensorBittensor(TAO)$450.41-1.98%
  • nearNEAR Protocol(NEAR)$3.08-3.17%
  • aptosAptos(APT)$5.80-2.66%
  • aaveAave(AAVE)$227.10-0.37%
  • ondo-financeOndo(ONDO)$1.040.39%
  • okbOKB(OKB)$54.17-0.05%
  • kaspaKaspa(KAS)$0.121011-3.01%
  • internet-computerInternet Computer(ICP)$5.70-0.95%
  • ethereum-classicEthereum Classic(ETC)$19.86-1.25%
  • crypto-com-chainCronos(CRO)$0.1022531.55%
  • mantleMantle(MNT)$0.80-0.35%
  • gatechain-tokenGateToken(GT)$21.860.11%
  • render-tokenRender(RENDER)$5.13-2.11%
  • official-trumpOFFICIAL TRUMP(TRUMP)$13.230.99%
  • vechainVeChain(VET)$0.030582-1.43%
  • polygon-ecosystem-tokenPOL (prev. MATIC)(POL)$0.251653-0.84%
  • ethenaEthena(ENA)$0.405920-3.22%
  • usd1World Liberty Financial USD(USD1)$1.00-0.14%
  • filecoinFilecoin(FIL)$3.08-1.66%
  • algorandAlgorand(ALGO)$0.238581-1.52%
  • arbitrumArbitrum(ARB)$0.427707-2.07%
  • bitcoinBitcoin(BTC)$103,342.08-0.69%
  • ethereumEthereum(ETH)$2,582.41-0.07%
  • tetherTether USDt(USDT)$1.00-0.02%
  • rippleXRP(XRP)$2.55-0.28%
  • solanaSolana(SOL)$176.56-0.10%
  • binancecoinBNB(BNB)$651.00-1.33%
  • usd-coinUSDC(USDC)$1.00-0.03%
  • dogecoinDogecoin(DOGE)$0.231873-2.88%
  • cardanoCardano(ADA)$0.81-1.44%
  • tronTRON(TRX)$0.2749622.12%
  • suiSui(SUI)$3.89-3.50%
  • chainlinkChainlink(LINK)$16.95-0.85%
  • avalanche-2Avalanche(AVAX)$25.290.58%
  • stellarStellar(XLM)$0.305241-2.00%
  • shiba-inuShiba Inu(SHIB)$0.000016-1.08%
  • hedera-hashgraphHedera(HBAR)$0.206267-3.17%
  • hyperliquidHyperliquid(HYPE)$25.560.36%
  • the-open-networkToncoin(TON)$3.27-2.05%
  • unus-sed-leoUNUS SED LEO(LEO)$8.801.97%
  • bitcoin-cashBitcoin Cash(BCH)$404.78-0.43%
  • polkadotPolkadot(DOT)$5.02-1.76%
  • piPi(PI)$1.08-10.01%
  • litecoinLitecoin(LTC)$99.91-1.97%
  • moneroMonero(XMR)$348.292.61%
  • pepePepe(PEPE)$0.000014-3.84%
  • bitget-tokenBitget Token(BGB)$4.73-0.75%
  • daiDai(DAI)$1.00-0.02%
  • ethena-usdeEthena USDe(USDE)$1.00-0.02%
  • uniswapUniswap(UNI)$6.63-4.43%
  • bittensorBittensor(TAO)$450.41-1.98%
  • nearNEAR Protocol(NEAR)$3.08-3.17%
  • aptosAptos(APT)$5.80-2.66%
  • aaveAave(AAVE)$227.10-0.37%
  • ondo-financeOndo(ONDO)$1.040.39%
  • okbOKB(OKB)$54.17-0.05%
  • kaspaKaspa(KAS)$0.121011-3.01%
  • internet-computerInternet Computer(ICP)$5.70-0.95%
  • ethereum-classicEthereum Classic(ETC)$19.86-1.25%
  • crypto-com-chainCronos(CRO)$0.1022531.55%
  • mantleMantle(MNT)$0.80-0.35%
  • gatechain-tokenGateToken(GT)$21.860.11%
  • render-tokenRender(RENDER)$5.13-2.11%
  • official-trumpOFFICIAL TRUMP(TRUMP)$13.230.99%
  • vechainVeChain(VET)$0.030582-1.43%
  • polygon-ecosystem-tokenPOL (prev. MATIC)(POL)$0.251653-0.84%
  • ethenaEthena(ENA)$0.405920-3.22%
  • usd1World Liberty Financial USD(USD1)$1.00-0.14%
  • filecoinFilecoin(FIL)$3.08-1.66%
  • algorandAlgorand(ALGO)$0.238581-1.52%
  • arbitrumArbitrum(ARB)$0.427707-2.07%