{"id":19563511,"url":"https://github.com/akagi201/solc-align","last_synced_at":"2026-05-14T12:32:01.547Z","repository":{"id":184390586,"uuid":"671317117","full_name":"Akagi201/solc-align","owner":"Akagi201","description":"A tool to align solidity contract storage and calldata struct to 256 bits to maximazing storage reduction.","archived":false,"fork":false,"pushed_at":"2024-01-17T05:35:07.000Z","size":18,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":2,"default_branch":"master","last_synced_at":"2025-01-08T23:25:59.661Z","etag":null,"topics":["calldata","gas-optimization","slot","solidity","storage","storage-align","storage-slot"],"latest_commit_sha":null,"homepage":"","language":"Rust","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"apache-2.0","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/Akagi201.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":"2023-07-27T03:44:33.000Z","updated_at":"2024-05-09T13:07:10.000Z","dependencies_parsed_at":"2023-07-28T08:51:44.151Z","dependency_job_id":"c80b1099-cfe5-4a4d-8fc3-4c102eb0e064","html_url":"https://github.com/Akagi201/solc-align","commit_stats":{"total_commits":11,"total_committers":1,"mean_commits":11.0,"dds":0.0,"last_synced_commit":"0453769b3575d70e5769a4c61b58d53b5e374f0f"},"previous_names":["akagi201/solidity-storage-align"],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Akagi201%2Fsolc-align","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Akagi201%2Fsolc-align/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Akagi201%2Fsolc-align/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Akagi201%2Fsolc-align/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/Akagi201","download_url":"https://codeload.github.com/Akagi201/solc-align/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":240822688,"owners_count":19863307,"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":["calldata","gas-optimization","slot","solidity","storage","storage-align","storage-slot"],"created_at":"2024-11-11T05:18:04.589Z","updated_at":"2025-10-12T00:32:49.839Z","avatar_url":"https://github.com/Akagi201.png","language":"Rust","funding_links":[],"categories":[],"sub_categories":[],"readme":"# solc-align\n\nA tool to align solidity contract storage and calldata struct to 256 bits to maximizing storage reduction.\n\n## Features\n\n- [x] Align to 32 bytes(256 bits) for calldata struct.\n- [x] Use stable sort to make the same size bytes type in the same order as input.\n- [ ] Align contract storage, which needs AST parser.\n\n## Install\n\n```sh\ncargo install --git https://github.com/Akagi201/solc-align.git\n```\n\n## Usage\n\nread input.txt for example.\n\ncase 1:\n\njust print to stdout.\n\n```sh\nsolc-align ./input.txt\n```\n\ncase 2:\n\nwrite result to a file.\n\n```sh\nsolc-align ./input.txt ./output.txt\n```\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fakagi201%2Fsolc-align","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fakagi201%2Fsolc-align","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fakagi201%2Fsolc-align/lists"}