{"id":20189839,"url":"https://github.com/crossbell-box/crossbell-contracts","last_synced_at":"2025-05-12T17:26:41.746Z","repository":{"id":37698557,"uuid":"481136093","full_name":"Crossbell-Box/Crossbell-Contracts","owner":"Crossbell-Box","description":"Crossbell Contracts: The protocol for an ownership platform.","archived":false,"fork":false,"pushed_at":"2025-03-03T20:01:20.000Z","size":13993,"stargazers_count":55,"open_issues_count":15,"forks_count":7,"subscribers_count":3,"default_branch":"main","last_synced_at":"2025-04-01T01:01:44.423Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":"https://crossbell-box.github.io/Crossbell-Contracts","language":"Solidity","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":null,"status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/Crossbell-Box.png","metadata":{"files":{"readme":"README.md","changelog":"CHANGELOG.md","contributing":"CONTRIBUTING.md","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-04-13T08:35:56.000Z","updated_at":"2025-03-03T09:33:03.000Z","dependencies_parsed_at":"2023-12-22T15:00:35.144Z","dependency_job_id":"19782ccd-ee24-470e-a077-e4c7c71625c0","html_url":"https://github.com/Crossbell-Box/Crossbell-Contracts","commit_stats":null,"previous_names":[],"tags_count":22,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Crossbell-Box%2FCrossbell-Contracts","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Crossbell-Box%2FCrossbell-Contracts/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Crossbell-Box%2FCrossbell-Contracts/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Crossbell-Box%2FCrossbell-Contracts/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/Crossbell-Box","download_url":"https://codeload.github.com/Crossbell-Box/Crossbell-Contracts/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":253786096,"owners_count":21964089,"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-11-14T03:39:08.179Z","updated_at":"2025-05-12T17:26:41.725Z","avatar_url":"https://github.com/Crossbell-Box.png","language":"Solidity","funding_links":[],"categories":[],"sub_categories":[],"readme":"\u003cp align='center'\u003e\n\u003cimg src=\"https://avatars.githubusercontent.com/u/103565959\" alt=\"CrossSync Logo\" width=\"60\" height=\"60\" /\u003e\n\u003c/p\u003e\n\n\u003ch1  align='center'\u003eCrossbell\u003c/h1\u003e\n\n\u003e Cross-platform, ring a bell.\n\n\u003cp align=\"center\"\u003e\n    \u003cbr /\u003e\n    \u003ca href=\"https://github.com/Crossbell-Box/Crossbell-Contracts/wiki\"\u003e\u003cstrong\u003eExplore the Wiki »\u003c/strong\u003e\u003c/a\u003e\n    \u003cbr /\u003e\n    \u003cbr /\u003e\n    \u003ca href=\"https://crossbell.io\"\u003eView Website\u003c/a\u003e\n    ·\n    \u003ca href=\"https://discord.gg/ecpfdHHw\"\u003eJoin Discord\u003c/a\u003e\n    ·\n    \u003ca href=\"https://github.com/Crossbell-Box/Crossbell-Contracts/issues\"\u003eReport Bug\u003c/a\u003e\n  \u003c/p\u003e\n\n\n[![Docs](https://github.com/Crossbell-Box/Crossbell-Contracts/actions/workflows/docs.yml/badge.svg)](https://github.com/Crossbell-Box/Crossbell-Contracts/actions/workflows/docs.yml)\n[![lint](https://github.com/Crossbell-Box/Crossbell-Contracts/actions/workflows/lint.yml/badge.svg)](https://github.com/Crossbell-Box/Crossbell-Contracts/actions/workflows/lint.yml)\n[![tests](https://github.com/Crossbell-Box/Crossbell-Contracts/actions/workflows/tests.yml/badge.svg)](https://github.com/Crossbell-Box/Crossbell-Contracts/actions/workflows/tests.yml)\n[![checks](https://github.com/Crossbell-Box/Crossbell-Contracts/actions/workflows/checks.yml/badge.svg)](https://github.com/Crossbell-Box/Crossbell-Contracts/actions/workflows/checks.yml)\n[![Mythx Security Analysis](https://github.com/Crossbell-Box/Crossbell-Contracts/actions/workflows/mythx.yml/badge.svg)](https://github.com/Crossbell-Box/Crossbell-Contracts/actions/workflows/mythx.yml)\n[![codecov](https://img.shields.io/codecov/c/github/Crossbell-Box/Crossbell-Contracts.svg?style=flat-square\u0026logo=codecov)](https://codecov.io/gh/Crossbell-Box/Crossbell-Contracts)\n\n## 🐳 Introduction\n\nCrossbell is an **ownership** **platform** composed of\n\n1. an EVM-compatible blockchain\n2. a protocol implemented by a set of smart contracts\n\nSpecifically, the information generated from **social activities** will be the initial form of data-ownership by users on Crossbell.\n\nThis repository is the implementation of the protocol.\n\n## ⚙ Development\n\nInstall foundry if you don't have one:\n```shell\n# install foundry\ncurl -L https://foundry.paradigm.xyz | bash\nfoundryup\n```\n\nCompile and run tests:\n```shell\nyarn\nyarn test\n#run single test function using --match-test\nforge test --match-test testXXX  -vvvvv\n#run single test contract using --match-contract\nforge test --match-contract xxxTest  -vvvvv\n#run a group of tests using --match-path\nforge test --match-path test/...  -vvvvv\n```\n\nDeploy:\n```shell\nforge script scripts/Deploy.s.sol:Deploy --private-key $PRIVATE_KEY --broadcast --legacy --rpc-url $RPC_URL --ffi                   \nforge script scripts/Deploy.s.sol:Deploy --sig 'sync()' --private-key $PRIVATE_KEY --broadcast --legacy --rpc-url $RPC_URL --ffi\n```\n\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fcrossbell-box%2Fcrossbell-contracts","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fcrossbell-box%2Fcrossbell-contracts","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fcrossbell-box%2Fcrossbell-contracts/lists"}