{"id":21587739,"url":"https://github.com/sha3ns/solc_compiler_manager","last_synced_at":"2026-05-19T00:33:13.925Z","repository":{"id":144233060,"uuid":"332657738","full_name":"Sha3nS/solc_compiler_manager","owner":"Sha3nS","description":"solidity compiler","archived":false,"fork":false,"pushed_at":"2024-10-28T02:30:34.000Z","size":17619,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"master","last_synced_at":"2025-01-24T15:43:36.503Z","etag":null,"topics":["manager-system","solc","solidity"],"latest_commit_sha":null,"homepage":"","language":"Go","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/Sha3nS.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":"2021-01-25T06:57:17.000Z","updated_at":"2024-10-28T02:30:37.000Z","dependencies_parsed_at":null,"dependency_job_id":"893846d8-bc41-4cc7-81ea-f5bdd35c8b30","html_url":"https://github.com/Sha3nS/solc_compiler_manager","commit_stats":null,"previous_names":["sha3ns/solc_compiler_manager","shawncles/smart_contract_verifier"],"tags_count":4,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Sha3nS%2Fsolc_compiler_manager","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Sha3nS%2Fsolc_compiler_manager/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Sha3nS%2Fsolc_compiler_manager/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Sha3nS%2Fsolc_compiler_manager/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/Sha3nS","download_url":"https://codeload.github.com/Sha3nS/solc_compiler_manager/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":244190462,"owners_count":20413116,"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":["manager-system","solc","solidity"],"created_at":"2024-11-24T15:17:34.494Z","updated_at":"2026-05-19T00:33:13.871Z","avatar_url":"https://github.com/Sha3nS.png","language":"Go","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Provides solc download management and contract verification RPC service\n\n## Installation\n```\nmake install\n```\n\n## Project Initialization\n```\nsolc-compiler init --platform macosx-amd64/linux-amd64 -a\n```\n\n\nInitialization requires specifying the project runtime platform. During initialization, you can specify whether to download all `solc` versions for the runtime platform.\n\nYou can reinitialize to override the current configuration. If file downloads fail during initialization, you can:\n\n```\n// Retry initialization - this process will automatically skip already downloaded compiler versions\n\nsolc-compiler init --platform macosx-amd64 -a\n\n// Manually fetch a specific version using the executable\n\nsolc-compiler fetch v0.8.0\n```\n\n## Managing Compiler Versions\n```\n// Download\nsolc-compiler fetch v0.8.0\n\n// Delete\nsolc-compiler delete v0.8.0\n```\n\n## Compiling Solidity Files\n```\nsolc-compiler compile --scope bin,abi,hashes --name Counter v0.5.11 [path_to_file] --optimize --optimize-runs 200 --evm-version \"default\"\n--scope         Specify compilation output content\n--name          Specify contract to compile\n--optimize      Specify whether to optimize compilation\n--optimize-runs Specify optimization parameter\n--evm-version   Specify EVM version\nFor detailed parameters, please refer to the help documentation\n```\n\n## Starting the RPC Server\n```\nsolc-compiler rest-server\nProvides the following endpoints:\n\ncontract_ping: Heartbeat\n\ncurl --location --request POST 'http://127.0.0.1:1212' \\\n--header 'Content-Type: application/json' \\\n--data-raw '{\n    \"jsonrpc\": \"2.0\",\n    \"method\": \"contract_ping\",\n    \"params\": [],\n    \"id\": 1\n}'\n\ncontract_verify: Returns ABI and compiled binary hex string\n\ncurl --location --request POST 'http://127.0.0.1:1212' \\\n--header 'Content-Type: application/json' \\\n--data-raw '{\n    \"jsonrpc\": \"2.0\",\n    \"method\": \"contract_verify\",\n    \"params\": [\n        {\n            \"name\": \"Test\",\n            \"compiler_version\": \"v0.5.11+commit.22be8592\",\n            \"code\":\"pragma solidity ^0.5.11; contract Test {}\",\n\t        \"optimize\": false,\n            \"optimize_runs\": 0,\n            \"evm_version\": \"default\"\n        }\n    ],\n    \"id\": 1\n}'\n\ncontract_listVersions: Returns supported compiler versions for the current platform\n\ncurl --location --request GET 'http://127.0.0.1:1212' \\\n--header 'Content-Type: application/json' \\\n--data-raw '{\n    \"jsonrpc\": \"2.0\",\n    \"method\": \"contract_listVersions\",\n    \"params\": [],\n    \"id\": 1\n}'\n```\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fsha3ns%2Fsolc_compiler_manager","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fsha3ns%2Fsolc_compiler_manager","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fsha3ns%2Fsolc_compiler_manager/lists"}