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
UI provides a UI to verify if a source code matches a deployed contract.
uraeus-ui
starts the web ui
USAGE:
uraeus ui [OPTIONS]
OPTIONS:
-b, --builddir <BUILD_DIR> build directory [default: ]
-h, --help Print help information
-o, --open open the browser from the CLI
-p, --projectdir <PROJECT_DIR> project root directory [default: ]
--port <PORT> change the UI port [default: 7878]
Example:
uraeus ui \
--projectdir examples/starknet/protostar/gm \
--open
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.