{"id":13421698,"url":"https://github.com/ethereum/remix-project","last_synced_at":"2025-05-14T20:01:59.747Z","repository":{"id":37083157,"uuid":"248697283","full_name":"ethereum/remix-project","owner":"ethereum","description":"Remix is a browser-based compiler and IDE that enables users to build Ethereum contracts with Solidity language and to debug transactions.","archived":false,"fork":false,"pushed_at":"2025-05-07T16:26:36.000Z","size":285182,"stargazers_count":2647,"open_issues_count":800,"forks_count":1126,"subscribers_count":70,"default_branch":"master","last_synced_at":"2025-05-07T19:47:39.279Z","etag":null,"topics":["blockchain","ethereum","evm","hacktoberfest","remix","remix-ide","smart-contracts","solidity","vyper"],"latest_commit_sha":null,"homepage":"https://remix-ide.readthedocs.io","language":"TypeScript","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"apache-2.0","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/ethereum.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":"CONTRIBUTING.md","funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null,"zenodo":null}},"created_at":"2020-03-20T07:49:48.000Z","updated_at":"2025-05-07T15:51:51.000Z","dependencies_parsed_at":"2023-10-16T01:17:04.252Z","dependency_job_id":"54062109-157c-43cf-9856-b91114afe1f5","html_url":"https://github.com/ethereum/remix-project","commit_stats":{"total_commits":22755,"total_committers":266,"mean_commits":85.54511278195488,"dds":0.6972972972972973,"last_synced_commit":"1425d5b4dfbd31900edc5185567c39a3394fe646"},"previous_names":[],"tags_count":167,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ethereum%2Fremix-project","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ethereum%2Fremix-project/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ethereum%2Fremix-project/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ethereum%2Fremix-project/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/ethereum","download_url":"https://codeload.github.com/ethereum/remix-project/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":254219352,"owners_count":22034394,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["blockchain","ethereum","evm","hacktoberfest","remix","remix-ide","smart-contracts","solidity","vyper"],"created_at":"2024-07-30T23:00:28.511Z","updated_at":"2025-05-14T20:01:59.635Z","avatar_url":"https://github.com/ethereum.png","language":"TypeScript","funding_links":[],"categories":["Open Source Project","Remix Repositories","TypeScript","开源项目","Smart Contract Platforms","Web3","Debuggers"],"sub_categories":["Risk Management","智能合约 Smart Contracts","DApp \u0026 Solidity 智能合约学习资源","Database","Programming Languages that Compile zk-SNARK Circuits and Proofs"],"readme":"\u003cp align=\"center\"\u003e\n  \u003cimg src=\"./apps/remix-ide/src/assets/img/icon.png\" alt=\"Remix Logo\" width=\"200\"/\u003e\n\u003c/p\u003e\n\u003ch3 align=\"center\"\u003eRemix Project\u003c/h3\u003e\n    \n\u003cdiv align=\"center\"\u003e\n\n\n[![CircleCI](https://img.shields.io/circleci/build/github/ethereum/remix-project?logo=circleci)](https://circleci.com/gh/ethereum/remix-project)\n[![Documentation Status](https://readthedocs.org/projects/remix-ide/badge/?version=latest)](https://remix-ide.readthedocs.io/en/latest/index.html)\n[![contributions welcome](https://img.shields.io/badge/contributions-welcome-brightgreen.svg?style=flat\u0026logo=github)](https://github.com/ethereum/remix-project/blob/master/CONTRIBUTING.md)\n[![GitHub contributors](https://img.shields.io/github/contributors/ethereum/remix-project?style=flat\u0026logo=github)](https://github.com/ethereum/remix-project/graphs/contributors)\n[![Awesome Remix](https://img.shields.io/badge/Awesome--Remix-resources-green?logo=awesomelists)](https://github.com/ethereum/awesome-remix)\n[![GitHub](https://img.shields.io/github/license/ethereum/remix-project)](https://github.com/ethereum/remix-project/blob/master/LICENSE)\n[![Discord](https://img.shields.io/badge/join-discord-brightgreen.svg?style=flat\u0026logo=discord)](https://discord.gg/XvMmgehAMq)\n[![X Follow](https://img.shields.io/twitter/follow/ethereumremix?style=flat\u0026logo=x\u0026color=green)](https://x.com/ethereumremix)\n\n\u003c/div\u003e\n\n## Remix Project\n\n**Remix Project** is a rich toolset including Remix IDE, a comprehensive smart contract development tool. The Remix Project also includes Remix Plugin Engine and Remix Libraries which are low-level tools for wider use.  \n\n## Remix IDE\n**Remix IDE** is used for the entire journey of contract development by users of any knowledge level. It fosters a fast development cycle and has a rich set of plugins with intuitive GUIs. The IDE comes in 2 flavors and a VSCode extension:\n\n**Remix Online IDE**, see: [https://remix.ethereum.org](https://remix.ethereum.org)\n\n:point_right: Supported browsers: Firefox v100.0.1 \u0026 Chrome v101.0.4951.64. No support for Remix's use on tablets or smartphones or telephones.\n\n**Remix Desktop IDE**, see releases: [https://github.com/ethereum/remix-desktop/releases](https://github.com/ethereum/remix-desktop/releases)\n\n![Remix screenshot](https://github.com/ethereum/remix-project/raw/master/apps/remix-ide/remix-screenshot-400h.png)\n\n\n## Remix libraries \nRemix libraries are essential for Remix IDE's native plugins. Read more about libraries [here](libs/README.md)\n\n## Offline Usage\n\nThe `gh-pages` branch of [remix-live](https://github.com/ethereum/remix-live) always has the latest stable build of Remix. It contains a ZIP file with the entire build. Download it to use offline.\n\nNote: It contains the latest supported version of Solidity available at the time of the packaging. Other compiler versions can be used online only.\n\n\n## Setup\n\n* Install **Yarn** and **Node.js**. See [Guide for NodeJs](https://docs.npmjs.com/downloading-and-installing-node-js-and-npm) and [Yarn install](https://classic.yarnpkg.com/lang/en/docs/install)\u003cbr/\u003e\n*Supported versions:*\n```bash\n\"engines\": {\n    \"node\": \"^20.0.0\",\n    \"npm\": \"^6.14.15\"\n  }\n```\n* Install [Nx CLI](https://nx.dev/using-nx/nx-cli) globally to enable running **nx executable commands**.\n```bash\nyarn global add nx\n```\n* Clone the GitHub repository (`wget` need to be installed first):\n\n```bash\ngit clone https://github.com/ethereum/remix-project.git\n```\n* Build and Run `remix-project`:\n\n1. Move to project directory: `cd remix-project`\n2. Install dependencies: `yarn install` or simply run `yarn`\n3. Build Remix libraries: `yarn run build:libs`\n4. Build Remix project: `yarn build`\n5. Build and run project server: `yarn serve`. Optionally, run `yarn serve:hot` to enable hot module to reload for frontend updates.\n\nOpen `http://127.0.0.1:8080` in your browser to load Remix IDE locally.\n\nGo to your `text editor` and start developing. The browser will automatically refresh when files are saved.\n\n## Production Build\nTo generate react production builds for remix-project.\n```bash\nyarn run build:production\n```\nBuild can be found in `remix-project/dist/apps/remix-ide` directory.\n\n```bash\nyarn run serve:production\n```\nProduction build will be served by default to `http://localhost:8080/` or `http://127.0.0.1:8080/`\n\n## Docker:\n\nPrerequisites: \n* Docker (https://docs.docker.com/desktop/)\n* Docker Compose (https://docs.docker.com/compose/install/)\n\n### Run with docker\n\nIf you want to run the latest changes that are merged into the master branch then run:\n\n```\ndocker pull remixproject/remix-ide:latest\ndocker run -p 8080:80 remixproject/remix-ide:latest\n```\n\nIf you want to run the latest remix-live release run.\n```\ndocker pull remixproject/remix-ide:remix_live\ndocker run -p 8080:80 remixproject/remix-ide:remix_live\n```\n\n### Run with docker-compose:\n\nTo run locally without building you only need docker-compose.yaml file and you can run:\n\n```\ndocker-compose pull\ndocker-compose up -d\n```\n\nThen go to http://localhost:8080 and you can use your Remix instance.\n\nTo fetch the docker-compose file without cloning this repo run:\n```\ncurl https://raw.githubusercontent.com/ethereum/remix-project/master/docker-compose.yaml \u003e docker-compose.yaml\n```\n\n### Troubleshooting\n\nIf you have trouble building the project, make sure that you have the correct version of `node`, `npm` and `nvm`. Also, ensure [Nx CLI](https://nx.dev/using-nx/nx-cli) is installed globally.\n\nRun:\n\n```bash\nnode --version\nnpm --version\nnvm --version\n```\n\nIn Debian-based OS such as Ubuntu 14.04LTS, you may need to run `apt-get install build-essential`. After installing `build-essential`, run `npm rebuild`.\n\n## Unit Testing\n\nRun the unit tests using library name like: `nx test \u003cproject-name\u003e`\n\nFor example, to run unit tests of `remix-analyzer`, use `nx test remix-analyzer`\n\n## Browser Testing\n\nTo run the tests via Nightwatch:\n\n - Install webdrivers for the first time: `yarn install_webdriver`\n - Build \u0026 Serve Remix: `yarn serve`\n\n        \n**NOTE:**\n\n- **The `ballot` tests suite** requires running `ganache` locally.\n\n- **The `remixd` tests suite** requires running `remixd` locally.\n\n- **The `gist` tests suite** requires specifying a GitHub access token in **.env file**. \n```\n    gist_token = \u003ctoken\u003e // token should have permission to create a gist\n```\n\nThere is a script to allow selecting the browser and a specific test to run:\n\n```\nyarn run select_test\n```\n\nYou need to have \n\n- selenium running \n\n- the IDE running\n\n- optionally have remixd or ganache running\n\n### Splitting tests with groups\n\nGroups can be used to group tests in a test file together. The advantage is you can avoid running long test files when you want to focus on a specific set of tests within a test file.\n\nThese groups only apply to the test file, not across all test files. So for example group1 in the ballot is not related to a group1 in another test file.\n\nRunning a group only runs the tests marked as belonging to the group + all the tests in the test file that do not have a group tag. This way you can have tests that run for all groups, for example, to perform common actions.\n\nThere is no need to number the groups in a certain order. The number of the group is arbitrary.\n\nA test can have multiple group tags, this means that this test will run in different groups.\n\nYou should write your tests so they can be executed in groups and not depend on other groups.\n\nTo do this you need to:\n\n- Add a group to tag to a test, they are formatted as #group followed by a number: so it becomes #group1, #group220, #group4. Any number will do. You don't have to do it in a specific order. \n\n```\n  'Should generate test file #group1': function (browser: NightwatchBrowser) {\n    browser.waitForElementPresent('*[data-id=\"verticalIconsKindfilePanel\"]')\n```\n\n- add '@disabled': true to the test file you want to split:\n\n```\nmodule.exports = {\n  '@disabled': true,\n  before: function (browser: NightwatchBrowser, done: VoidFunction) {\n    init(browser, done) // , 'http://localhost:8080', false)\n  },\n```\n- change package JSON to locally run all group tests:\n\n```\n    \"nightwatch_local_debugger\": \"yarn run build:e2e \u0026\u0026 nightwatch --config dist/apps/remix-ide-e2e/nightwatch.js dist/apps/remix-ide-e2e/src/tests/debugger_*.spec.js --env=chrome\",\n```\n\n- run the build script to build the test files if you want to run the locally\n\n```\nyarn run build:e2e\n```\n\n### Locally testing group tests\n\nYou can tag any test with a group name, for example, #group10 and easily run the test locally.\n\n- make sure you have nx installed globally\n- group tests are run like any other test, just specify the correct group number\n\n#### method 1\n\nThis script will give you an options menu, just select the test you want\n```\nyarn run select_test\n```\n\n### Run the same (flaky) test across all instances in CircleCI\n\nIn CircleCI all tests are divided across instances to run in parallel. \nYou can also run 1 or more tests simultaneously across all instances.\nThis way the pipeline can easily be restarted to check if a test is flaky.\n\nFor example:\n\n```\n  'Static Analysis run with remixd #group3 #flaky': function (browser) {\n```\n\nNow, the group3 of this test will be executed in firefox and chrome 80 times.\nIf you mark more groups in other tests they will also be executed. \n\n**CONFIGURATION**\n\nIt's important to set a parameter in the .circleci/config.yml, set it to false then the normal tests will run.\nSet it to true to run only tests marked with flaky.\n```\nparameters:\n  run_flaky_tests:\n    type: boolean\n    default: true\n```\n\n## Important Links\n\n- Official website: https://remix-project.org\n- Official documentation: https://remix-ide.readthedocs.io/en/latest/\n- Curated list of Remix resources: https://github.com/ethereum/awesome-remix\n- Medium: https://medium.com/remix-ide\n- X: https://x.com/ethereumremix\n- Join Discord: https://discord.gg/XvMmgehAMq\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fethereum%2Fremix-project","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fethereum%2Fremix-project","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fethereum%2Fremix-project/lists"}