Repository navigation
Future Scope
Extend the validator beyond current Solidity and CosmWasm support to additional smart contract platforms:
-
EVM bytecode (Ethereum, Polygon, BSC) — integrate
evmoneorrevmfor EVM compliance checking - Solana BPF/SBF — validate Solana programs
- NEAR WASM contracts — add NEAR-specific interface checks
Move beyond structural validation to semantic analysis:
- Detect known vulnerability patterns (integer overflow, unchecked arithmetic, access-control gaps)
- Integrate symbolic execution or fuzzing frameworks
- Flag use of deprecated or insecure CosmWasm APIs
Add a deployment workflow so validated contracts can be submitted to a testnet directly from the UI:
- Connect to a CosmWasm testnet node (e.g., Osmosis testnet, Juno testnet)
- Accept wallet credentials (mnemonic or Keplr wallet browser extension)
- Show deployment transaction hash and contract address after successful upload
Package the validator as:
- A GitHub Actions workflow that validates
.soland.wasmartifacts on every push - A Docker image (
docker run smartcontract-validator) for easy CI integration - An npm package wrapping the API for JavaScript-based pipelines
Support uploading and validating multiple contract files (.sol and .wasm) in a single request, returning a report for each file. Useful for teams managing multiple contracts in a monorepo.
Add a persistence layer (SQLite or PostgreSQL) to store:
- Validation history per session or user
- Aggregate statistics (pass rate, common failure modes)
- A dashboard showing trends over time
Integrate CosmWasm's VM to simulate contract instantiation and execution in a sandboxed environment, returning estimated gas costs without touching a live network.
Build a VS Code extension that:
- Detects
.soland.wasmfiles in the workspace - Automatically validates on save
- Shows inline error annotations in the editor
- Formal verification of CosmWasm contracts — Using Rust's type system and proof assistants (e.g., Lean 4) to formally verify contract correctness
- LLM-assisted contract auditing — Using large language models to explain validation failures in plain English and suggest fixes
- Cross-chain contract compatibility analysis — Automated detection of whether a CosmWasm contract can be ported to another WASM-based chain
The platform also supports Solidity contract workflows in addition to CosmWasm validation.
Users can select the Solidity mode from the frontend validator interface and upload .sol files.
The frontend sends the selected file to the backend validation API through the same user flow.
For Solidity responses, the backend can return compiled artifacts such as ABI and bytecode.
This enables a continuous path from validation to deployment readiness inside one interface.
For Solidity and EVM-compatible deployment, wallet integration is handled through MetaMask. The UI provides a wallet connect button that requests account access from the browser wallet provider. Connected account state is retained in frontend context so deploy actions can use the active address. If no wallet is detected, the UI prevents deployment and prompts the user with a clear error. For CosmWasm workflows, Keplr wallet integration is used with explicit testnet chain configuration.
After successful validation, users can trigger deployment from the file result row in the UI.
For Solidity, deployment uses the returned bytecode and sends a transaction via eth_sendTransaction.
The app then polls transaction receipt status until a contract address is available.
When deployment succeeds, the deployed contract address is displayed in the interface.
For CosmWasm, deployment follows upload and instantiate steps through SigningCosmWasmClient.
This design keeps validation, wallet authorization, and deployment in one cohesive experience.
Deployment actions are intentionally available only for contracts that pass validation first. This gating reduces accidental deployment of malformed or unverified contract artifacts. Wallet-related failures are reported to the user to support quick recovery and retries. Using this combined flow improves developer productivity during local testing and demos.