-
Notifications
You must be signed in to change notification settings - Fork 11
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
Solana VM on Polkadot SDK #2
base: master
Are you sure you want to change the base?
Conversation
Can't wait for this to be a service on JAM :) |
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.
Thank you for the application, @conr2d, and congrats on being the first.
Please bear with us as we are still in the process of setting things up. In the meantime, I left some comments below.
|
||
## Future Plans | ||
|
||
The outcomes of this project will be utilized in Haderech's ongoing projects, and be maintained and developed alongside the Polkadot SDK. |
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.
Could you elaborate what these ongoing projects are?
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.
I am building a non-profit project named by Noir, an extension to Polkadot SDK for building a multi-vm chains. This aims to solve diversified protocol specification issues by integrating EVM, WASM, SVM (Solana VM) and MOVE VM, so that any wallet users, any dapps can connect to Polkadot ecosystem seamlessly.
|
||
The outcomes of this project will be utilized in Haderech's ongoing projects, and be maintained and developed alongside the Polkadot SDK. | ||
|
||
We plan to propose a system parachain, **dApp Hub**, that provides multi-VM support including EVM, WASM, Solana VM, and possibly PolkaVM and MOVE. |
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.
This seems to overlap, but in functionality and in name, with Polkadot Hub. I doubt that the community would be keen to have two competing multi-VM hubs; what's your angle here?
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.
I don't believe these two chains are in a competitive relationship. The scope of the Polkadot Hub is limited to supporting an EVM-compatible YUL interpreter (pallet-revive
) and PolkaVM (pallet-contract
), which primarily target Polkadot and Ethereum (EVM) users. As such, its focus is narrower, addressing only users within the Polkadot and Ethereum ecosystems.
In contrast, our solution allows users from various ecosystems, including Polkadot, Ethereum, Cosmos, Solana, and Sui, to connect seamlessly to the Polkadot ecosystem without requiring changes to their wallets or the creation of new addresses. This enables users to directly hold DOT using their existing tools, a feature not supported by the Polkadot Hub.
Moreover, our solution benefits not only end users but also dApp developers. Developers can deploy their existing dApps without any modifications, significantly reducing migration costs and making it easier to attract them to our platform.
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.
Hub atm is not intended as a multi-VM hub, so I don't see competition here.
However, "system chains" specifically are chains that are maintained by the Technical Fellowship. Previous proposers put themselves in a bad situation where they proposed a system chain and the Technical Fellowship did not intend to maintain it. It would be better to suggest it simply as a parachain. I believe if Solana VM compatibility is there, a common good chain where fees are paid in DOT has a chance to be funded by OpenGov in the future
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.
@Tomen Thank you for your advice. We are a small team and want to focus more on the technical aspects, so we were considering having a support from the Fellowship in node operations. The code itself will be maintained by us. The reason we mentioned this is that once a token is issued, projects can sometimes drift regardless of technical maturity due to token price fluctuations. That said, we will also consider applying for support from OpenGov as one of the options.
@conr2d thanks for applying. Here are some questions about the application: From the technical perspective
From the business perspective, thanks @LucaPolimec for adding that:
|
We don’t believe the Solang compiler is similar to our proposal. Solang is a project that allows Web3 developers to write Polkadot contracts using Solidity, which they’re already familiar with. Meanwhile, we consider both Solana end users and developers as part of our user group, and our goal is to remove the hurdles that currently prevent them from accessing the Polkadot ecosystem, so they can connect with it immediately.
You have a valid point. Heavy cryptography-related computations are too expensive to run inside a VM unless they’re supported at the core layer. Therefore, features such as zero-knowledge functionalities (which Solana supports but the Polkadot SDK does not yet) can’t offer identical capabilities. However, aside from these exceptional cases, asset-related programs like SPL Token (Solana’s equivalent of ERC-20) can run without any problem. That’s why we plan to test it by running pump.fun (a memecoin minting platform), which is currently one of the hottest dApp services on Solana.
As far as I know, Solana program developers typically rely on CLI interfaces to build their programs. Since we're providing a full emulation of the Solana execution environment, they can continue using their existing CLI tools without modification. We’re not just providing a VM. We’ll also provide a Solana RPC emulation layer, which is similar to building a Frontier for Solana. For testing, it should be possible to use a Solana wallet. However, because Solana doesn’t have a multichain ecosystem like Polkadot or Ethereum, many Solana wallets only offer limited network-switching features. In that case, you could use specific Solana wallets (e.g., Nightly) for testing. Once the project is production-ready, we’ll reach out to major Solana wallet providers like Phantom or Backpack to request Polkadot network support. This shouldn’t be too difficult since we don’t need to rebuild wallet features for Polkadot; we just need to add the ability to switch the Solana RPC endpoint, as they normally do.
This isn’t just a Solana compiler; it’s a much broader project. In fact, this can’t be fully developed with a $30K grant. However, it aligns with our long-term plan to tackle protocol fragmentation in Web3 and use Polkadot as a hub for all possible blockchains. That’s why we’re generalizing certain capabilities so they can also be applied to other parachains. With this feature, Solana users won’t have to install a Polkadot wallet or create a Polkadot address just to hold DOT. They can simply hold DOT with their existing Solana wallets. Also, developers who built dApps for Solana can deploy them on Polkadot without having to learn entirely new programming languages or protocols, eliminating those hurdles. When we use the internet, we can open any website on browsers like Chrome, Firefox, or Safari. But in Web3, users have to switch wallets depending on the protocol a service is deployed on. This heavily disrupts the user experience. We want to let people expand their Web3 experience without having to discard the knowledge they’ve already gained on one protocol.
This solution does not aim to make Solana developers immediately abandon Solana for Polkadot. The biggest issue right now is that, despite Polkadot’s strong infrastructure, most people don’t even know it exists. By allowing Solana programs to also be deployed on Polkadot, developers who want to expand their dApps to a multichain environment—without high costs—can move over first. If Solana SPL tokens can be transferred to the Asset Hub and use XCM, it will help introduce Polkadot’s infrastructure to Solana developers. The same applies to end users. They might start simply by holding DOT, but once they get a taste of the Polkadot ecosystem, we believe that in the long run, they can be attracted by features that only Polkadot can offer. |
Project Abstract
This project aims to integrate Solana execution environment into the Polkadot SDK enabling Solana programs (smart contracts) to run on
Polkadot SDK
-based chains. This integration will allow Solana programs to be deployed on Polkadot parachains and facilitate interaction with Solana wallets.Application Checklist
project_name.md
).