{"id":25342003,"url":"https://github.com/code-payments/code-vm","last_synced_at":"2026-01-12T16:02:43.821Z","repository":{"id":252419530,"uuid":"840364907","full_name":"code-payments/code-vm","owner":"code-payments","description":"Code VM","archived":false,"fork":false,"pushed_at":"2024-10-23T20:44:14.000Z","size":262,"stargazers_count":16,"open_issues_count":0,"forks_count":1,"subscribers_count":2,"default_branch":"main","last_synced_at":"2024-10-24T08:05:08.638Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":"","language":"Rust","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":null,"status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/code-payments.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":null,"code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2024-08-09T14:37:05.000Z","updated_at":"2024-10-24T04:06:49.000Z","dependencies_parsed_at":"2024-08-09T17:30:45.741Z","dependency_job_id":"1e53c80b-ff74-44f2-b64e-26781cf20052","html_url":"https://github.com/code-payments/code-vm","commit_stats":null,"previous_names":["code-payments/code-vm"],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/code-payments%2Fcode-vm","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/code-payments%2Fcode-vm/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/code-payments%2Fcode-vm/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/code-payments%2Fcode-vm/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/code-payments","download_url":"https://codeload.github.com/code-payments/code-vm/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":238821461,"owners_count":19536223,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":[],"created_at":"2025-02-14T09:59:44.652Z","updated_at":"2026-01-12T16:02:43.809Z","avatar_url":"https://github.com/code-payments.png","language":"Rust","funding_links":[],"categories":["Projects"],"sub_categories":[],"readme":"# Code VM\n![license][license-image]\n![version][version-image]\n\n[version-image]: https://img.shields.io/badge/version-1.0.0-blue.svg?style=flat\n[license-image]: https://img.shields.io/badge/license-MIT-blue.svg?style=flat\n\nThe Code Virtual Machine (Code VM) is a program that runs on the Solana\nblockchain. It is purpose built for payments and reduces transaction fees by up\nto `95%` and account rent by `80%` when compared to using non-virtualized\naccounts. The VM operates on compact representations of accounts but can further \ncompress dormant accounts off-chain, effectively reducing rent to `zero`. \nCompressed accounts can be decompressed when needed — either automatically \nusing the Flipcash app or manually through a public indexer.\n\n\u003e [!NOTE]\n\u003e The Code VM is designed specifically to be used by the [Flipcash](https://flipcash.com) mobile app, prioritizing **seamless payments**. As a result, this codebase is not intended as a generalized foundation for other projects.\n\n## Audits\n\n| Network | Address | Audited By | Status | Audit Report | Commit |\n| --- | --- | --- | --- | --- | --- |\n| Mainnet | [vmZ1WU...5YMRTJ](https://explorer.solana.com/address/vmZ1WUq8SxjBWcaeTCvgJRZbS84R61uniFsQy5YMRTJ) | [OtterSec](https://osec.io/) | Completed | [Report](https://github.com/code-payments/code-vm/blob/main/docs/code_audit_final.pdf) | [c49f95d9](https://github.com/code-payments/code-vm/commit/c49f95d92095eb5955955f1bc888e25957b2f64d) |\n\n## Dev Milestones\n\n:white_check_mark: The on-chain program itself is largely completed.\n\n:white_check_mark: Flipcash is using the program in mainnet.\n\n:white_check_mark: OtterSec has completed an audit of the program.\n\nWe’re currently integrating the VM into the Flipcash app. This allows us to \nmake changes to backend services more efficiently without disrupting Flipcash \nusers. \n\nA key obejctive for us has been that the Flipcash mobile app could be migrated\nto the VM with minimal effort. From the app’s perspective, it should behave\nas if it’s using standard Solana accounts. All the VM complexity should be\nabstracted away by the backend services.\n\nWe’re happy to report that this key objective has been achieved on Flipcash — \nour mobile app team migrated payments using only a handful of minor adjustments \nto the original transaction mechanics. To enable this from the VM side, we made \nintentional trade-offs that optimize for core objectives instead of on-chain \ncompute units.\n\n#### Release Schedule\n\n| Milestone | Status | VM | Open Code Protocol |\n| --- | --- | --- | --- |\n| Anchor Version | Done |Aug 9th, 2024 | - |\n| Steel Version | Done | Oct 24th, 2024 | - |\n| Audited Release | Done | Feb 18th, 2024 | - |\n| IDLs | [Done](https://github.com/code-payments/code-vm/blob/main/idl/code_vm.json) | Oct 30th, 2024 | - |\n| Indexer | [Done](https://github.com/code-payments/code-vm-indexer) | - | Aug 15th, 2024 |\n| Sequencer | [Done](https://github.com/code-payments/ocp-server) | - | November 25th, 2024 |\n| Explorer | tbd |  |  |\n| Documentation | tbd |  |  |\n\n\n## Quick Start\n\n1. Install Solana CLI: https://docs.solana.com/de/cli/install-solana-cli-tools\n2. Open Terminal: `cargo build-sbf \u0026 cargo test-sbf -- --nocapture`\n\n\n## Versions\n\nPlease make sure you have the following versions installed:\n\n```bash\n% rustc --version\nrustc 1.76.0 (07dca489a 2024-02-04)\n\n% solana --version\nsolana-cli 1.18.9 (src:9a7dd9ca; feat:3469865029, client:SolanaLabs)\n```\n\n## Getting Help\n\nIf you have any questions or need help, please reach out to us on [Twitter](https://twitter.com/flipcash).\n\n## Community Feedback \u0026 Contributions\n\nWhile we can't guarantee that all feedback will be implemented, we are always \nopen to hearing from the community. If you have any suggestions or feedback,\nplease reach out to us.\n\n## Security and Issue Disclosures\n\nIn the interest of protecting the security of our users and their funds, we ask\nthat if you discover any security vulnerabilities please report them using this\n[Report a Vulnerability](https://github.com/code-wallet/code-program-library/security/advisories/new)\nlink.\n\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fcode-payments%2Fcode-vm","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fcode-payments%2Fcode-vm","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fcode-payments%2Fcode-vm/lists"}