Inspiration

No silver bullet to prevent DoS attack in web2 world. Server scalability turns out to be limited and helpless to massive DoS attack as long as centralized hosted. Web3 will free up this limitation. Truly distributed service is , but web3 is not flexible enough compared to web2. This idea is to use web3 as the emergency shelter at the time of DoS attack. Speedy and transparent migration of webpage from web2 to web3 is the key. High speed of Solana network and simple DNS operation do it.

What it does

When dApp is trigged with website URL as parameter, dApp will create the copy of website to IPFS. It generate simple DNS operation command to make IPFS website accessible from original domain.

How we built it

de:web2 (Decentralize web2) consists of dApp on Solana, IPFS and user's DNS service.

  • dApp: copy website and upload contents to IPFS
  • IPFS: Serve website
  • DNS: transparent switch web site routing to web3 instance

Challenges we ran into

Weak library support for IPFS in Rust. No way to launch simple standalone node without using thread.

Accomplishments that we're proud of

Automated process of migration

What we learned

Speed of Solana network can fulfill emergency needs.

What's next for test

Build single thread workable IPFS library to be more decentralized.

Built With

Share this project:

Updates