{"id":13631123,"url":"https://github.com/ChainSafe/chainbridge-solidity","last_synced_at":"2025-04-17T18:31:52.831Z","repository":{"id":37394426,"uuid":"250002642","full_name":"ChainSafe/chainbridge-solidity","owner":"ChainSafe","description":"⚙️ Solidity contracts for Sygma (ChainBridge)","archived":true,"fork":false,"pushed_at":"2023-03-03T13:29:08.000Z","size":3610,"stargazers_count":137,"open_issues_count":29,"forks_count":167,"subscribers_count":20,"default_branch":"master","last_synced_at":"2024-10-02T07:40:07.059Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":"","language":"JavaScript","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"lgpl-3.0","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-03-25T14:35:06.000Z","updated_at":"2024-09-18T20:36:32.000Z","dependencies_parsed_at":"2024-01-14T06:53:12.437Z","dependency_job_id":"f1f96b40-d742-4c54-9d80-8bfedea739a9","html_url":"https://github.com/ChainSafe/chainbridge-solidity","commit_stats":{"total_commits":166,"total_committers":18,"mean_commits":9.222222222222221,"dds":0.7951807228915663,"last_synced_commit":"b929c980afcdffae10d61c7065a5655479638519"},"previous_names":["chainsafe/sygma-solidity"],"tags_count":16,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ChainSafe%2Fchainbridge-solidity","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ChainSafe%2Fchainbridge-solidity/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ChainSafe%2Fchainbridge-solidity/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ChainSafe%2Fchainbridge-solidity/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/ChainSafe","download_url":"https://codeload.github.com/ChainSafe/chainbridge-solidity/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":223762876,"owners_count":17198384,"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-01T22:02:11.524Z","updated_at":"2024-11-08T22:31:06.364Z","avatar_url":"https://github.com/ChainSafe.png","language":"JavaScript","funding_links":[],"categories":["JavaScript"],"sub_categories":[],"readme":"# chainbridge-solidity\n\n[![Coverage Status](https://coveralls.io/repos/github/ChainSafe/chainbridge-solidity/badge.svg?branch=master)](https://coveralls.io/github/ChainSafe/chainbridge-solidity?branch=master)\n\nChainBridge uses Solidity smart contracts to enable transfers to and from EVM compatible chains. These contracts consist of a core bridge contract (Bridge.sol) and a set of handler contracts (ERC20Handler.sol, ERC721Handler.sol, and GenericHandler.sol). The bridge contract is responsible for initiating, voting on, and executing proposed transfers. The handlers are used by the bridge contract to interact with other existing contracts.\n\nRead more [here](https://chainbridge.chainsafe.io/).\n\nA CLI to deploy and interact with these contracts can be found [here](https://github.com/ChainSafe/chainbridge-deploy/tree/master/cb-sol-cli).\n\n## Dependencies\n\nRequires `nodejs` and `npm`.\n\n## Commands\n\n`make install-deps`: Installs truffle and ganache globally, fetches local dependencies. Also installs `abigen` from `go-ethereum`.\n\n`make bindings`: Creates go bindings in `./build/bindings/go`\n\n`PORT=\u003cport\u003e SILENT=\u003cbool\u003e make start-ganache`: Starts a ganache instance, default `PORT=8545 SILENT=false`\n\n`QUIET=\u003cbool\u003e make start-geth`: Starts a geth instance with test keys\n\n`PORT=\u003cport\u003e make deploy`: Deploys all contract instances, default `PORT=8545`\n\n`make test`: Runs truffle tests.\n\n`make compile`: Compile contracts.\n\n# ChainSafe Security Policy\n\n## Reporting a Security Bug\n\nWe take all security issues seriously, if you believe you have found a security issue within a ChainSafe\nproject please notify us immediately. If an issue is confirmed, we will take all necessary precautions \nto ensure a statement and patch release is made in a timely manner.\n\nPlease email us a description of the flaw and any related information (e.g. reproduction steps, version) to\n[security at chainsafe dot io](mailto:security@chainsafe.io).\n\n\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2FChainSafe%2Fchainbridge-solidity","html_url":"https://awesome.ecosyste.ms/projects/github.com%2FChainSafe%2Fchainbridge-solidity","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2FChainSafe%2Fchainbridge-solidity/lists"}