The official website for solx - a highly-efficient Solidity compiler for the EVM, powered by LLVM.
solx is a next-generation Solidity compiler that offers:
- Gas Optimization: Advanced bytecode optimization techniques that reduce gas costs compared to solc generated bytecode, while maintaining identical functionality.
- Drop-in Ready: Full compatibility with existing solc flags and configurations. Works seamlessly with Foundry, Hardhat, and other development tools out of the box.
- LLVM Framework: Built on LLVM's world-class compiler infrastructure, enabling robust optimizations and reliable code generation.
- Download the solx binary from the GitHub releases page
- Create a solx profile in your
foundry.toml:[profile.solx] solc_version = "/path/to/solx"
- Build your project with solx:
FOUNDRY_PROFILE=solx forge build
💡 Pro tip: You can also use the solx profile for testing and get gas reports:
FOUNDRY_PROFILE=solx forge test --gas-reportThis repository contains the source code for the solx website. To run it locally:
-
Prerequisites
- Node.js (latest LTS version recommended)
- npm or yarn
-
Installation
# Clone the repository git clone https://github.com/matter-labs/web-solx cd web-solx # Install dependencies npm install # or yarn install
-
Development Server
# Start the development server npm run dev # or yarn dev
-
Building for Production
# Build the site npm run build # or yarn build
web-solx/
├── components/ # Vue components
│ ├── HeroSection.vue
│ ├── FeaturesSection.vue
│ ├── FoundrySection.vue
│ ├── ContributeSection.vue
│ ├── SolxSolcSection.vue
│ └── ...
├── assets/ # Static assets
│ └── images/
├── app.vue # Main app component
└── public/ # Public static files
We welcome contributions! Please see our Contributing Guide for more details.
This project is licensed under the MIT License - see the LICENSE file for details.