{"id":15651698,"url":"https://github.com/paulrberg/solplate","last_synced_at":"2025-06-12T19:07:47.597Z","repository":{"id":135950011,"uuid":"602121185","full_name":"PaulRBerg/solplate","owner":"PaulRBerg","description":"Simple utility for generating boilerplate Solidity contracts","archived":false,"fork":false,"pushed_at":"2025-03-24T10:53:23.000Z","size":187,"stargazers_count":36,"open_issues_count":0,"forks_count":2,"subscribers_count":2,"default_branch":"main","last_synced_at":"2025-04-30T20:04:28.730Z","etag":null,"topics":["boilerplate","ethereum","rust","solidity"],"latest_commit_sha":null,"homepage":"","language":"Rust","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/PaulRBerg.png","metadata":{"files":{"readme":"README.md","changelog":"CHANGELOG.md","contributing":null,"funding":null,"license":"LICENSE.md","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":"2023-02-15T14:41:27.000Z","updated_at":"2025-03-26T18:19:28.000Z","dependencies_parsed_at":null,"dependency_job_id":"469c0a65-03aa-46dd-b055-b8bb553ccae7","html_url":"https://github.com/PaulRBerg/solplate","commit_stats":null,"previous_names":[],"tags_count":3,"template":false,"template_full_name":null,"purl":"pkg:github/PaulRBerg/solplate","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/PaulRBerg%2Fsolplate","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/PaulRBerg%2Fsolplate/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/PaulRBerg%2Fsolplate/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/PaulRBerg%2Fsolplate/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/PaulRBerg","download_url":"https://codeload.github.com/PaulRBerg/solplate/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/PaulRBerg%2Fsolplate/sbom","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":259519862,"owners_count":22870371,"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":["boilerplate","ethereum","rust","solidity"],"created_at":"2024-10-03T12:39:48.122Z","updated_at":"2025-06-12T19:07:47.573Z","avatar_url":"https://github.com/PaulRBerg.png","language":"Rust","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Solplate [![Github Actions][gha-badge]][gha] [![License: MIT][license-badge]][license]\n\n[gha]: https://github.com/PaulRBerg/solplate/actions\n[gha-badge]: https://github.com/PaulRBerg/solplate/actions/workflows/ci.yml/badge.svg\n[license]: https://opensource.org/licenses/MIT\n[license-badge]: https://img.shields.io/badge/License-MIT-blue.svg\n\nSimple utility for generating boilerplate Solidity contracts.\n\n## Demo\n\n![Demo](./demo.gif)\n\n## Build\n\nYou need to have Rust and Cargo installed on your machine. See the installation guide\n[here](https://doc.rust-lang.org/cargo/getting-started/installation.html).\n\nThen, clone this repo and install the CLI globally, like this:\n\n```sh\ncargo install --path .\n```\n\n## Usage\n\nWith no arguments (defaults to the latest Solidity version):\n\n```sh\n$ solplate\n```\n\nWith a Solidity version passed as the first and only argument:\n\n```sh\n$ solplate \"0.6.2\"\n```\n\nTo save the output to a Solidity file:\n\n```sh\n$ solplate \"0.6.2\" \u003e src/Contract.sol\n```\n\n### With VSCode\n\nYou can add Solplate as a task in your global [`tasks.json`](https://stackoverflow.com/q/41046494/3873510) file:\n\n```json\n{\n  \"version\": \"2.0.0\",\n  \"tasks\": [\n    {\n      \"label\": \"Generate Solidity Boilerplate\",\n      \"type\": \"shell\",\n      \"command\": \"solplate ${input:version}\",\n      \"presentation\": {\n        \"reveal\": \"never\"\n      }\n    }\n  ],\n  \"inputs\": [\n    {\n      \"id\": \"version\",\n      \"default\": \"0.8.29\",\n      \"description\": \"Solidity version\",\n      \"type\": \"promptString\"\n    }\n  ]\n}\n```\n\nTo speed up your workflow, you can add a key bind for the task in `keybindings.json`, e.g.\n\n```json\n[\n  {\n    \"key\": \"CMD+k b\",\n    \"command\": \"workbench.action.tasks.runTask\",\n    \"args\": \"Generate Solidity Boilerplate\"\n  }\n]\n```\n\n## License\n\nThis project is licensed under MIT.\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fpaulrberg%2Fsolplate","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fpaulrberg%2Fsolplate","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fpaulrberg%2Fsolplate/lists"}