Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
我正在尝试使用以下方法在 Remix 中导入库:
import "github.com/Arachnid/solidity-stringutils/strings.sol";
但是,我收到一个编译错误,上面写着
无法导入“未定义”:未找到。
知道我在这里做错了什么吗?
您的链接已损坏。这是正确的链接:github.com/arachnid/solidity-stringutils/src/strings.sol
github.com/arachnid/solidity-stringutils/src/strings.sol
您忘记了/src部分。