-
Notifications
You must be signed in to change notification settings - Fork 229
Mention Solidity support via Solang #2013
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
base: main
Are you sure you want to change the base?
Conversation
Signed-off-by: salaheldinsoliman <[email protected]>
Signed-off-by: salaheldinsoliman <[email protected]>
Signed-off-by: salaheldinsoliman <[email protected]>
ElliotFriend
left a comment
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Hi, @salaheldinsoliman!! Thanks so much for this contribution! I love the additions and think it'll greatly help raise awareness of the solang compatibility.
I've added some nitpicky comments, changing Soroban in a few places to Stellar. I know the solang repo refers to it as Soroban, which is fine. But, in general, in our docs, we're trying to move away from the distinction between Soroban (the smart contract platform/runtime) and Stellar (the blockchain).
|
|
||
| **The Solang compiler is maintained by the Hyperledger community.** | ||
|
|
||
| Solang is an llvm-based compiler for Solidity that can target multiple blockchains, including Soroban. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
| Solang is an llvm-based compiler for Solidity that can target multiple blockchains, including Soroban. | |
| Solang is an llvm-based compiler for Solidity that can target multiple blockchains, including Stellar. |
|
|
||
| :::caution | ||
|
|
||
| Solidity support via Solang for Soroban is experimental and evolving. Not all Solidity features are supported yet, and breaking changes may occur. We Don't recommend using Solang for production contracts at this time. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
| Solidity support via Solang for Soroban is experimental and evolving. Not all Solidity features are supported yet, and breaking changes may occur. We Don't recommend using Solang for production contracts at this time. | |
| Solidity support via Solang for Stellar is experimental and evolving. Not all Solidity features are supported yet, and breaking changes may occur. We Don't recommend using Solang for production contracts at this time. |
| ::: | ||
|
|
||
| - The easiest way to use Solang is via the Web IDE, but you can also build Solang from source or use prebuilt binaries. | ||
| - For deployment and interaction, use the Soroban CLI and client SDKs after compiling your Wasm artifact. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
| - For deployment and interaction, use the Soroban CLI and client SDKs after compiling your Wasm artifact. | |
| - For deployment and interaction, use the Stellar CLI and client SDKs after compiling your Wasm artifact. |
| --- | ||
| sidebar_position: 4 | ||
| title: Solidity support via Solang | ||
| description: Compile Solidity contracts to Wasm for Soroban using the Solang compiler. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
| description: Compile Solidity contracts to Wasm for Soroban using the Solang compiler. | |
| description: Compile Solidity contracts to Wasm for Stellar using the Solang compiler. |
This PR mentions Hyperledger Solang as an SDK that can be used to compile Solidity to Soroban.
It also mentions the Web IDE: https://solang.io/