{"id":19365692,"url":"https://github.com/ryanleecode/solwasmc","last_synced_at":"2025-11-11T11:19:53.382Z","repository":{"id":57109702,"uuid":"200734508","full_name":"ryanleecode/solwasmc","owner":"ryanleecode","description":"Solidity Web Assembly Compiler","archived":false,"fork":false,"pushed_at":"2019-08-22T12:05:39.000Z","size":216,"stargazers_count":1,"open_issues_count":0,"forks_count":0,"subscribers_count":2,"default_branch":"master","last_synced_at":"2025-02-16T06:32:53.381Z","etag":null,"topics":["compiler","ethereum","evm","functional-programming","nom","rust","solidity"],"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/ryanleecode.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}},"created_at":"2019-08-05T21:58:14.000Z","updated_at":"2023-01-26T02:07:47.000Z","dependencies_parsed_at":"2022-08-21T08:00:19.089Z","dependency_job_id":null,"html_url":"https://github.com/ryanleecode/solwasmc","commit_stats":null,"previous_names":["drdgvhbh/solc-assem-wasm","drdgvhbh/solwasmc"],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ryanleecode%2Fsolwasmc","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ryanleecode%2Fsolwasmc/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ryanleecode%2Fsolwasmc/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ryanleecode%2Fsolwasmc/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/ryanleecode","download_url":"https://codeload.github.com/ryanleecode/solwasmc/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":240483871,"owners_count":19808668,"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":["compiler","ethereum","evm","functional-programming","nom","rust","solidity"],"created_at":"2024-11-10T07:41:54.373Z","updated_at":"2025-11-11T11:19:53.352Z","avatar_url":"https://github.com/ryanleecode.png","language":"Rust","readme":"# Solwasmc\n\n\u003e Web assembly compiler for the solidity language.\n\n[![Build Status](https://travis-ci.com/drdgvhbh/solc-wasm.svg?branch=master)](https://travis-ci.com/drdgvhbh/solc-wasm)\n\n## Table of contents\n\n- [General info](#general-info)\n- [Usage](#usage)\n- [Building From Source](#building-from-source)\n- [Technologies](#technologies)\n\n## General info\n\nThe motivation behind Solcwasmc is to build a solidity compiler that can run in the browser via [web assembly](https://webassembly.org/). This is not meant to replace the canonical [solc](https://github.com/ethereum/solidity.git) in terms of usability, but simply act as a drop in replacement for deploying smart contracts in the browser.\n\n## Usage\n\n`npm i @drdgvhbh/solwasmc`\n\n```ts\nimport { compile } from \"@drdgvhbh/solwasmc\";\n\nconst byteCode = compile(\"contract Test {...}\");\n```\n\n## Building from Source\n\n### Prerequisites\n\n- [Python3](https://www.python.org/downloads/)\n- [GNU Make](https://www.gnu.org/software/make/)\n- [Cargo](https://github.com/rust-lang/cargo)\n- [Rust](https://www.rust-lang.org/)\n\n### Build\n\n```sh\nmake generate\ncargo build\n```\n\n### Build for Web Assembly\n\n```sh\nwasm-pack build --scope YOUR_NPM_USERNAME\ncd pkg\nnpm publish --access=public\n```\n\n## Technologies\n\n- [Nom 5.0.0](https://docs.rs/nom/5.0.0/nom/)\n- [Rust](https://www.rust-lang.org/)\n","funding_links":[],"categories":[],"sub_categories":[],"project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fryanleecode%2Fsolwasmc","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fryanleecode%2Fsolwasmc","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fryanleecode%2Fsolwasmc/lists"}