/code-vm

Purpose built VM for reduced fees on Solana

Primary LanguageRust

Code VM

license version

The Code Virtual Machine (Code VM) is a program that runs on the Solana blockchain. It is purpose built for payments and reduces transaction fees by up to 95% and account rent by 80% when compared to using non-virtualized accounts. The VM operates on compact representations of accounts but can further compress dormant accounts off-chain, effectively reducing rent to zero. Compressed accounts can be decompressed when needed — either automatically using the Code app or manually through a public indexer.

The Code VM is designed to be used by the Code app, to deliver a seamless payments experience to millions of users at negligible cost.

What is Code?

Code is a mobile app that leverages self custodial blockchain technology to deliver a seamless payments experience that is instant, global, and private.

Audits

Program Mainnet Audited By Audit Report Version Commit
code_vm vmZ1WU...5YMRTJ OtterSec pre-audit phase tbd tbd

Release Schedule

We're currently working towards a mainnet release and are looking for feedback from the community. Please reach out to us on Discord or Twitter if you have any questions or feedback.


Milestone Status Version Date
Preview Release Released v0.1.0 Aug 9th, 2024
Optimized Release Released v0.2.0 Oct 24th, 2024
IDLs Released v0.0.1 Oct 30th, 2024
Indexer Service Released - Aug 15th, 2024
Code VM Explorer - - -
Sequencer Integration Wip - -
Mobile App Integration Wip - -
Documentation - - -
Audit Wip - -
Mainnet-beta Deployed v0.0.1-alpha tbd

Quick Start

  1. Install Solana CLI: https://docs.solana.com/de/cli/install-solana-cli-tools
  2. Open Terminal: cargo build-sbf & cargo test-sbf -- --nocapture

Versions

Please make sure you have the following versions installed:

% rustc --version
rustc 1.76.0 (07dca489a 2024-02-04)

% solana --version
solana-cli 1.18.9 (src:9a7dd9ca; feat:3469865029, client:SolanaLabs)

Getting Help

If you have any questions or need help, please reach out to us on Discord or Twitter.

Security and Issue Disclosures

In the interest of protecting the security of our users and their funds, we ask that if you discover any security vulnerabilities please report them using this Report a Vulnerability link.