169 похожих чатов

Hello friends I want to write a special contract and deploy

it through truffle or hardhat
My problem:
I get a clone from the seadrop contract and execute the yarn init and yarn build commands. After that, I write a contract as follows, but during compilation, errors are returned stating that some files do not exist (one of the errors returned is Error: not found operator-filter-registry/DefaultOperatorFilterer.sol
) where is the problem How can I solve my problem?

// SPDX-License-Identifier: MIT
pragma solidity 0.8.17;
import { ERC721SeaDrop } from "src/ERC721SeaDrop.sol";
contract Test is ERC721SeaDrop {
constructor(
string memory name,
string memory symbol
address[] memory allowedSeaDrop
) ERC721SeaDrop(name, symbol, allowedSeaDrop) {}
}

9 ответов

25 просмотров

If you're copy-pasting a contract, you should know how to copy-paste the import dependencies as well... 🤦‍♂️https://github.com/ProjectOpenSea/operator-filter-registry

Amir-Faramarzi Автор вопроса
SPooCK
If you're copy-pasting a contract, you should know...

In the seadrop contract published in opensea's GitHub, all used external libraries are stored as submodules. 😑

Amir Faramarzi
In the seadrop contract published in opensea's Git...

Prob learn the basics, not knowing how to fork a contract, don't sound well in your development goals...

Amir-Faramarzi Автор вопроса
SPooCK
Prob learn the basics, not knowing how to fork a c...

Please teach me how to solve my current problem

Amir Faramarzi
Please teach me how to solve my current problem

Experience cost time, and time cost money. If you don't want to spend any, I suggest to invest either your time or money in some who can.

Amir-Faramarzi Автор вопроса
SPooCK
Experience cost time, and time cost money. If you ...

You don't want to teach anything, please don't talk philosophy😐😂

Amir Faramarzi
You don't want to teach anything, please don't tal...

You better stop disrespecting other developers here, we aren't here to spoonfed you There are plenty of learning resources

Amir Faramarzi
You don't want to teach anything, please don't tal...

Philosophy and advice are the only free assets I can give you, the rest is up to you.

Похожие вопросы

Обсуждают сегодня

а зачем этот вопрос для удаления из чата?
Mёdkinson Medvezhkin
63
Эх кто-то пришел и весь праздник испортил :( You need complex FBX scene importing setup to change things on import? good luck with that. You need navigation and pathfinding? g...
Serg Gini
5
Какого хера? /Sources/App/Modules/User/Models/UserLinkApple.swift:21:20: warning: stored property '_id' of 'Sendable'-conforming class 'UserLinkApple' is mutable @ID(...
Alexander Sherbakov
14
Всем привет! Подскажите. Я написал приложение на Delphi 10.2 Tokyo под Windows 10. И передо мной стал вопрос о том чтобы сделать это приложение кроссплатформенным (под Linux и...
Дмитрий Завгородний
24
Привет всем. Подскажите где можно посмотреть, какая версия электрон, поддерживает версии windows? Некий changelog. Мне бы желательно, поддержку 7,8,10... latest, как понимаю и...
Anonym Squad
21
Почему стало ломаться на D11? "739002.86400000' is not a valid timestamp" function IncDateTime(aStamp:TTimeStamp;aKind:TTriggerKind;aInterval:Integer):TDateTime; //aStamp = 2...
Катерина Свиридова
8
У тебя в конфиге нигде нет deny all; или вообще любого deny?
Alexander Sherbakov
10
Портфолио: Зовут меня Александр, мне 36 лет. Город Пушкино. Общий рабочий стаж: ~14 лет Уровень квалификации: Senior Full-stack developer Где прочесть мой код? https://github....
Magic
10
Ребят, чет я уже не догоняю... Крч в коде на асм там происходит нечто вроде a+число (a+1, a+2 и т.д.). Но почему строка lea ecx, [edx+1] работает как a+1?? В edx берется адрес...
Alan 🔝 Бэброу
4
думаешь я не смогу также сделать? мне это просто не удобно
int 💳 𝙖𝙞𝙧 𝙗𝙞𝙜 𝙗𝙤𝙗 🔫 check bio / spam block / AFK / nohello.com / GMT+3
9
Карта сайта