Close Menu
  • News
    • Bitcoin
    • Altcoins
    • DeFi
    • Market Cap
  • Blockchain
  • Web 3
    • NFT
    • Metaverse
  • Regulation
  • Analysis
  • Learn
  • Blog
What's Hot

Bought 4,277 BTC, is 10K next? How STRC Boosts MSTR’s Bitcoin Moves!

2026-03-07

Analyst Says Bitcoin’s $200,000 Target Remains Open, But There Is a More Realistic Goal

2026-03-07

Billionaire Peter Thiel dumps a $74,400,000 stake in three assets, including one of Warren Buffett’s favorites

2026-03-07
Facebook X (Twitter) Instagram
  • Contact
  • Terms & Conditions
  • Privacy Policy
  • DMCA
  • Advertise
Facebook X (Twitter) Instagram
Bitcoin Platform – Bitcoin | Altcoins | Blockchain | News Stories Updated Daily
  • News
    • Bitcoin
    • Altcoins
    • DeFi
    • Market Cap
  • Blockchain

    AINFT extends multi-chain AI services with BNB chain integration

    2026-03-07

    CMC Markets Begins 24/7 Blockchain Settlements with JP Morgan’s Kinexys

    2026-03-07

    Chainlink helped Visa, ANZ and Fidelity do what banks have been trying to do for years

    2026-03-06

    Nine group partners with Rocket IDO to advance RWA’s cross-chain liquidity, powered by Web3 Launchpad

    2026-03-06

    Vision Chain uses Bitpanda Enterprise to drive scalable tokenization across Europe

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

    US lawmakers consider ban on prediction markets amid bets on Iran

    2026-03-06

    De volatiliteit van Bitcoin zou in april kunnen exploderen als SEC de markt achter de ETF-leverage beoordeelt

    2026-03-06

    Crypto company Kraken secures a direct link to Federal Reserve payments

    2026-03-04

    Bitcoin’s $85 billion derivatives engine may move onshore as CFTC eyes April approval

    2026-03-04

    De deadline voor stablecoins van het Witte Huis verstrijkt terwijl de CLARITY Act vastloopt

    2026-03-03
  • Analysis

    Billionaire Peter Thiel dumps a $74,400,000 stake in three assets, including one of Warren Buffett’s favorites

    2026-03-07

    Bitcoin Price Rally Slows, Consolidation Signals Possible Next Step

    2026-03-07

    XRP Price Ladder Shows What Conditions Are Needed for $18, $100, and $500

    2026-03-07

    Bitcoin’s rally from $73,000 faces a crucial test as momentum looks to change

    2026-03-06

    ‘Good Times Have Arrived’ – Trader Michaël van de Poppe Says the Bitcoin Bear Phase is Over – Here Are His Goals

    2026-03-06
  • Learn

    What Is Wrapped ETH (WETH) and Why Do You Need It in DeFi?

    2026-03-06

    What Is Crypto Protocol and Why Coins Need It

    2026-03-04

    Wat is Liquid Proof-of-Stake: uitgelegd voor beginners

    2026-03-02

    The 9 Most Common Crypto Scam Types

    2026-03-02

    Sidechains Explained: What They Are, How They Work, and Why They Matter

    2026-02-20
  • Blog
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  Texas Blockchain Council and Chainlink Labs collaborate on secure digital infrastructure

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  ROC announces pricing for a larger IPO

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  Shanghai's Xuhui District supports Blockchain projects

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

CMC Markets Begins 24/7 Blockchain Settlements with JP Morgan’s Kinexys

2026-03-07

Shopify AI SEO Booster ranked as the best Shopify Chrome extension

2026-03-07

VIZO Z1 Pro AR Glasses Pass $500,000 on Kickstarter as Global Backer Interest Grows

2026-03-06

Artificial intelligence in mental health will grow at a CAGR of 21.98% and reach $8,418.32 million by 2032

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

Top Posts

$ 48 billion in leverage in danger – will Bitcoin retain the $ 117,000 limit?

2025-10-08

‘Persistent negative sentiment’ causes $ 795,000,000 in institutional outsource of crypto products: coinshares

2025-04-14

Fireblocks integrates IOTA EVM

2024-10-07
Editors Picks

Metaplex’s latest updates have baffled community members

2023-05-28

MOG Coin Rises 22%: Breakout and Bullish Trend Examined

2024-11-22

Cryptocurrency market cap approaches France’s GDP after Bitcoin leads $3 trillion rally

2024-11-13

The Biggest Bitcoin Whales Will Gobble Up Nearly $13,000,000,000 in BTC in 2024 Alone: ​​Santiment

2024-02-19

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

Bought 4,277 BTC, is 10K next? How STRC Boosts MSTR’s Bitcoin Moves!

Analyst Says Bitcoin’s $200,000 Target Remains Open, But There Is a More Realistic Goal

Billionaire Peter Thiel dumps a $74,400,000 stake in three assets, including one of Warren Buffett’s favorites

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
© 2026 Bitcoinplatform.com - All rights reserved.

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