{"id":13673950,"url":"https://github.com/ChainSafe/truffle-plugin-abigen","last_synced_at":"2025-04-28T13:32:05.679Z","repository":{"id":43995825,"uuid":"239390598","full_name":"ChainSafe/truffle-plugin-abigen","owner":"ChainSafe","description":"Truffle plugin to post-process contracts for go-ethereum's abigen","archived":false,"fork":false,"pushed_at":"2023-12-01T12:56:39.000Z","size":296,"stargazers_count":15,"open_issues_count":7,"forks_count":6,"subscribers_count":5,"default_branch":"master","last_synced_at":"2025-04-24T10:14:11.564Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":"","language":"Solidity","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"other","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/ChainSafe.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}},"created_at":"2020-02-09T23:28:10.000Z","updated_at":"2023-08-31T13:15:38.000Z","dependencies_parsed_at":"2024-01-17T05:39:37.025Z","dependency_job_id":null,"html_url":"https://github.com/ChainSafe/truffle-plugin-abigen","commit_stats":{"total_commits":3,"total_committers":1,"mean_commits":3.0,"dds":0.0,"last_synced_commit":"cd3ff144482cdfb57f4e35b67308cce21d3ef8fb"},"previous_names":[],"tags_count":1,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ChainSafe%2Ftruffle-plugin-abigen","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ChainSafe%2Ftruffle-plugin-abigen/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ChainSafe%2Ftruffle-plugin-abigen/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ChainSafe%2Ftruffle-plugin-abigen/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/ChainSafe","download_url":"https://codeload.github.com/ChainSafe/truffle-plugin-abigen/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":251284454,"owners_count":21564616,"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-08-02T11:00:31.699Z","updated_at":"2025-04-28T13:32:00.627Z","avatar_url":"https://github.com/ChainSafe.png","language":"Solidity","funding_links":[],"categories":["The List","开源项目"],"sub_categories":["JavaScript web3 项目"],"readme":"# truffle-plugin-abigen\n\nThis truffle plugin generates the required files needed to use Geths [abigen](https://github.com/ethereum/go-ethereum/wiki/Native-DApps:-Go-bindings-to-Ethereum-contracts) to generate contract bindings in golang.\n\n## Installation\n1. Install the plugin with npm\n    ```sh\n    npm install @chainsafe/truffle-plugin-abigen\n    ```\n2. Add the plugin to your `truffle.js` or `truffle-config.js` file\n    ```js\n    module.exports = {\n      /* ... rest of truffle-config */\n\n      plugins: [\n        \"@chainsafe/truffle-plugin-abigen\"\n      ]\n    }\n    ```\n\n## Usage\nBefore running ensure that you've compiled your contracts:\n```sh\ntruffle compile\n```\nTo generate specific contract bindings:\n```sh\ntruffle run abigen SomeContractName AnotherContractName\n```\nAlternatively, to generate bindings for all your contracts:\n```sh\ntruffle run abigen\n```\n\n### Debugging\nYou can pass an optional `--debug` flag into the plugin to display debug messages during the verification process. This is generally not necessary, but can be used to provide additional information when the plugin appears to malfunction.","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2FChainSafe%2Ftruffle-plugin-abigen","html_url":"https://awesome.ecosyste.ms/projects/github.com%2FChainSafe%2Ftruffle-plugin-abigen","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2FChainSafe%2Ftruffle-plugin-abigen/lists"}