📑SolidityScan SDK

SolidityScan SDK

SolidityScan is a cloud-based smart-contract vulnerability scanner built to discover vulnerabilities and help publish audit reports after vulnerability mitigations.

Get your API keys

Your API requests are authenticated using API keys. Any request that doesn't include an API key will return an error.

Install your API Access key

Get the access key by following the steps mentioned here

Install your access key by using the command below directly.

solidityscan config add-update-config --token='youraccesskey'

This command will create a configuration file at the default location for your system. If a config file already exists, it will overwrite the accesskey in that file.

Download or Install the SDK

The best way to interact with our API is to use pip.

pip install solidityscan

Features

Project Scan

  • Scan your public and private repositories hosted on Github.

Verified Contract Scan

  • Initiate scans on contracts deployed both on Testnets and Mainnets.

  • SolidityScan currently supports Ethereum, Binance, Polygon, Avalanche and Fantom.

Examples

Perform a Project Scan

solidityscan scan --scan-type="project" -project-url="https://github.com/testrepo" -project-branch="main" -project-name="testname"

Perform a Verified Contract Scan

solidityscan scan --scan-type="contract" -contract-address="0x633bA1eeDbE63a779Eca6A1EbE86908Ac2710D0b" -contract-chain="mainnet" -contract-platform="etherscan"

Adding or Updating token to config

solidityscan config add-update-config --token='yourtoken'

Setting default error language (defaults to English (en))

solidityscan config add-update-config --error-language='es'

Error codes

Errors raised by the server

Last updated