Crates.io | uraeus |
lib.rs | uraeus |
version | 0.1.2 |
source | src |
created_at | 2022-05-13 15:15:11.27847 |
updated_at | 2022-05-16 15:59:28.632043 |
description | Command line utilities to check StarkNet contracts written in Cairo. |
homepage | https://github.com/onlydustxyz/uraeus |
repository | https://github.com/onlydustxyz/uraeus |
max_upload_size | |
id | 585927 |
size | 75,148 |
⚠️ WARNING! ⚠️
This repo contains highly experimental code. Expect rapid iteration.
cargo install uraeus
cargo install --path .
Verify checks if a source code matches a deployed contract.
uraeus-verify
verify source code of deployed smart contracts
USAGE:
uraeus verify [OPTIONS] <address>
ARGS:
<address> Address of the smart contract
OPTIONS:
-b, --builddir <BUILD_DIR> Build directory [default: ]
-h, --help Print help information
-n, --name <CONTRACT_NAME> Contract name [default: main]
-p, --projectdir <PROJECT_DIR> Project root directory [default: ]
Example:
uraeus verify 0x0253db1872f5b9ad73ad17461fbbf0e987a23ea05d34c120311301bddb092dc8
Change log level using RUST_LOG
environment variable.
Example:
RUST_LOG=debug cargo run -- verify 0x4bfedc224c8360eaa16969c5db2944d19c32dbabdb4fc0d93bb3ea759c7198c
cargo test --verbose
sh scripts/test_coverage.sh
sh scripts/install_git_hooks.sh
uraeus is released under the MIT.