Sol2Rust .
Solidity-to-Rust Conversion Prototype
function getValue() public view
returns (uint256) {
return value;
}pub fn get_value(&self) -> U256 {
self.value.get()
}Why I built it
Moving a Solidity contract to Rust requires understanding different storage APIs, type systems and execution models. This prototype explores an assisted editing workflow for that migration.
What I built
Built the Solidity input and Rust output workflow, conversion API and wallet-facing interface. The inspected implementation calls Gemini for conversion; it is not a deterministic syn/quote compiler.
How it works
client/src/components/conversion-panel.tsx sends Solidity to the conversion endpoint. server/conversion.ts delegates to Gemini. The current prompt targets ink! rather than Stylus, and the compilation path returns fixed example EVM bytecode with an AI-generated ABI. It does not establish a working Solidity-to-Stylus build pipeline.
Technical decisions
Reconciling the intended Stylus target with the current ink! generation prompt.
Checking semantic equivalence and storage behavior before trusting generated Rust.
Replacing simulated compilation with a real target-specific build and test pipeline.
Results and reported recognition
Placements are owner-reported. Event and project links provide context, not independent award certification.
- 1st Place at Core Nexus, owner-reported.
- Public source demonstrates the conversion interface and AI service integration.
- Earlier latency and gas-saving claims were removed: no reproducible supporting benchmark was found.