An open API service indexing awesome lists of open source software.

https://github.com/starkscan/starkscan-verifier

Verify Cairo contracts on Starkscan in 1 minute.
https://github.com/starkscan/starkscan-verifier

block-explorer blockchain ethereum starknet starkware zk-rollup zk-stark zk-starks zk-technology

Last synced: 23 days ago
JSON representation

Verify Cairo contracts on Starkscan in 1 minute.

Awesome Lists containing this project

README

        






















demo

## 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](https://community.starknet.io/t/remove-abi-from-contract-deployment-request-and-get-code-response/308).

### What happens after you verify?

- [Transactions](https://starkscan.co/txs) and [Events](https://starkscan.co/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](https://github.com/OpenZeppelin/nile) please activate your virtual environment.
- 🌟 Protostar users please run `protostar install` before running this tool.

### Usage

###### npx

```bash
# in your project directory
npx starkscan
```

###### npm

```bash
npm install -g starkscan

# in your project directory
starkscan
```

## Help

- DM us on [Twitter](https://twitter.com/starkscanco)

## License

Copyright (c) 2022 Diamond Paws Inc

Licensed under the [AGPL](https://github.com/starkscan/starkscan-verifier/blob/main/LICENSE) license.

## Website

- [Starkscan](https://starkscan.co)