{"id":21017142,"url":"https://github.com/solana-kaizen/kaizen-example","last_synced_at":"2025-10-14T06:36:36.898Z","repository":{"id":142528379,"uuid":"559679252","full_name":"solana-kaizen/kaizen-example","owner":"solana-kaizen","description":"Basic Solana Program and Client example built on top of the Solana Kaizen framework","archived":false,"fork":false,"pushed_at":"2023-03-13T06:53:26.000Z","size":52,"stargazers_count":4,"open_issues_count":0,"forks_count":0,"subscribers_count":2,"default_branch":"master","last_synced_at":"2025-04-19T15:20:51.730Z","etag":null,"topics":["rust","solana-client","solana-program","wasm","webassembly"],"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/solana-kaizen.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,"zenodo":null}},"created_at":"2022-10-30T20:58:12.000Z","updated_at":"2023-05-05T21:19:49.000Z","dependencies_parsed_at":null,"dependency_job_id":"fb3e62b1-0088-4a51-95fe-45ebf99b99c8","html_url":"https://github.com/solana-kaizen/kaizen-example","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/solana-kaizen/kaizen-example","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/solana-kaizen%2Fkaizen-example","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/solana-kaizen%2Fkaizen-example/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/solana-kaizen%2Fkaizen-example/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/solana-kaizen%2Fkaizen-example/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/solana-kaizen","download_url":"https://codeload.github.com/solana-kaizen/kaizen-example/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/solana-kaizen%2Fkaizen-example/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":279018115,"owners_count":26086281,"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","status":"online","status_checked_at":"2025-10-14T02:00:06.444Z","response_time":60,"last_error":null,"robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":true,"can_crawl_api":true,"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":["rust","solana-client","solana-program","wasm","webassembly"],"created_at":"2024-11-19T10:18:00.989Z","updated_at":"2025-10-14T06:36:36.893Z","avatar_url":"https://github.com/solana-kaizen.png","language":"Rust","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Kaizen Example\n\nThis is a simple example demonstrating the [Solana Kaizen](https://github.com/solana-kaizen/kaizen) framework.\n\nThis example contains the following folders:\n\n* `lib` - solana program + client-side functions for program access\n* `native` - binary target for the `lib` crate\n* `wasm` - WASM target for the `lib` crate\n* `root` - contains `index.html` that loads the wasm library\n* `simulator` - emulator that embeds the program in the `lib` crate (accessible from `lib` - i.e. `native` or `wasm` target)\n* `program` - crate for building lib program (you can build multiple programs from `lib` but then `declare_program!()` macro has to be declared in each program respectively)\n\n\n## Prerequisites:\n\nRust - https://www.rust-lang.org/\n\nTo install:\n```\ncurl --proto '=https' --tlsv1.2 -sSf https://sh.rustup.rs | sh\n```\n\nWasm Pack - https://rustwasm.github.io/wasm-pack/\n\nTo install:\n```\ncurl https://rustwasm.github.io/wasm-pack/installer/init.sh -sSf | sh\n```\n\nSolana Tool Suite - https://docs.solana.com/cli/install-solana-cli-tools\n\nTo install:\n```\nsh -c \"$(curl -sSfL https://release.solana.com/v1.14.7/install)\"\n```\n\n## Dependencies\n\nThe project is not currently published on crates.io (it will be in the coming weeks) as such, to build it\nyou need to clone the following repositories in the same folder:\n- https://github.com/solana-kaizen/kaizen\n- https://github.com/solana-kaizen/solana-web3-sys\n- https://github.com/workflow-rs/workflow-rs\n\n### Running\n\nFollowing this you can build subfolders as follows:\n* `native` (native client execution) - `cargo run`\n* `wasm` (web-browser client; see below) - `./build`\n* `program` (program for solana deployment) - `cargo build-sbf`\n* `simulator` (simulator server) - `cargo run`\n* `lib` (unit tests) - `cargo test example_test -- --nocapture`\n\nNOTE: `program` also has a `deploy` script that uses the included demo key that produces a matching program id.\n\nTo access WASM target, you can use any web server from the `root` folder.\n\nFor example:\n```\ncargo install basic-http-server\ncd root\nbasic-http-server\n```\nFollowing that, access http://localhost:4000/index.html and open the browser developer console to see application output logs.\n\nPlease note: Current implementation of the example, does not connect to the in-browser wallet, such as phantom\nas this example was quickly put together to demonstrate the general functionality of the framework, it does not have \nany user interface.  The example of interfacing with wallet adapters will be done at a later date.\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fsolana-kaizen%2Fkaizen-example","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fsolana-kaizen%2Fkaizen-example","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fsolana-kaizen%2Fkaizen-example/lists"}