Skip to content
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

Scaffolding an evm ready chains with Polaris #169

Open
Tracked by #3051
lumtis opened this issue Jul 17, 2022 · 6 comments
Open
Tracked by #3051

Scaffolding an evm ready chains with Polaris #169

lumtis opened this issue Jul 17, 2022 · 6 comments

Comments

@lumtis
Copy link

lumtis commented Jul 17, 2022

Is your feature request related to a problem or issue you encountered? Please describe.
evm is the most popular VM for smart contracts. Many developers like DYDX may want to transition to a self-sovereign blockchain but without giving up their Solidity smart contract architecture. Others may prefer to develop Solidity smart contracts rather than SDK modules.

The evm module allows deploying Solidity smart contracts on a Cosmos blockchain. Hosted under https://github.com/berachain/polaris.

We should, with the CLI, allow developers to easily scaffold a blockchain that can use the evm module.

Describe the solution you'd like
My proposal would be to integrate this option as part of the scaffold chain command.

From my understanding from https://github.com/berachain/polaris, integrating evm is not only about importing the module but also integrating Ethereum RPC server, customization in app to comply with Ethereum standards, and potentially other modifications.

This would make a solution with cli scaffold import evm too complex, even if the SDK support better module wiring in the SDK. And developers may know if they consider developing an EVM blockchain before starting their project most of the time.

The solution would be to add a flag --evm to the chain command.

cli scaffold chain mars --evm

Bootstrap a chain ready to start a eth rpc server.

The scaffolded chain should support further scaffolding commands after being scaffolded:

  • Creating a new module
  • Creating types in this module
  • ...

Bonus: scaffolding an Hardhat environment as well to make it ready developing Solidity smart contracts

@lumtis lumtis changed the title Scaffold an evm ready chains with Ethermint Scaffolding an evm ready chains with Ethermint Jul 17, 2022
@fadeev
Copy link

fadeev commented Oct 25, 2022

I think testing is critical for this task, because the challenge is not to add support, but to maintain it. As soon as Ethermint changes something, we should be able to see it right away.

For example, right now Ethermin is broken with ignite chain serve, but it was working a month or so ago.

@julienrbrt
Copy link
Member

Given that Ethermint is not open source anymore, I think polaris is a good alternative.
However, as mentioned above, the issue will be maintenance.
Once the scaffolding refactor is done, this would great to have this as a third-party app.

@julienrbrt julienrbrt changed the title Scaffolding an evm ready chains with Ethermint Scaffolding an evm ready chains with Polaris Feb 1, 2024
@julienrbrt
Copy link
Member

Closing this, as this shouldn't be integrated into CLI directly. Possibly as an app if there's demand.

@julienrbrt julienrbrt closed this as not planned Won't fix, can't repro, duplicate, stale Jan 22, 2025
@github-project-automation github-project-automation bot moved this from To Discuss to Done in Ignite CLI Masterboard Jan 22, 2025
@julienrbrt julienrbrt reopened this Feb 19, 2025
@github-project-automation github-project-automation bot moved this from Done to To Discuss in Ignite CLI Masterboard Feb 19, 2025
@julienrbrt
Copy link
Member

There's a lot a demand, in the past few weeks, we got asked many time about this. Moving this to the app repo.

@julienrbrt julienrbrt transferred this issue from ignite/cli Feb 19, 2025
@julienrbrt
Copy link
Member

@EverestOpenNetwork
Copy link

https://github.com/crypto-org-chain/ethermint This would be the best option to Integrate

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
Status: To Discuss
Development

No branches or pull requests

4 participants