{"id":23480485,"url":"https://github.com/deno-web3/sol_build","last_synced_at":"2026-05-05T00:37:07.902Z","repository":{"id":144523135,"uuid":"418683755","full_name":"deno-web3/sol_build","owner":"deno-web3","description":"🏗 Compile Solidity smart contracts with Deno","archived":false,"fork":false,"pushed_at":"2024-01-04T11:37:49.000Z","size":77,"stargazers_count":3,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"master","last_synced_at":"2025-04-13T21:14:33.571Z","etag":null,"topics":["deno","ethereum","solidity","web3"],"latest_commit_sha":null,"homepage":"https://deno.land/x/sol_build","language":"TypeScript","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/deno-web3.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":".github/FUNDING.yml","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},"funding":{"ko_fi":"v1rtl","liberapay":"v1rtl","custom":["https://v1rtl.site/support"],"issuehunt":"talentlessguy","github":["talentlessguy"]}},"created_at":"2021-10-18T22:07:56.000Z","updated_at":"2023-10-27T08:11:51.000Z","dependencies_parsed_at":"2024-01-04T12:45:03.540Z","dependency_job_id":null,"html_url":"https://github.com/deno-web3/sol_build","commit_stats":null,"previous_names":[],"tags_count":4,"template":false,"template_full_name":null,"purl":"pkg:github/deno-web3/sol_build","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/deno-web3%2Fsol_build","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/deno-web3%2Fsol_build/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/deno-web3%2Fsol_build/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/deno-web3%2Fsol_build/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/deno-web3","download_url":"https://codeload.github.com/deno-web3/sol_build/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/deno-web3%2Fsol_build/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":32631058,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-05-04T10:08:07.713Z","status":"ssl_error","status_checked_at":"2026-05-04T10:08:02.005Z","response_time":58,"last_error":"SSL_read: unexpected eof while reading","robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":false,"can_crawl_api":true,"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":["deno","ethereum","solidity","web3"],"created_at":"2024-12-24T20:14:41.868Z","updated_at":"2026-05-05T00:37:07.887Z","avatar_url":"https://github.com/deno-web3.png","language":"TypeScript","funding_links":["https://ko-fi.com/v1rtl","https://liberapay.com/v1rtl","https://v1rtl.site/support","https://issuehunt.io/r/talentlessguy","https://github.com/sponsors/talentlessguy"],"categories":[],"sub_categories":[],"readme":"\u003cdiv align=\"center\"\u003e\n\n# sol_build\n\n[![][code-quality-img]][code-quality] [![][docs-badge]][docs]\n\n\u003c/div\u003e\n\nCompile Solidity smart contracts with Deno.\n\n## Getting Started\n\nDeno \u003e=v1.25 is required.\n\nTo install `sol_build` globally run:\n\n```sh\ndeno install --allow-read --allow-write --allow-net -f https://deno.land/x/sol_build/cli.ts\n```\n\nInitialize a new project with a sample `hello.sol` contract:\n\n```sh\nsol_build init helloworld\n# Initializing a new project\n# Fetching releases...\n# Downloading soljson from https://solc-bin.ethereum.org/bin/soljson-v0.8.19+commit.7dd6d404.js...\ncd helloworld\n```\n\nCompile all Solidity files and produce [Hardhat](https://github.com/NomicFoundation/hardhat)-compatible artifacts with ABIs, EVM bytecode and more:\n\n```sh\nsol_build compile\n```\n\nIf you only need ABIs, pass the `--abi` option.\nTo run optimizations, pass the `--optimizer \u003cnumber of runs\u003e` flag. \n\n## Configuration\n\nYou can pass a custom config as a file with `sol_build -c sol.config.ts` if you need more flexible settings:\n\n```ts\nimport type { Config } from 'https://deno.land/x/sol_build/config.ts'\n\nexport const config = {\n  abi: true, // only produce ABIs\n  // all solidity settings go here\n}\n```\n\nCLI arguments have a higher priority over config except for `outputSelection` setting.\n\n## Programmatic use\n\n`sol_build` exports functions for finding, linking and compiling Solidity files.\n\n```ts\nimport { compileToFs } from 'https://deno.land/x/sol_build/mod.ts'\nimport { createRequire } from 'https://deno.land/std@0.177.0/node/module.ts'\n\nconst require = createRequire(import.meta.url)\nconst solc = solc = wrapper(require('./.solc.js'))\n\nawait compileToFs(solc, { optimizer: { enabled: true, runs: 200 }})\n```\n\n\n[code-quality-img]: https://img.shields.io/codefactor/grade/github/deno-web3/sol_build?style=for-the-badge\u0026color=626890\u0026\n[code-quality]: https://www.codefactor.io/repository/github/deno-web3/sol_build\n[docs-badge]: https://img.shields.io/github/v/release/deno-web3/sol_build?label=Docs\u0026logo=deno\u0026style=for-the-badge\u0026color=626890\n[docs]: https://doc.deno.land/https/deno.land/x/sol_build/mod.ts\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fdeno-web3%2Fsol_build","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fdeno-web3%2Fsol_build","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fdeno-web3%2Fsol_build/lists"}