solang
Solidity Compiler for Solana and Polkadot (by hyperledger)
solc-js
Javascript bindings for the Solidity compiler (by ethereum)
Our great sponsors
solang | solc-js | |
---|---|---|
6 | 8 | |
1,186 | 1,406 | |
1.3% | 1.3% | |
9.1 | 6.9 | |
13 days ago | 9 days ago | |
Rust | TypeScript | |
Apache License 2.0 | MIT License |
The number of mentions indicates the total number of mentions that we've tracked plus the number of user suggested alternatives.
Stars - the number of stars that a project has on GitHub. Growth - month over month growth in stars.
Activity is a relative number indicating how actively a project is being developed. Recent commits have higher weight than older ones.
For example, an activity of 9.0 indicates that a project is amongst the top 10% of the most actively developed projects that we are tracking.
Stars - the number of stars that a project has on GitHub. Growth - month over month growth in stars.
Activity is a relative number indicating how actively a project is being developed. Recent commits have higher weight than older ones.
For example, an activity of 9.0 indicates that a project is amongst the top 10% of the most actively developed projects that we are tracking.
solang
Posts with mentions or reviews of solang.
We have used some of these posts to build our list of alternatives
and similar projects. The last one was on 2022-04-02.
-
Linux Foundation Mentorship about compilers.
Solidity is language for smart contacts originally designed for Ethereum. If you want to execute your Solidity smart contract in a blockchain whose VM interprets WASM, then you need to compile Solidity into WebAssembly. Currently, we target Substrate (https://github.com/paritytech/substrate) and Ewasm (https://ewasm.readthedocs.io/en/mkdocs/) that need WebAssembly. This is the project's repo: https://github.com/hyperledger-labs/solang
-
Change my view: Rust is a poor choice for smart contracts
If you really want to use solidity there is https://github.com/hyperledger-labs/solang , a solidity compiler for Solana. You will still need to learn how to interact with the Solana blockchain but you can do it in Solidity.
-
compile Solidity code for Solana
I see solang can compile Solidity code to Solana. Can this code be deployed to the Solana blockchain?
-
Anyone figure out how to compile solidity on the front-end?
You could try to use https://github.com/hyperledger-labs/solang and target WASM.
-
Is ICP still compatible with Solidity?
It should be technically possible as I see there is a solidity to wasm compiler: https://github.com/hyperledger-labs/solang
solc-js
Posts with mentions or reviews of solc-js.
We have used some of these posts to build our list of alternatives
and similar projects. The last one was on 2022-10-03.
-
How to handle situations where the input exceeds the Solidity compiler‘s size limitations "Memory access is out of bounds" when compiling input larger than 1.2MB?
GH issue I created: https://github.com/ethereum/solc-js/issues/692. Thanks for any suggestion.
-
Compile Solidity In The Browser
Since the eth_compile API was deprecated, the available alternatives (Solc-JS and the extended Browser-Solc) work best in a server setup or is tightly coupled to the HTML DOM, they are not so flexible to work with in modern Javascript library environment such as ReactJS, well at least, not so straight-forward. This will make your application throw tantrums as you develop with them which, from my experience, is a terrible developer experience.
-
Creating a storage contract with EthersJs (notes from Freecodecamp)
Since we want to compile our SimpleStorage.sol contract, we need to install the solc-js compiler. Here's the link to the solc-js repo => https://github.com/ethereum/solc-js
-
COMPILING THE SMART CONTRACTS
You can read more about solcjs here 👉 'solcJs'
- Ethereumの超シンプルなコントラクトをgethコンソールからデプロイする
-
Unable to run the code "solc --abi Faucet.sol" on Remix. Why and what should I fix?
If you install the compiler via npm, you really get solc-js, which is a thin JavaScript wrapper around a WebAssembly or asm.js version of the compiler binary. It's primarily meant to be used by JavaScript tools (such as Remix IDE for example) but it also provides a script called solcjs, which emulates the command-line interface of solc. It supports the --abi option so you can run it like this:
-
How to Compile Smart Contract in React
In this post I gonna compile a Solidity program with Solidity Compiler JS in browsers supported WebWorker.
- Anyone figure out how to compile solidity on the front-end?
What are some alternatives?
When comparing solang and solc-js you can also consider the following projects:
awesome-solidity - ⟠ A curated list of awesome Solidity resources, libraries, tools and more
reactjs-practices
Smart-Contract-Security-Audits - Certified Smart Contract Audits for Ethereum, Solana, Near, Cardano, Aptos, Sui, Binance Smart Chain, Fantom, EOS, Tezos by Chainsulting
coinconket
ink - Parity's ink! to write smart contracts.
solidity - Solidity, the Smart Contract Programming Language
riju - ⚡ Extremely fast online playground for every programming language.
substrate - Substrate: The platform for blockchain innovators
browser-solidity-compiler
anchor - ⚓ Solana Sealevel Framework
nx - Smart Monorepos · Fast CI