{"id":13523766,"url":"https://github.com/rckprtr/cdk-as","last_synced_at":"2025-09-18T04:30:38.896Z","repository":{"id":70590017,"uuid":"317051203","full_name":"rckprtr/cdk-as","owner":"rckprtr","description":"Unofficial Experimental AssemblyScript CDK for DFINITY","archived":false,"fork":false,"pushed_at":"2021-01-21T18:27:07.000Z","size":696,"stargazers_count":18,"open_issues_count":1,"forks_count":7,"subscribers_count":3,"default_branch":"master","last_synced_at":"2025-08-14T16:42:45.954Z","etag":null,"topics":["assemblyscript","cdk","dfinity"],"latest_commit_sha":null,"homepage":"","language":"WebAssembly","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"apache-2.0","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/rckprtr.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":"CODE_OF_CONDUCT.md","threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null}},"created_at":"2020-11-29T21:58:51.000Z","updated_at":"2024-12-25T16:14:43.000Z","dependencies_parsed_at":"2023-04-11T10:31:12.120Z","dependency_job_id":null,"html_url":"https://github.com/rckprtr/cdk-as","commit_stats":{"total_commits":68,"total_committers":1,"mean_commits":68.0,"dds":0.0,"last_synced_commit":"e69d60029a26f06ebfe10fe923a13a8a01bb3c1c"},"previous_names":[],"tags_count":16,"template":false,"template_full_name":null,"purl":"pkg:github/rckprtr/cdk-as","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/rckprtr%2Fcdk-as","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/rckprtr%2Fcdk-as/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/rckprtr%2Fcdk-as/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/rckprtr%2Fcdk-as/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/rckprtr","download_url":"https://codeload.github.com/rckprtr/cdk-as/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/rckprtr%2Fcdk-as/sbom","scorecard":{"id":764544,"data":{"date":"2025-08-11","repo":{"name":"github.com/rckprtr/cdk-as","commit":"e69d60029a26f06ebfe10fe923a13a8a01bb3c1c"},"scorecard":{"version":"v5.2.1-40-gf6ed084d","commit":"f6ed084d17c9236477efd66e5b258b9d4cc7b389"},"score":1.7,"checks":[{"name":"Token-Permissions","score":-1,"reason":"No tokens found","details":null,"documentation":{"short":"Determines if the project's workflows follow the principle of least privilege.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#token-permissions"}},{"name":"SAST","score":0,"reason":"no SAST tool detected","details":["Warn: no pull requests merged into dev branch"],"documentation":{"short":"Determines if the project uses static code analysis.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#sast"}},{"name":"Dangerous-Workflow","score":-1,"reason":"no workflows found","details":null,"documentation":{"short":"Determines if the project's GitHub Action workflows avoid dangerous patterns.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#dangerous-workflow"}},{"name":"Packaging","score":-1,"reason":"packaging workflow not detected","details":["Warn: no GitHub/GitLab publishing workflow detected."],"documentation":{"short":"Determines if the project is published as a package that others can easily download, install, easily update, and uninstall.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#packaging"}},{"name":"Maintained","score":0,"reason":"0 commit(s) and 0 issue activity found in the last 90 days -- score normalized to 0","details":null,"documentation":{"short":"Determines if the project is \"actively maintained\".","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#maintained"}},{"name":"Code-Review","score":0,"reason":"Found 0/30 approved changesets -- score normalized to 0","details":null,"documentation":{"short":"Determines if the project requires human code review before pull requests (aka merge requests) are merged.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#code-review"}},{"name":"Binary-Artifacts","score":10,"reason":"no binaries found in the repo","details":null,"documentation":{"short":"Determines if the project has generated executable (binary) artifacts in the source repository.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#binary-artifacts"}},{"name":"CII-Best-Practices","score":0,"reason":"no effort to earn an OpenSSF best practices badge detected","details":null,"documentation":{"short":"Determines if the project has an OpenSSF (formerly CII) Best Practices Badge.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#cii-best-practices"}},{"name":"Security-Policy","score":0,"reason":"security policy file not detected","details":["Warn: no security policy file detected","Warn: no security file to analyze","Warn: no security file to analyze","Warn: no security file to analyze"],"documentation":{"short":"Determines if the project has published a security policy.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#security-policy"}},{"name":"Fuzzing","score":0,"reason":"project is not fuzzed","details":["Warn: no fuzzer integrations found"],"documentation":{"short":"Determines if the project uses fuzzing.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#fuzzing"}},{"name":"License","score":10,"reason":"license file detected","details":["Info: project has a license file: LICENSE:0","Info: FSF or OSI recognized license: Apache License 2.0: LICENSE:0"],"documentation":{"short":"Determines if the project has defined a license.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#license"}},{"name":"Signed-Releases","score":-1,"reason":"no releases found","details":null,"documentation":{"short":"Determines if the project cryptographically signs release artifacts.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#signed-releases"}},{"name":"Pinned-Dependencies","score":-1,"reason":"no dependencies found","details":null,"documentation":{"short":"Determines if the project has declared and pinned the dependencies of its build process.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#pinned-dependencies"}},{"name":"Branch-Protection","score":0,"reason":"branch protection not enabled on development/release branches","details":["Warn: branch protection not enabled for branch 'master'"],"documentation":{"short":"Determines if the default and release branches are protected with GitHub's branch protection settings.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#branch-protection"}},{"name":"Vulnerabilities","score":0,"reason":"50 existing vulnerabilities detected","details":["Warn: Project is vulnerable to: GHSA-h5c3-5r3r-rr8q","Warn: Project is vulnerable to: GHSA-rmvr-2pp2-xj38","Warn: Project is vulnerable to: GHSA-xx4v-prfh-6cgc","Warn: Project is vulnerable to: GHSA-93q8-gq69-wqmw","Warn: Project is vulnerable to: GHSA-v6h2-p8h4-qcjw","Warn: Project is vulnerable to: GHSA-grv7-fg5c-xmjg","Warn: Project is vulnerable to: GHSA-3xgq-45jj-v275","Warn: Project is vulnerable to: GHSA-w573-4hg7-7wgq","Warn: Project is vulnerable to: GHSA-fjxv-7rqg-78g4","Warn: Project is vulnerable to: GHSA-ww39-953v-wcq6","Warn: Project is vulnerable to: GHSA-pfrx-2q88-qq97","Warn: Project is vulnerable to: GHSA-765h-qjxv-5f44","Warn: Project is vulnerable to: GHSA-f2jv-r9rf-7988","Warn: Project is vulnerable to: GHSA-43f8-2h32-f4cj","Warn: Project is vulnerable to: GHSA-rc47-6667-2j5j","Warn: Project is vulnerable to: GHSA-78xj-cgh5-2h22","Warn: Project is vulnerable to: GHSA-2p57-rm9w-gvfp","Warn: Project is vulnerable to: GHSA-896r-f27r-55mw","Warn: Project is vulnerable to: GHSA-29mw-wpgm-hmr9","Warn: Project is vulnerable to: GHSA-35jh-r3h4-6jhm","Warn: Project is vulnerable to: GHSA-p6mc-m468-83gw","Warn: Project is vulnerable to: GHSA-952p-6rrq-rcjv","Warn: Project is vulnerable to: GHSA-f8q6-p94x-37v3","Warn: Project is vulnerable to: GHSA-xvch-5gv4-984h","Warn: Project is vulnerable to: GHSA-r683-j2x4-v87g","Warn: Project is vulnerable to: GHSA-3j8f-xvm3-ffx4","Warn: Project is vulnerable to: GHSA-4p35-cfcx-8653","Warn: Project is vulnerable to: GHSA-7f3x-x4pr-wqhj","Warn: Project is vulnerable to: GHSA-jpp7-7chh-cf67","Warn: Project is vulnerable to: GHSA-q6wq-5p59-983w","Warn: Project is vulnerable to: GHSA-j9fq-vwqv-2fm2","Warn: Project is vulnerable to: GHSA-pqw5-jmp5-px4v","Warn: Project is vulnerable to: GHSA-hj48-42vr-x3v9","Warn: Project is vulnerable to: GHSA-hrpp-h998-j3pp","Warn: Project is vulnerable to: GHSA-p8p7-x288-28g6","Warn: Project is vulnerable to: GHSA-c2qf-rxjj-qqgw","Warn: Project is vulnerable to: GHSA-vx3p-948g-6vhq","Warn: Project is vulnerable to: GHSA-3jfq-g458-7qm9","Warn: Project is vulnerable to: GHSA-r628-mhmh-qjhw","Warn: Project is vulnerable to: GHSA-9r2w-394v-53qc","Warn: Project is vulnerable to: GHSA-5955-9wpr-37jh","Warn: Project is vulnerable to: GHSA-qq89-hq3f-393p","Warn: Project is vulnerable to: GHSA-f5x3-32g6-xq36","Warn: Project is vulnerable to: GHSA-pq67-2wwv-3xjx","Warn: Project is vulnerable to: GHSA-8cj5-5rvv-wf4v","Warn: Project is vulnerable to: GHSA-52f5-9888-hmc6","Warn: Project is vulnerable to: GHSA-72xf-g2v4-qvf3","Warn: Project is vulnerable to: GHSA-7p7h-4mm5-852v","Warn: Project is vulnerable to: GHSA-38fc-wpqx-33j7","Warn: Project is vulnerable to: GHSA-c4w7-xm78-47vh"],"documentation":{"short":"Determines if the project has open, known unfixed vulnerabilities.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#vulnerabilities"}}]},"last_synced_at":"2025-08-23T00:23:59.714Z","repository_id":70590017,"created_at":"2025-08-23T00:23:59.714Z","updated_at":"2025-08-23T00:23:59.714Z"},"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":275710228,"owners_count":25514060,"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-09-18T02:00:09.552Z","response_time":77,"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":["assemblyscript","cdk","dfinity"],"created_at":"2024-08-01T06:01:03.475Z","updated_at":"2025-09-18T04:30:38.355Z","avatar_url":"https://github.com/rckprtr.png","language":"WebAssembly","funding_links":[],"categories":["Canister Development Kits (CDKs)","CDK\u0026Agent"],"sub_categories":["AssemblyScript"],"readme":"# Unofficial DFINITY AssemblyScript CDK\n\nThis is an experimental project to evaluate how AssemblyScript could be used as a CDK and should not be used for any production purposes.\n\n## Examples\n\n1. [Counter Example](https://github.com/rckprtr/as-dfinity-examples/tree/master/examples/counter)\n1. [Todo Example](https://github.com/rckprtr/as-dfinity-examples/tree/master/examples/todo)\n1. [Phonebook Web Example](https://github.com/rckprtr/as-dfinity-examples/tree/master/examples/phonebook)\n## What is supported?\n\n### DFINITY IC\n\n|  | Command |\n| --- | --- |\n| :heavy_minus_sign: | `call_data_append` |\n| :heavy_minus_sign: | `call_funds_add` |\n| :heavy_minus_sign: | `call_new` |\n| :heavy_minus_sign: | `call_perform` |\n| ✅ | `canister_balance` |\n| ✅ | `canister_self_copy` |\n| ✅ | `canister_self_size` |\n| ✅ | `canister_update` |\n| ✅ | `canister_query` |\n| ✅ | `canister_pre_upgrade` |\n| ✅ | `canister_post_upgrade` |\n| ✅ | `canister_query` |\n| ✅ | `debug_print` |\n| ✅ | `msg_arg_data_copy` |\n| ✅ | `msg_arg_data_size` |\n| ✅ | `msg_caller_copy` |\n| ✅ | `msg_caller_size` |\n| ✅ | `msg_funds_available` |\n| :heavy_minus_sign: | `msg_funds_refunded` |\n| :heavy_minus_sign: | `msg_funds_accept` |\n| ✅ | `msg_reject_code` |\n| ✅ | `msg_reject_msg_size` |\n| ✅ | `msg_reject_msg_copy` |\n| ✅ | `msg_reject` |\n| ✅ | `msg_reply_data_append` |\n| ✅ | `msg_reply` |\n| ✅ | `trap` |\n| ✅ | `stable_write` |\n| ✅ | `stable_read` |\n| ✅ | `stable_size` |\n| ✅ | `stable_grow` |\n| ✅ | `time` |\n\n### DFINITY Primitives\n\n|  | DFX Primitive | AS Primitive |\n| --- | --- | --- |\n| ✅ | `Null` | `null` |\n| ✅ | `Bool` | `bool` |\n| :heavy_minus_sign: | `Nat` | `u∞` |\n| ✅ | `Nat8` | `u8` |\n| ✅ | `Nat16` | `u16` |\n| ✅ | `Nat32` | `u32` |\n| ✅ | `Nat64` | `u64` |\n| :heavy_minus_sign: | `Int` | `i∞` |\n| ✅ | `Int8` | `i8` |\n| ✅ | `Int16` | `i16` |\n| ✅ | `Int32` | `i32` |\n| ✅ | `Int64` | `i64` |\n| ✅ | `Float32` | `f32` |\n| ✅ | `Float32` | `f64` |\n| ✅ | `Text` | `string` |\n| :heavy_minus_sign: | `Reserved` | `N/A` |\n| ✅ | `Empty` | `N/A` |\n\n* For Int/Nat AS currently does not have an arbitrary length integer\n\n### Candid Types\n|  | DFX Types | AS Type |\n| --- | --- | --- |\n| ✅ | `Opt` | Return Only \u003c\u003e [Basic Types can't be nullable](https://www.assemblyscript.org/types.html#type-rules) |\n| ✅ | `Vec` | `Array\u003cObject\u003e or Object[] (Supports Multi Dimensional) ` |\n| ✅ | `Record` | `Models (No Cyclical Relationships)` |\n| :heavy_minus_sign: | `Variant` | `TBD` |\n\n\n* TBD Field Types, Reference Types, Method Types\n\n## Limitations\n\n### Int and Nat\n\nIn DFINITY Int and Nat are represented as arbitrary length signed/unsighed integers.  BigInt's are currently not supported by `cdk-as`.\n\n## How does it work?\n\nTBD\n\n## Things I want to integrate.\n\n* [visitor-as](https://github.com/willemneal/visitor-as) - For Encode/Decode\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Frckprtr%2Fcdk-as","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Frckprtr%2Fcdk-as","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Frckprtr%2Fcdk-as/lists"}