{"id":15172233,"url":"https://github.com/hyperledger-solang/solang","last_synced_at":"2025-05-14T12:07:36.194Z","repository":{"id":37464514,"uuid":"163517929","full_name":"hyperledger-solang/solang","owner":"hyperledger-solang","description":"Solidity Compiler for Solana, Polkadot and Stellar","archived":false,"fork":false,"pushed_at":"2025-03-15T14:08:54.000Z","size":18584,"stargazers_count":1320,"open_issues_count":175,"forks_count":235,"subscribers_count":28,"default_branch":"main","last_synced_at":"2025-04-09T14:03:00.445Z","etag":null,"topics":["blockchain","bpf","compiler","polkadot","rust","smart-contracts","solana","solidity","soroban","stellar","substrate","wasm"],"latest_commit_sha":null,"homepage":"https://solang.readthedocs.io/","language":"Rust","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/hyperledger-solang.png","metadata":{"files":{"readme":"README.md","changelog":"CHANGELOG.md","contributing":"CONTRIBUTING.md","funding":null,"license":"LICENSE","code_of_conduct":"CODE_OF_CONDUCT.md","threat_model":null,"audit":null,"citation":null,"codeowners":"CODEOWNERS","security":"SECURITY.md","support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2018-12-29T14:37:56.000Z","updated_at":"2025-04-07T16:59:56.000Z","dependencies_parsed_at":"2023-10-30T11:42:41.171Z","dependency_job_id":"89f3f509-a566-4322-b248-19ba4dab22a2","html_url":"https://github.com/hyperledger-solang/solang","commit_stats":{"total_commits":1909,"total_committers":34,"mean_commits":56.14705882352941,"dds":"0.14353064431639606","last_synced_commit":"6d2a1bde060ce5deb7b739044502fc929610271e"},"previous_names":["hyperledger-labs/solang","hyperledger-solang/solang","hyperledger/solang"],"tags_count":22,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/hyperledger-solang%2Fsolang","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/hyperledger-solang%2Fsolang/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/hyperledger-solang%2Fsolang/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/hyperledger-solang%2Fsolang/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/hyperledger-solang","download_url":"https://codeload.github.com/hyperledger-solang/solang/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":248537136,"owners_count":21120709,"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":["blockchain","bpf","compiler","polkadot","rust","smart-contracts","solana","solidity","soroban","stellar","substrate","wasm"],"created_at":"2024-09-27T09:42:48.872Z","updated_at":"2025-04-12T12:42:04.436Z","avatar_url":"https://github.com/hyperledger-solang.png","language":"Rust","funding_links":[],"categories":["Solidity","Rust"],"sub_categories":["Other dialects and variants"],"readme":"\u003cimg src=\"https://raw.githubusercontent.com/hyperledger/solang/main/docs/hl_solang_horizontal-color.svg\" alt=\"Solang Logo\" width=\"75%\"/\u003e\n\n# solang - Solidity Compiler for Solana and Polkadot\n\n[![Discord](https://img.shields.io/discord/905194001349627914?logo=Hyperledger\u0026style=plastic)](https://discord.gg/hyperledger)\n[![CI](https://github.com/hyperledger-solang/solang/workflows/test/badge.svg)](https://github.com/hyperledger-solang/solang/actions)\n[![Documentation Status](https://readthedocs.org/projects/solang/badge/?version=latest)](https://solang.readthedocs.io/en/latest/?badge=latest)\n[![license](https://img.shields.io/github/license/hyperledger/solang.svg)](LICENSE)\n[![LoC](https://tokei.rs/b1/github/hyperledger/solang?category=lines)](https://github.com/hyperledger-solang/solang)\n\nWelcome to Solang, a new Solidity compiler written in rust which uses\nllvm as the compiler backend. Solang can compile Solidity for Solana and\nPolkadot Parachains with the `contracts` pallet.\nSolang is source compatible with Solidity 0.8,\nwith some caveats due to differences in the underlying blockchain.\n\nSolang is under active development right now, and has\n[extensive documentation](https://solang.readthedocs.io/en/latest/).\n\n## Solana\n\nPlease follow the [Solang Getting Started Guide](https://solana.com/developers/guides/solang/getting-started).\n\nSolang is part of the [Solana Tools Suite](https://docs.solana.com/cli/install-solana-cli-tools) (version v1.16.3 and higher).\nThere is no need to install it separately.\n\n## Installation\n\nSolang is available as a Brew cask for MacOS, with the following command:\n\n```\nbrew install hyperledger/solang/solang\n```\n\nFor other operating systems, please check the [installation guide](https://solang.readthedocs.io/en/latest/installing.html).\n\n## Build for Polkadot\n\nRun the following command, selecting the flipper example available on Solang's repository:\n\n```bash\nsolang compile --target polkadot examples/polkadot/flipper.sol\n```\n\nAlternatively if you want to use the solang container, run:\n\n```\ndocker run --rm -it -v $(pwd):/sources ghcr.io/hyperledger/solang compile -v -o /sources --target polkadot /sources/flipper.sol\n```\nYou will have a file called flipper.contract. You can use this directly in\nthe [Contracts UI](https://contracts-ui.substrate.io/),\nas if your smart contract was written using ink!.\n\n## Tentative roadmap\n\nSolang has a high level of compatibility with many blockchains. We are trying to ensure the compiler stays\nup to date with the newest Solidity syntax and features.  In addition, we focus on bringing new performance optimizations\nand improve developer experience.\nHere is a brief description of what we envision for the next versions.\n\n### V0.4\n\n| Feature                                            | Status                                               |\n|----------------------------------------------------|------------------------------------------------------|\n| Improve management over optimization passes        | Not started                                          |\n| Adopt single static assignment for code generation | In progress                                          |\n| Support openzeppelin on Polkadot target            | In progress                                          |\n| Provide Solidity -\u003e Polkadot porting guide         | Not started                                          |\n| Declare accounts for a Solidity function on Solana | In progress                                          |\n| Tooling for calls between ink! \u003c\u003e solidity         | In progress                                          |\n| Provide CLI for node interactions                  | [Done](https://github.com/hyperledger-solang/solang-aqd)    |\n\n## License\n\n[Apache 2.0](LICENSE)\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fhyperledger-solang%2Fsolang","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fhyperledger-solang%2Fsolang","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fhyperledger-solang%2Fsolang/lists"}