https://github.com/openSVM/lessvm
lessvm
https://github.com/openSVM/lessvm
anchor hot-reload serum smart-contracts solana solana-program solana-vm svm vyper
Last synced: 9 months ago
JSON representation
lessvm
- Host: GitHub
- URL: https://github.com/openSVM/lessvm
- Owner: openSVM
- Created: 2025-02-13T23:19:57.000Z (10 months ago)
- Default Branch: main
- Last Pushed: 2025-03-04T04:33:05.000Z (9 months ago)
- Last Synced: 2025-03-04T05:27:39.704Z (9 months ago)
- Topics: anchor, hot-reload, serum, smart-contracts, solana, solana-program, solana-vm, svm, vyper
- Language: Rust
- Homepage: https://lessvm.com
- Size: 382 KB
- Stars: 8
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
- awesome-svm - GitHub
README
# lessVM [](https://github.com/openSVM/lessvm/actions/workflows/release.yml)
A lightweight virtual machine implementation for Solana blockchain.
## Installation
### CLI Tool
The LessVM CLI tool provides a convenient way to create, build, and deploy LessVM applications.
#### One-Line Installation
**macOS and Linux:**
```bash
curl -sSL https://raw.githubusercontent.com/openSVM/lessvm/main/cli/.goreleaser.install.sh | bash
```
**Windows (PowerShell):**
```powershell
iwr -useb https://raw.githubusercontent.com/openSVM/lessvm/main/cli/.goreleaser.install.ps1 | iex
```
#### Using Homebrew (macOS and Linux)
```bash
brew tap openSVM/tap
brew install lessvm
```
#### For more installation options, see [CLI README](cli/README.md)
## Project Structure
- `lessvm-solana/` - Core VM implementation in Rust
- `src/` - Source code
- `vm/` - Virtual machine core implementation
- `solana/` - Solana-specific integration code
- `deployless/` - Deployment utilities
- `scripts/` - Build and deployment scripts
- `cli/` - Command-line interface for managing LessVM applications
- Provides tools for creating, building, and deploying LessVM applications
- Cross-platform support (macOS, Linux, Windows)
- `website/` - Documentation website
- `docs/` - Documentation pages
- `index.html` - Main landing page
- `styles.css` - Styling
- `lessvm-lore/` - Specification and design documents
- Contains detailed specs for VM implementation
- Architecture and design decisions
## Development
The project consists of two main parts:
1. **VM Implementation** - Written in Rust, located in `lessvm-solana/`
2. **Documentation Website** - Static HTML/CSS website in `website/`
## Building
### VM Implementation
```bash
cd lessvm-solana
cargo build
```
### Website
The documentation website is built using static HTML and CSS. No build step required.
## Testing
```bash
cd lessvm-solana
cargo test
```
For local Solana validator testing:
```bash
./start_local_validator.sh
```
## Documentation
Visit the documentation website for:
- [Architecture Overview](website/docs/architecture.html)
- [Examples](website/docs/examples.html)
- [Instructions Set](website/docs/instructions.html)
- [Solana Integration](website/docs/solana.html)
## License
[Add license information]