{"id":19358362,"url":"https://github.com/paritytech/revive-remix-backend","last_synced_at":"2025-04-23T11:31:27.753Z","repository":{"id":257753944,"uuid":"859159170","full_name":"paritytech/revive-remix-backend","owner":"paritytech","description":null,"archived":false,"fork":false,"pushed_at":"2024-10-18T06:53:57.000Z","size":367,"stargazers_count":2,"open_issues_count":1,"forks_count":0,"subscribers_count":1,"default_branch":"main","last_synced_at":"2024-10-20T19:54:50.930Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"language":"JavaScript","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":null,"status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/paritytech.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":null,"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}},"created_at":"2024-09-18T07:30:24.000Z","updated_at":"2024-10-18T06:53:59.000Z","dependencies_parsed_at":"2024-10-25T12:37:22.789Z","dependency_job_id":null,"html_url":"https://github.com/paritytech/revive-remix-backend","commit_stats":null,"previous_names":["smiasojed/revive-remix-backend"],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/paritytech%2Frevive-remix-backend","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/paritytech%2Frevive-remix-backend/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/paritytech%2Frevive-remix-backend/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/paritytech%2Frevive-remix-backend/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/paritytech","download_url":"https://codeload.github.com/paritytech/revive-remix-backend/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":223922085,"owners_count":17225636,"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":[],"created_at":"2024-11-10T07:11:24.614Z","updated_at":"2024-11-10T07:11:25.252Z","avatar_url":"https://github.com/paritytech.png","language":"JavaScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"\n## Instructions for using with Remix\n\n- Install the `resolc` binary:\n\nFollow the [installation instructions](https://github.com/xermicus/revive?tab=readme-ov-file#installation).\n\n- Start Local Remix:\n\n```sh\ncd remix-project\nyarn install\nyarn serve\n```\n\n- Start the solc proxy server:\n\n```sh\nnpm install\nnode server.js\n```\n\n- Configure Remix\n\nIn Remix you will need to set the compiler to\n`http://localhost:3000/soljson.js`\n\nAlternatively, you can patch `remix-project` with\n\n```sh\ngit apply ../remix-project.patch\n```\n\nThis will force the compiler to our custom wrapper and make the change persistent.\n\nChange the compiler configuration to:\n\n```json\n{\n  \"language\": \"Solidity\",\n  \"settings\": {\n    \"optimizer\": {\n      \"enabled\": true,\n      \"runs\": 200\n    },\n    \"outputSelection\": {\n      \"*\": {\n        \"\": [\"ast\"],\n        \"*\": [\"abi\", \"devdoc\", \"userdoc\", \"storageLayout\", \"evm.legacyAssembly\", \"evm.deployedBytecode\", \"evm.methodIdentifiers\"]\n      }\n    }\n  }\n}\n```\n\nConnect Remix to your Metamask wallet:\n\nNavigate to the `Deploy \u0026 Run Transactions` section.\nIn the `Environment` dropdown menu, select `Injected Provider - MetaMask`.\n\n## Deployment\n\nYou can use the provided Dockerfile to build and run the application as a Docker container.\n\n```sh\ndocker build --platform=linux/amd64 -t paritytech/revive-remix-backend:latest .\ndocker run --rm -p 3000:3000 paritytech/revive-remix-backend:latest\n```\n\nAlternatively, you can use Kubernetes:\n\n```sh\ncd k8s\nkubectl apply -f pod.yaml\nkubectl port-forward pod/revive-remix-backend-pod 3000:3000\n```\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fparitytech%2Frevive-remix-backend","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fparitytech%2Frevive-remix-backend","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fparitytech%2Frevive-remix-backend/lists"}