PS C:\Users\31833\Desktop\test1\MetaCoin\metacoin-box> truffle compile
Compiling your contracts...
===========================
× Fetching solc version list from solc-bin. Attempt #1
× Fetching solc version list from solc-bin. Attempt #2
× Fetching solc version list from solc-bin. Attempt #3
× Fetching solc version list from solc-bin. Attempt #4
× Fetching solc version list from solc-bin. Attempt #5
× Fetching solc version list from solc-bin. Attempt #6
Error: Failed to fetch the Solidity compiler from the following locations: https://binaries.soliditylang.org/emscripten-wasm32/,https://binaries.soliditylang.org/emscripten-asmjs/,https://solc-bin.ethereum.org/bin/,https://ethereum.github.io/solc-bin/bin/,https://relay.trufflesuite.com/solc/emscripten-wasm32/,https://relay.trufflesuite.com/solc/emscripten-asmjs/. Are you connected to the internet?
大佬们,一直卡着,我下了编译器到本地,但是他依然检测不到,我放到.config\truffle\compilers\node_modules\soljson-v0.8.13.js
,他还是显示这个。
现在主流的开发工具是 Foundry : https://learnblockchain.cn/docs/foundry/i18n/zh/