{"id":21429755,"url":"https://github.com/limechain/subsembly-core","last_synced_at":"2025-03-16T21:44:10.084Z","repository":{"id":49920304,"uuid":"306010061","full_name":"LimeChain/subsembly-core","owner":"LimeChain","description":"Core components used by Subsembly","archived":false,"fork":false,"pushed_at":"2021-06-08T09:26:11.000Z","size":319,"stargazers_count":0,"open_issues_count":1,"forks_count":2,"subscribers_count":5,"default_branch":"main","last_synced_at":"2025-02-23T22:06:42.322Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":"","language":"TypeScript","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/LimeChain.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null}},"created_at":"2020-10-21T12:00:17.000Z","updated_at":"2021-06-08T09:26:14.000Z","dependencies_parsed_at":"2022-09-17T16:00:56.429Z","dependency_job_id":null,"html_url":"https://github.com/LimeChain/subsembly-core","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/LimeChain%2Fsubsembly-core","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/LimeChain%2Fsubsembly-core/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/LimeChain%2Fsubsembly-core/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/LimeChain%2Fsubsembly-core/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/LimeChain","download_url":"https://codeload.github.com/LimeChain/subsembly-core/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":243940062,"owners_count":20372044,"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":"2024-11-22T22:19:04.235Z","updated_at":"2025-03-16T21:44:10.050Z","avatar_url":"https://github.com/LimeChain.png","language":"TypeScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"\u003cp align=\"center\"\u003e\n  \u003cimg src=\"./images/logo.svg\"\u003e\n\u003c/p\u003e\n\n\u003cdiv align=\"center\"\u003e\n\n[![License](https://img.shields.io/badge/License-Apache%202.0-blue.svg)](https://opensource.org/licenses/Apache-2.0) ![Unit Tests](https://github.com/LimeChain/subsembly-core/workflows/Unit%20Tests/badge.svg)\n\n\u003c/div\u003e\n\nThis is the core library of [Subsembly framework](https://github.com/LimeChain/subsembly) used for developing Substrate runtimes in AssemblyScript.\n\n## Usage\n\nInstall the package:\n``` \nyarn add subsembly-core \n```  \nor  \n``` \nnpm install subsembly-core\n```  \n\n## Folder Structure\nSubsembly-Core project consists of following folders:\n```\nsubsembly\n    assembly/\n    │\n    └───models     \u003c--- Models representing common Subsembly types\n    |\n    └───modules    \u003c--- Core modules used in Runtime development\n    │\n    └───utils      \u003c--- Utility functions used in Runtime development\n\n```\n\n## Models\n\nFolder consists of commonly used types in Subsembly, such as, `Header`, `Extrinsic`, `Block`, etc. All the models implement Codec interface from [`as-scale-codec`](https://github.com/limechain/as-scale-codec) and have corresponding SCALE encoding and decoding methods.\n\n## Modules\n\nFolder consists of commonly used modules inside Subsembly runtime. For instance, `Log` class to display messages to the Host.\n\n## Utils\n\nFolder consists of commonly used utility functions in Subsembly. For instance, it includes methods for serialising and deserialising data incoming from the Host.\n\n## Funding \n\nThe project is funded by [Web3 Foundation](https://web3.foundation/) via their [General Grants Program](https://github.com/w3f/General-Grants-Program) 🙏\n![WEB3 Badge](./images/web3_badge_black.png)","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Flimechain%2Fsubsembly-core","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Flimechain%2Fsubsembly-core","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Flimechain%2Fsubsembly-core/lists"}