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

SEC chairman Paul Atkins clearly promises crypto rules to tackle bad actors

2025-06-04

Analyst says that Solana blinks that ‘very promising’ bullish setup, rallies predicts for two low-cap altcoins

2025-06-03

Acceleware announces management agreements | Web3wire

2025-06-03
Facebook X (Twitter) Instagram
  • Contact
  • Terms & Conditions
  • Privacy Policy
  • DMCA
  • Advertise
  • Free.cc (Free Crypto)
Facebook X (Twitter) Instagram
Bitcoin Platform – Bitcoin | Altcoins | Blockchain | News Stories Updated Daily
  • News
    • Bitcoin
    • Altcoins
    • DeFi
    • Market Cap
  • Blockchain

    AI to transform web3 into ‘Knowledge coordination layer’, says Ram Kumar of OpenLedger

    2025-06-03

    Incentiv Testnet is going live to expand blockchain accessibility

    2025-06-03

    AI and Blockchain Dal Costs and downtime in transport

    2025-06-03

    World Network is expanding the worldwide ‘proof of human’ technology as AI Deepfakes Surge

    2025-06-03

    Clearpool’s Ozean integrates Chainsight for secure RWA Oracle infrastructure

    2025-06-03
  • Web 3
    • NFT
    • Metaverse
  • Regulation

    NYSE ARCA submits to mention Truth Social’s Spot Bitcoin ETF

    2025-06-03

    Donald Trump Jr. says that family came in crypto after he was degraded, realizing the financial system was ‘Pyramid Scheme’

    2025-06-03

    Dubai Crypto ambitions rise with Solana and Ripple Moves

    2025-06-03

    ‘Revenge Tax’ hidden in President Trump’s account could activate the Capital War, Deutsche Bank warns: Report

    2025-06-02

    Goldman Sachs Banker sentenced a prison for a role in $ 4,500,000 Ransack or Malaysia’s State Investment Fund: Report

    2025-06-02
  • Analysis

    Analyst says that Solana blinks that ‘very promising’ bullish setup, rallies predicts for two low-cap altcoins

    2025-06-03

    Crypto analyst says that XRP community should pay attention to 4-6 June, here is why

    2025-06-03

    American Bitcoin ETFs Navigate $ 1.2 billion in the midst of the European approval of the retail trade

    2025-06-03

    A matter of time before Altcoins take a big dip against Bitcoin, according to analyst Benjamin Cowen

    2025-06-03

    Ethereum performs better than with $ 321 million inflow as Bitcoin, XRP sees a combined outflow of more than $ 36 million

    2025-06-03
  • Learn

    What Is Yield Farming and How Does It Work?

    2025-06-02

    What Is Asset Tokenization? How It Works and Why It’s Important

    2025-05-30

    What Is DeFi 2.0 and Why It Matters

    2025-05-27

    Crypto Margin Trading: How It Works and How to Manage the Risks

    2025-05-26

    Wat is circulerende levering in cryptocurrency?

    2025-05-23
  • Blog
  • Contact
    • Tech7685@gmail.com
Bitcoin Platform – 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-14No 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  CZ pleads guilty to money laundering, pays $4.3 billion in fines and steps down as CEO of Binance

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 process 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  Bitcoin Spark offers a sustainable, secure and efficient blockchain solution

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  Understanding the Core of Blockchain Transactions

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



Source link

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

Related Posts

Acceleware announces management agreements | Web3wire

2025-06-03

Incentiv Testnet is going live to expand blockchain accessibility

2025-06-03

Bitmart Discovery is officially launched, whereby a new era is launched in the discovery of high -quality assets,

2025-06-03

AI and Blockchain Dal Costs and downtime in transport

2025-06-03
Add A Comment
Leave A Reply Cancel Reply

Top Posts

Why did the Bitcoin price rise today? Insights from leading analysts

2023-09-29

Dogecoin Sees a Bullish Breakout – +40% Gains Likely for DOGE Holders?

2024-07-25

Bitcoin: Are Investors Optimistic Despite BTC’s Correction?

2024-03-06
Editors Picks

Ethereum – price is confronted with a heavy test – Can it release the obstacle?

2025-04-01

Will Solana hold more than $180? Assessing the most important price movements

2024-12-30

Binance is suspending all services for the Nigerian Naira after employees were arrested by the government and threatened with a fine

2024-03-05

This is why Bitcoin’s accumulation statistics suggest that $77,000 could be next

2024-11-09

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

SEC chairman Paul Atkins clearly promises crypto rules to tackle bad actors

Analyst says that Solana blinks that ‘very promising’ bullish setup, rallies predicts for two low-cap altcoins

Acceleware announces management agreements | Web3wire

Get Informed

Subscribe to Updates

Get the latest news and Update from Bitcoin Platform about Crypto, Metaverse, NFT and more.

  • Contact
  • Terms & Conditions
  • Privacy Policy
  • DMCA
  • Advertise
  • Free.cc (Free Crypto)
© 2025 Bitcoinplatform.com - All rights reserved.

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

  • bitcoinBitcoin(BTC)$105,433.210.09%
  • ethereumEthereum(ETH)$2,627.320.73%
  • tetherTether USDt(USDT)$1.000.01%
  • rippleXRP(XRP)$2.241.78%
  • binancecoinBNB(BNB)$669.570.38%
  • solanaSolana(SOL)$156.49-1.75%
  • usd-coinUSDC(USDC)$1.00-0.01%
  • dogecoinDogecoin(DOGE)$0.1960570.14%
  • tronTRON(TRX)$0.268247-0.91%
  • cardanoCardano(ADA)$0.69-0.42%
  • hyperliquidHyperliquid(HYPE)$36.451.17%
  • suiSui(SUI)$3.25-1.93%
  • chainlinkChainlink(LINK)$14.321.24%
  • avalanche-2Avalanche(AVAX)$21.360.11%
  • stellarStellar(XLM)$0.2734440.39%
  • unus-sed-leoUNUS SED LEO(LEO)$8.934.48%
  • bitcoin-cashBitcoin Cash(BCH)$403.99-0.19%
  • the-open-networkToncoin(TON)$3.200.19%
  • shiba-inuShiba Inu(SHIB)$0.000013-0.92%
  • hedera-hashgraphHedera(HBAR)$0.172461-0.06%
  • litecoinLitecoin(LTC)$90.440.83%
  • polkadotPolkadot(DOT)$4.190.81%
  • moneroMonero(XMR)$346.91-3.93%
  • ethena-usdeEthena USDe(USDE)$1.000.04%
  • bitget-tokenBitget Token(BGB)$4.81-0.01%
  • daiDai(DAI)$1.000.01%
  • pepePepe(PEPE)$0.000012-1.33%
  • piPi(PI)$0.650.94%
  • uniswapUniswap(UNI)$6.735.99%
  • aaveAave(AAVE)$264.272.57%
  • bittensorBittensor(TAO)$395.000.72%
  • aptosAptos(APT)$4.970.79%
  • nearNEAR Protocol(NEAR)$2.530.52%
  • crypto-com-chainCronos(CRO)$0.102280-1.85%
  • okbOKB(OKB)$50.190.75%
  • internet-computerInternet Computer(ICP)$5.354.02%
  • ondo-financeOndo(ONDO)$0.850.05%
  • ethereum-classicEthereum Classic(ETC)$17.711.01%
  • gatechain-tokenGateToken(GT)$19.37-0.26%
  • kaspaKaspa(KAS)$0.087838-2.93%
  • mantleMantle(MNT)$0.68-0.24%
  • polygon-ecosystem-tokenPOL (prev. MATIC)(POL)$0.2183990.46%
  • official-trumpOFFICIAL TRUMP(TRUMP)$11.15-1.02%
  • usd1World Liberty Financial USD(USD1)$1.000.01%
  • vechainVeChain(VET)$0.024725-0.63%
  • render-tokenRender(RENDER)$3.93-1.48%
  • ethenaEthena(ENA)$0.3407712.33%
  • artificial-superintelligence-allianceArtificial Superintelligence Alliance(FET)$0.824.41%
  • worldcoin-wldWorldcoin(WLD)$1.19-0.87%
  • arbitrumArbitrum(ARB)$0.3686531.52%
  • bitcoinBitcoin(BTC)$105,433.210.09%
  • ethereumEthereum(ETH)$2,627.320.73%
  • tetherTether USDt(USDT)$1.000.01%
  • rippleXRP(XRP)$2.241.78%
  • binancecoinBNB(BNB)$669.570.38%
  • solanaSolana(SOL)$156.49-1.75%
  • usd-coinUSDC(USDC)$1.00-0.01%
  • dogecoinDogecoin(DOGE)$0.1960570.14%
  • tronTRON(TRX)$0.268247-0.91%
  • cardanoCardano(ADA)$0.69-0.42%
  • hyperliquidHyperliquid(HYPE)$36.451.17%
  • suiSui(SUI)$3.25-1.93%
  • chainlinkChainlink(LINK)$14.321.24%
  • avalanche-2Avalanche(AVAX)$21.360.11%
  • stellarStellar(XLM)$0.2734440.39%
  • unus-sed-leoUNUS SED LEO(LEO)$8.934.48%
  • bitcoin-cashBitcoin Cash(BCH)$403.99-0.19%
  • the-open-networkToncoin(TON)$3.200.19%
  • shiba-inuShiba Inu(SHIB)$0.000013-0.92%
  • hedera-hashgraphHedera(HBAR)$0.172461-0.06%
  • litecoinLitecoin(LTC)$90.440.83%
  • polkadotPolkadot(DOT)$4.190.81%
  • moneroMonero(XMR)$346.91-3.93%
  • ethena-usdeEthena USDe(USDE)$1.000.04%
  • bitget-tokenBitget Token(BGB)$4.81-0.01%
  • daiDai(DAI)$1.000.01%
  • pepePepe(PEPE)$0.000012-1.33%
  • piPi(PI)$0.650.94%
  • uniswapUniswap(UNI)$6.735.99%
  • aaveAave(AAVE)$264.272.57%
  • bittensorBittensor(TAO)$395.000.72%
  • aptosAptos(APT)$4.970.79%
  • nearNEAR Protocol(NEAR)$2.530.52%
  • crypto-com-chainCronos(CRO)$0.102280-1.85%
  • okbOKB(OKB)$50.190.75%
  • internet-computerInternet Computer(ICP)$5.354.02%
  • ondo-financeOndo(ONDO)$0.850.05%
  • ethereum-classicEthereum Classic(ETC)$17.711.01%
  • gatechain-tokenGateToken(GT)$19.37-0.26%
  • kaspaKaspa(KAS)$0.087838-2.93%
  • mantleMantle(MNT)$0.68-0.24%
  • polygon-ecosystem-tokenPOL (prev. MATIC)(POL)$0.2183990.46%
  • official-trumpOFFICIAL TRUMP(TRUMP)$11.15-1.02%
  • usd1World Liberty Financial USD(USD1)$1.000.01%
  • vechainVeChain(VET)$0.024725-0.63%
  • render-tokenRender(RENDER)$3.93-1.48%
  • ethenaEthena(ENA)$0.3407712.33%
  • artificial-superintelligence-allianceArtificial Superintelligence Alliance(FET)$0.824.41%
  • worldcoin-wldWorldcoin(WLD)$1.19-0.87%
  • arbitrumArbitrum(ARB)$0.3686531.52%