{"id":15637154,"url":"https://github.com/vectorized/soledge","last_synced_at":"2025-04-18T04:59:45.423Z","repository":{"id":202883722,"uuid":"708351905","full_name":"Vectorized/soledge","owner":"Vectorized","description":"Solidity snippets too edgy to be in Solady","archived":false,"fork":false,"pushed_at":"2024-08-23T14:11:06.000Z","size":71,"stargazers_count":113,"open_issues_count":5,"forks_count":2,"subscribers_count":7,"default_branch":"main","last_synced_at":"2025-04-16T07:23:08.343Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"language":"Solidity","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/Vectorized.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE.txt","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":"2023-10-22T10:00:56.000Z","updated_at":"2025-03-16T13:46:52.000Z","dependencies_parsed_at":null,"dependency_job_id":"a6d54a1d-901a-4f2c-8648-cbcbbfe36407","html_url":"https://github.com/Vectorized/soledge","commit_stats":{"total_commits":16,"total_committers":3,"mean_commits":5.333333333333333,"dds":0.125,"last_synced_commit":"641f4fc39f6ca9b387115985a099b4dfd26135fb"},"previous_names":["vectorized/soledge"],"tags_count":5,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Vectorized%2Fsoledge","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Vectorized%2Fsoledge/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Vectorized%2Fsoledge/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Vectorized%2Fsoledge/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/Vectorized","download_url":"https://codeload.github.com/Vectorized/soledge/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":249432349,"owners_count":21271033,"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-10-03T11:10:30.044Z","updated_at":"2025-04-18T04:59:45.400Z","avatar_url":"https://github.com/Vectorized.png","language":"Solidity","readme":"# \u003cimg src=\"logo.svg\" alt=\"soledge\" height=\"70\"/\u003e\n\n[![NPM][npm-shield]][npm-url]\n[![CI][ci-shield]][ci-url]\n\nSolidity snippets too edgy to be in [**Solady**](https://github.com/Vectorized/solady). \n\nFor a future of EVMs fragmentation, where the latest opcodes are not supported on most L2s for years even after their inception on mainnet.\n\n## Installation\n\nTo install with [**Foundry**](https://github.com/gakonst/foundry):\n\n```sh\nforge install vectorized/soledge\n```\n\nTo install with [**Hardhat**](https://github.com/nomiclabs/hardhat):\n\n```sh\nnpm install soledge\n```\n\n## Contracts\n\nThe Solidity smart contracts are located in the `src` directory.\n\n```ml\nutils\n├─ LibT — \"Transient storage helper\"\n├─ ReentrancyGuard — \"Reentrancy guard mixin\"\n└─ LibString - \"Library for converting numbers into strings and other string operations\"\n```\n\n## Directories\n\n```ml\nsrc — \"Solidity smart contracts\"\ntest — \"Foundry Forge tests\"\n```\n\n## Contributing\n\nFeel free to make a pull request.\n\nGuidelines same as [Solady's](https://github.com/Vectorized/solady/issues/19).\n\n## Safety\n\nThis is **experimental software** and is provided on an \"as is\" and \"as available\" basis.\n\nWe **do not give any warranties** and **will not be liable for any loss** incurred through any use of this codebase.\n\nWhile Soledge has been heavily tested, there may be parts that may exhibit unexpected emergent behavior when used with other code, or may break in future Solidity versions.  \n\nPlease always include your own thorough tests when using Soledge to make sure it works correctly with your code.  \n\n## Upgradability\n\nMost contracts in Soledge are compatible with both upgradeable and non-upgradeable (i.e. regular) contracts. \n\nPlease call any required internal initialization methods accordingly.\n\n## EVM Compatibility\n\nSome parts of Soledge may not be compatible with chains with partial EVM equivalence.\n\nPlease always check and test for compatibility accordingly.\n\n## Acknowledgements\n\nThis repository is inspired by or directly modified from many sources, primarily:\n\n- [Solmate](https://github.com/transmissions11/solmate)\n- [OpenZeppelin](https://github.com/OpenZeppelin/openzeppelin-contracts)\n- [ERC721A](https://github.com/chiru-labs/ERC721A)\n- [Zolidity](https://github.com/z0r0z/zolidity)\n- [🐍 Snekmate](https://github.com/pcaversaccio/snekmate)\n- [Femplate](https://github.com/abigger87/femplate)\n\n[npm-shield]: https://img.shields.io/npm/v/soledge.svg\n[npm-url]: https://www.npmjs.com/package/soledge\n\n[ci-shield]: https://img.shields.io/github/actions/workflow/status/vectorized/soledge/ci.yml?branch=main\u0026label=build\n[ci-url]: https://github.com/vectorized/soledge/actions/workflows/ci.yml\n","funding_links":[],"categories":[],"sub_categories":[],"project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fvectorized%2Fsoledge","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fvectorized%2Fsoledge","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fvectorized%2Fsoledge/lists"}