xrpl-evm-auditor
Version:
A Solidity static analysis tool for XRPL EVM sidechain. Detects common smart contract vulnerabilities.
20 lines (19 loc) • 705 B
JavaScript
;
Object.defineProperty(exports, "__esModule", { value: true });
const commander_1 = require("commander");
const analyzer_1 = require("./analyzer");
const program = new commander_1.Command();
program
.name('xrpl-evm-auditor')
.description('XRPL EVM Smart Contract Security Analyzer')
.version('0.1.0');
program
.command('analyze')
.description('Analyze a Solidity smart contract for vulnerabilities')
.argument('<file>', 'Solidity contract file path')
.option('-f, --format <format>', 'Output format: markdown or json', 'markdown')
.action((file, options) => {
(0, analyzer_1.analyzeContract)(file, options.format);
});
program.parse();