{"repo":"hyperledger-solang/solang","free":true,"listed":false,"github":"https://github.com/hyperledger-solang/solang","clone":"git clone https://github.com/hyperledger-solang/solang.git","description":"Solidity Compiler for Solana, Polkadot and Stellar","language":"Rust","stars":1382,"topics":["solidity","compiler","smart-contracts","solana","bpf","wasm","substrate","blockchain","rust","polkadot"],"license":"Apache-2.0","category":"blockchain-web3","readme_excerpt":"solang - Solidity Compiler for Solana, Polkadot and Soroban Welcome to Solang, a new Solidity compiler written in rust which uses llvm as the compiler backend. Solang can compile Solidity for Solana, Soroban and the Polkadot Parachains with the contracts pallet. Solang is source compatible with Solidity 0.8, with some caveats due to differences in the underlying blockchain. Solang is under active development right now, and has extensive documentation. Solana Please follow the Solang Getting Started Guide. Solang is part of the Solana Tools Suite (version v1.16.3 and higher). There is no need to install it separately. Installation Solang is available as a Brew cask for MacOS, with the following command: For other operating systems, please check the installation guide. Build for Polkadot Run the following command, selecting the flipper example available on Solang's repository: Alternatively if you want to use the solang container, run: You will have a file called flipper.contract. You can use this directly in the Contracts UI, as if your smart contract was written using ink!. Build for Soroban Select one of the supported contracts for Soroban, available in on Solang's repository: You will have a file called token.wasm . Deploy it using the Stellar CLI , after following the Stellar CLI Setup Manual : Once deployed, copy the deployed contract ID and interact with it: For the current Soroban support matrix, see the Soroban support matrix . For Soroban compatibility details, see th","default_branch":null,"files":null,"tree":[],"storefront":"/r/hyperledger-solang","claimed":false,"request_supported":{"post":"https://gitbuyer.com/r/hyperledger-solang/solang/request-supported","requests":0},"note":"indexed from public GitHub; nothing is for sale on this page. Clone it from GitHub. Paid listings live at /search."}