0

Recently I tried to run the Remix-project in local environment - offline status. https://github.com/ethereum/remix-project You can get the source code from this url. After pull down it, I have installed all of the npm modules in my pc, then I tried to run the project under the offline mode. But only black screen remains on the http://localhost:8080.

If online, it works well.

Are there any solutions for it?

Online

Offline

Top
  • 95
  • 4
  • I've tried it as well, following the guides to launch it on offline mode ( unzipped from remix-live ). It doesn't work either, the loading gif appears for a few seconds, metamask pops up, and then... nothing, so I suppose it's still a bit whacky since it's the 0.24 version. – MrFrenzoid Jun 12 '22 at 09:44

3 Answers3

0

using hardhat for compile local

Hardhat is a development environment to compile, deploy, test, and debug your Ethereum software. It helps developers manage and automate the recurring tasks that are inherent to the process of building smart contracts and dApps, as well as easily introducing more functionality around this workflow. This means compiling, running and testing smart contracts at the very core.

Hardhat comes built-in with Hardhat Network, a local Ethereum network designed for development. Its functionality focuses around Solidity debugging, featuring stack traces, console.log() and explicit error messages when transactions fail.

Hardhat Runner, the CLI command to interact with Hardhat, is an extensible task runner. It's designed around the concepts of tasks and plugins. Every time you're running Hardhat from the CLI you're running a task. E.g. npx hardhat compile is running the built-in compile task. Tasks can call other tasks, allowing complex workflows to be defined. Users and plugins can override existing tasks, making those workflows customizable and extendable.

RANJAN KUMAR JHA
  • 227
  • 1
  • 2
  • 7
  • Thank you for your kindly reply I have already set up the local environment for offline mode with Hardhat | Truffle And I just want to built Remix-IDE Offline Local Environment – Top Jun 13 '22 at 09:28
0

Use truffle for compiling local.

Here are the instructions.

1.Install truffle

2.Assuming you use Visual Studio Code and you know to operate node.js, install the solidity plugin for VS code.

3.Create a .sol file and paste your program in it.

4.Open the terminal in VS code, type

truffle init

  1. a migrations subfolder will be created. In the Migrations.sol file under it, change the artefact name to your.sol file name

  2. in the truffle configuration file, you will find a commended "development" object. Uncommend it, give appropriate port numbers etc

  3. execute "truffle compile"

  4. execute "truffle migrate"

  5. "npm start"

  6. rest you know how to...

0

you can visit https://github.com/ethereum/remix-desktop/releases/ to desktop releases of Remix Ethereum IDE depending on your system Os.

Here is a medium article tutorial on how to: https://medium.com/remix-ide/getting-started-with-remix-desktop-5f6380568d12

taofeek
  • 71
  • 5