Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[Bug-Candidate]: Infunctional with the Base mainet #2516

Closed
reverse-banana opened this issue Jul 26, 2024 · 2 comments
Closed

[Bug-Candidate]: Infunctional with the Base mainet #2516

reverse-banana opened this issue Jul 26, 2024 · 2 comments
Labels
bug-candidate Bugs reports that are not yet confirmed

Comments

@reverse-banana
Copy link

Describe the issue:

The tools isn't working with the base mainet

Code example to reproduce the issue:

slither 0x58b2F2Bb66073e04363fEea744409951D641F2D6 --base-apikey Q4Y5IN9AEMI3JNSP4V3472QIPKS2ZHKVIX7

Output:
Invalid etherscan API Key
ERROR:Slither:Unable to compile all targets.

Version:

0.10.3

Relevant log output:

No response

@reverse-banana reverse-banana added the bug-candidate Bugs reports that are not yet confirmed label Jul 26, 2024
@reverse-banana reverse-banana changed the title [Bug-Candidate]: [Bug-Candidate]: Infunctional with the Base mainet Jul 26, 2024
@elopez
Copy link
Member

elopez commented Jul 26, 2024

Hi, thanks for the report. I see you used an address without a prefix, which defaults to mainnet ethereum. You need to specify a prefix if you would like to target something that is not on mainnet ethereum, e.g. to target the contract on Base:

slither base:0x58b2F2Bb66073e04363fEea744409951D641F2D6 --base-apikey YOUR_KEY

@reverse-banana
Copy link
Author

@elopez thank you, my bad, have a great day!

@elopez elopez closed this as completed Aug 5, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug-candidate Bugs reports that are not yet confirmed
Projects
None yet
Development

No branches or pull requests

2 participants