Why verify?
Anyone can upload any ABI to Starknet and block explorers will assume it is correct when it doesn't have to be. The information is misleading because it is possible to upload an incorrect ABI. This could potentially introduce a security risk when interacting with unverified contracts on Starknet. This verifier allows you to verify the ABI of a contract on Starknet and confirm that it is correct. Jonathan Lei mentioned this in a community post here.
What happens after you verify?
- Transactions and Events are correctly decoded to human readable functions, inputs and outputs.
- Run read and write operations on the contract state safely and accurately.
- Users who look at your contracts on Starkscan can trust that all the information is correct.
Getting Started
Pre-requisites
- 🐍 Python users that use Nile please activate your virtual environment.
- 🌟 Protostar users please run
protostar install
before running this tool.
Usage
npx
# in your project directory
npx starkscan
npm
npm install -g starkscan
# in your project directory
starkscan
Help
- DM us on Twitter
License
Copyright (c) 2022 Diamond Paws Inc
Licensed under the AGPL license.