{"id":24206387,"url":"https://github.com/alperencantez/gsolc","last_synced_at":"2026-05-19T19:02:06.852Z","repository":{"id":248228504,"uuid":"781634734","full_name":"alperencantez/gsolc","owner":"alperencantez","description":"⛓️🛠️ Extendable wrapper for targeting Solidity compiler (solc) bindings in Go","archived":false,"fork":false,"pushed_at":"2024-07-01T07:04:10.000Z","size":5,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"main","last_synced_at":"2025-01-14T00:35:09.351Z","etag":null,"topics":["ethereum","go","solc","v8-engine"],"latest_commit_sha":null,"homepage":"","language":"Go","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/alperencantez.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"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}},"created_at":"2024-04-03T18:52:09.000Z","updated_at":"2024-08-28T11:28:41.000Z","dependencies_parsed_at":null,"dependency_job_id":"ecbbbaf8-4e01-4e5a-b300-209caa096faa","html_url":"https://github.com/alperencantez/gsolc","commit_stats":null,"previous_names":["alperencantez/gsolc"],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/alperencantez%2Fgsolc","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/alperencantez%2Fgsolc/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/alperencantez%2Fgsolc/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/alperencantez%2Fgsolc/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/alperencantez","download_url":"https://codeload.github.com/alperencantez/gsolc/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":241678157,"owners_count":20001682,"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":["ethereum","go","solc","v8-engine"],"created_at":"2025-01-14T00:31:52.375Z","updated_at":"2026-05-19T19:02:06.766Z","avatar_url":"https://github.com/alperencantez.png","language":"Go","funding_links":[],"categories":[],"sub_categories":[],"readme":"# gsolc\n\nThis Go package provides a basic Solidity compiler by leveraging the existing Solidity compiler package in Node.js. It uses the V8 engine bindings from Chromium to run the Node.js compiler within the Go environment.\n\n## Table of Contents\n\n- [Installation](#installation)\n- [Dependencies](#dependencies)\n- [Contributing](#contributing)\n- [License](#license)\n\n## Installation\n\n### Prerequisites\n\nEnsure you have the following installed:\n\n- Go (1.19+)\n\n### Steps\n\n1. **Clone the repository:**\n\n    ```sh\n    git clone https://github.com/alperencantez/gsolc.git\n    cd gsolc\n    ```\n\n2. **Build the Go package:**\n\n    ```sh\n    cd ..\n    go build\n    ```\n\n## Usage\n\nHere's a basic example of how to use the package:\n\n```go\npackage main\n\nimport (\n    \"fmt\"\n    \"log\"\n    \"github.com/alperencantez/gsolc\"\n)\n\nfunc main() {\n    source := `pragma solidity ^0.8.0; contract HelloWorld { string public message = \"Hello, World!\"; }`\n    compiled, err := gscolc.Compile(source)\n    if err != nil {\n        log.Fatalf(\"Compilation error: %v\", err)\n    }\n    fmt.Println(\"Compiled bytecode:\", compiled.Bytecode)\n}\n```\n\n## Dependencies\n\nThis project relies on the following dependencies:\n\n- [Golang V8 Engine Bindings](https://github.com/rogchap/v8go)\n- [Solidity Compiler (solc-js)](https://www.npmjs.com/package/solc)\n\n## Contributing\n\nContributions are welcome! Please open an issue or submit a pull request for any improvements or bug fixes.\n\n1. Fork the repository.\n2. Create a new branch (`git checkout -b feature-branch`).\n3. Commit your changes (`git commit -m 'Add some feature'`).\n4. Push to the branch (`git push origin feature-branch`).\n5. Open a pull request.\n\n## License\n\nThis project is licensed under the MIT License. See the [LICENSE](./LICENSE) file for details.\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Falperencantez%2Fgsolc","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Falperencantez%2Fgsolc","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Falperencantez%2Fgsolc/lists"}