ethereum / remix-project

Remix is a browser-based compiler and IDE that enables users to build Ethereum contracts with Solidity language and to debug transactions.
https://remix-ide.readthedocs.io
MIT License
2.47k stars 952 forks source link

bug: Fix remix IPFS gateway #1733

Open badkk opened 3 years ago

badkk commented 3 years ago

Proposal

  1. Replace remix IPFS gateway ipfs.remixproject.org to Crust Web3 authed gateway(https://wiki.crust.network/docs/en/buildIPFSWeb3AuthGW)
  2. Pin to Crust Network with IPFS Web3 authed pinning service(https://wiki.crust.network/docs/en/buildIPFSW3AuthPin), Crust Network now is over 7000 IPFS nodes and 2100 PB IPFS storage volume all over the world, which can make remix's solidity file more decentralized and distributed
  3. The blockchain cost from Crust Network will be covered by DCF foundation, so the cost for remix is 0

Additional context

  1. Uniswap is now using Pin to Crust in their DApp CD process(https://github.com/Uniswap/interface/blob/main/.github/workflows/release.yaml#L58-L64)
  2. Polkadot is now using Pin to Crust in their DApp CD process(https://github.com/polkadot-js/apps/blob/master/scripts/ipfsUpload.mjs#L94-L99)
  3. The whole pinning service process shows in here
LowEntropyBody commented 3 years ago

Very good suggestion. I tested the getaway provided by remix, and it can indeed be called remotely. The following is how I call the interface to inject file:

b1aced8899521c96d824870f8e04078

LianaHus commented 3 years ago

@bunsenstraat

badkk commented 3 years ago

@bunsenstraat

Im happy to create a PR to fix this with Crust solid IPFS service!

bunsenstraat commented 3 years ago

thanks! very interesting.

badkk commented 3 years ago

thanks! very interesting.

@bunsenstraat Fixed in #1760