{"id":18679021,"url":"https://github.com/jjyr/ckb-vm-rust-demo","last_synced_at":"2025-04-12T03:30:50.963Z","repository":{"id":146980385,"uuid":"225632275","full_name":"jjyr/ckb-vm-rust-demo","owner":"jjyr","description":null,"archived":true,"fork":false,"pushed_at":"2019-12-11T05:30:13.000Z","size":14,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":3,"default_branch":"master","last_synced_at":"2025-02-18T18:50:11.372Z","etag":null,"topics":["ckb","ckb-vm","rust"],"latest_commit_sha":null,"homepage":null,"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/jjyr.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":"2019-12-03T13:54:24.000Z","updated_at":"2024-09-24T04:39:30.000Z","dependencies_parsed_at":"2023-05-23T17:00:29.561Z","dependency_job_id":null,"html_url":"https://github.com/jjyr/ckb-vm-rust-demo","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/jjyr%2Fckb-vm-rust-demo","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/jjyr%2Fckb-vm-rust-demo/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/jjyr%2Fckb-vm-rust-demo/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/jjyr%2Fckb-vm-rust-demo/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/jjyr","download_url":"https://codeload.github.com/jjyr/ckb-vm-rust-demo/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":248512483,"owners_count":21116611,"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":["ckb","ckb-vm","rust"],"created_at":"2024-11-07T09:42:06.932Z","updated_at":"2025-04-12T03:30:50.958Z","avatar_url":"https://github.com/jjyr.png","language":"Rust","funding_links":[],"categories":[],"sub_categories":[],"readme":"# CKB VM Rust Demo\n\n[rust-contract](https://github.com/jjyr/ckb-vm-rust-demo/tree/master/rust-contract) shows how to build a minimal rust contract.\n\nThe contract is composited by a `entry.c` file and a rust static library that actually implement the contract, check Makefile to see how to build the contract.\n\n-----------------\n\n\u003e I'm failed to directly build a Rust binary that works on ckb-vm, However if you succeed to build a binary please send me a PR or open an issue!\n\n## Usage\n\nAdd riscv target:\n\n``` sh\nrustup target add riscv64imac-unknown-none-elf\n```\n\nUse `make test` to compile and run, try modify the contract youself.\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fjjyr%2Fckb-vm-rust-demo","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fjjyr%2Fckb-vm-rust-demo","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fjjyr%2Fckb-vm-rust-demo/lists"}