Build with CoinStats’ all-in-one API. Learn more

Deutsch한국어日本語中文EspañolFrançaisՀայերենNederlandsРусскийItalianoPortuguêsTürkçePortfolio TrackerCryptocurrenciesPricingCrypto APIMCPIntegrationsNewsRWA MarketEarnBlogNFTWidgetsDeFi Portfolio TrackerDerivativesETF FlowsCrypto GamingPrediction Markets24h ReportPress KitAPI Docs

What happens to stablecoin (DAI) if bridge to layer-2 is hacked and drained?

bullish:

0

bearish:

0

I'm trying to understand bridges. From quick reading I've found tokens are "wrapped" by bridge for use on layer-2. And that bridges are hacked (occasionally) because they hold lots of crypto. My understanding is that when one transfers e.g. DAI (ERC-20) from mainnet to layer-2, that person transfers DAI to the bridge, which continue to hold them as collateral and issue some "wrapped" DAI to the layer-2. Is it correct?

If correct, when bridge is hacked, DAI are "stolen" and can be spent again on the mainnet. Meanwhile, "wrapped" DAI remain on layer-2 and unknown participants may continue to transfer them within layer-2. Correct?

If yes, does management of stablecoin care that now some amount of token doubled? I guess it cares only about mainnet, correct? Also how about Fungibility? When some DAI on layer-2 have collateral on the bridge but for some collateral is gone? Do they differ? Can buyer on layer-2 check that collateral on the bridge is intact?

TIA

submitted by /u/UncertainAboutIt
[link] [comments]
bullish:

0

bearish:

0

Manage all your crypto, NFT and DeFi from one place

Securely connect the portfolio you’re using to start.

Where will Ethereum trade next?

Live Polymarket and Kalshi odds on Ethereum price targets, compared side by side.

See Ethereum price odds