{"id":17277630,"url":"https://github.com/0xdaebak/solselector","last_synced_at":"2026-05-09T17:38:57.293Z","repository":{"id":144655614,"uuid":"538011294","full_name":"0xdaebak/solselector","owner":"0xdaebak","description":"⚓ Get The 4 byte Selector/Method Signature of any function","archived":false,"fork":false,"pushed_at":"2022-09-19T12:59:34.000Z","size":21,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"main","last_synced_at":"2025-03-06T15:52:07.734Z","etag":null,"topics":["0xdaebak","assembly","hash","javascript","keccak256","methodsig","selector","solidity","yul"],"latest_commit_sha":null,"homepage":"","language":"JavaScript","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/0xdaebak.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":null,"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":"2022-09-18T05:33:57.000Z","updated_at":"2022-09-18T05:48:41.000Z","dependencies_parsed_at":null,"dependency_job_id":"c0182daa-ad58-446c-97e3-b20642ef75e0","html_url":"https://github.com/0xdaebak/solselector","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/0xdaebak%2Fsolselector","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/0xdaebak%2Fsolselector/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/0xdaebak%2Fsolselector/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/0xdaebak%2Fsolselector/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/0xdaebak","download_url":"https://codeload.github.com/0xdaebak/solselector/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":245668641,"owners_count":20653008,"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":["0xdaebak","assembly","hash","javascript","keccak256","methodsig","selector","solidity","yul"],"created_at":"2024-10-15T09:09:32.982Z","updated_at":"2026-05-09T17:38:52.250Z","avatar_url":"https://github.com/0xdaebak.png","language":"JavaScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"\n# solselector\n\n![](https://img.shields.io/npm/v/solselector?color=red\u0026style=for-the-badge) ![](https://img.shields.io/github/package-json/v/0xdaebak/solselector?color=green\u0026style=for-the-badge) ![](https://img.shields.io/badge/0xdaebak-alphaLeaks-red?style=for-the-badge)\n\n⚓ Get The 4 byte Selector/Method Signature of any function\n\n\n## Installation\n\nInstall dependencies\n\n```bash\n  npm install solselector\n```\n\n\n## Key Functions\n\n```javascript\nlet selector = require(\"solselector\");\n\n//full keccak256 hash\nselector.keccak256(\"balanceOf()\");\n\n//get 4byte selector\nselector.getSelector(\"balanceOf()\");\n\n//get 4byte selector - multi arguments\nselector.getMultiSelector(\"balanceOf()\", \"transferFrom(address,uint256)\");\n\n//get 4byte selector - multi array arguments\nselector.getMultiSelector([\"balanceOf()\", \"transferFrom(address,uint256)\", \"deposit()\"]);\n\n```\n\n## Authors\n\n- [@0xdaebak](https://www.github.com/0xdaebak)\n\n\n\n## License\n\n![MIT License](https://img.shields.io/github/license/0xdaebak/solselector?style=for-the-badge)\n\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2F0xdaebak%2Fsolselector","html_url":"https://awesome.ecosyste.ms/projects/github.com%2F0xdaebak%2Fsolselector","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2F0xdaebak%2Fsolselector/lists"}