{"id":15546785,"url":"https://github.com/attention-streams/contracts","last_synced_at":"2025-04-23T18:10:48.493Z","repository":{"id":50302940,"uuid":"468990750","full_name":"attention-streams/contracts","owner":"attention-streams","description":null,"archived":false,"fork":false,"pushed_at":"2023-12-25T17:01:09.000Z","size":960,"stargazers_count":7,"open_issues_count":0,"forks_count":2,"subscribers_count":1,"default_branch":"main","last_synced_at":"2024-04-26T07:45:26.468Z","etag":null,"topics":["ethereum","finance","governance","smart-contracts","voting"],"latest_commit_sha":null,"homepage":"https://docs.google.com/document/d/1TKA-K8YadRdgz-Qek01TUcCkRaI9CKCXGtJ31AbVWIU/","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/attention-streams.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}},"created_at":"2022-03-12T05:38:50.000Z","updated_at":"2024-04-25T12:49:55.000Z","dependencies_parsed_at":"2022-09-03T19:00:15.808Z","dependency_job_id":"485c395f-eafe-4120-a094-d2a0e2c72fd3","html_url":"https://github.com/attention-streams/contracts","commit_stats":{"total_commits":134,"total_committers":3,"mean_commits":"44.666666666666664","dds":0.02985074626865669,"last_synced_commit":"7340f5d0aa5a4142ceba6f974954e9dae8e7cb7b"},"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/attention-streams%2Fcontracts","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/attention-streams%2Fcontracts/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/attention-streams%2Fcontracts/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/attention-streams%2Fcontracts/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/attention-streams","download_url":"https://codeload.github.com/attention-streams/contracts/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":250487531,"owners_count":21438612,"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":["ethereum","finance","governance","smart-contracts","voting"],"created_at":"2024-10-02T13:04:44.105Z","updated_at":"2025-04-23T18:10:48.472Z","avatar_url":"https://github.com/attention-streams.png","language":"Solidity","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Attention Streams\n\nThis project is an implementation of [Attention Streams](https://docs.google.com/document/d/1TKA-K8YadRdgz-Qek01TUcCkRaI9CKCXGtJ31AbVWIU/edit?usp=sharing).\n\n## Quick start\n\nclone this repo in desired location:\n\n```shell\ngit clone https://github.com/attention-streams/contracts.git\n```\n\ncd into the repo\n\n```shell\ncd contracts\n```\n\ninstall dependencies\n\n```shell\nnpm install\n```\n\ngenerate types from contracts for tests\n\n```shell\nnpx hardhat typechain\n```\n\nrun test in a local hardhat blockchain\n\n```shell\nnpx hardhat test\n```\n\nTry running some of the following tasks:\n\n```shell\nnpx hardhat accounts\nnpx hardhat compile\nnpx hardhat clean\nnpx hardhat test\nnpx hardhat node\nnpx hardhat help\nREPORT_GAS=true npx hardhat test\nnpx hardhat coverage\nnpx hardhat run scripts/deploy.ts\nTS_NODE_FILES=true npx ts-node scripts/deploy.ts\nnpx eslint '**/*.{js,ts}'\nnpx eslint '**/*.{js,ts}' --fix\nnpx prettier '**/*.{json,sol,md}' --check\nnpx prettier '**/*.{json,sol,md}' --write\nnpx solhint 'contracts/**/*.sol'\nnpx solhint 'contracts/**/*.sol' --fix\n```\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fattention-streams%2Fcontracts","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fattention-streams%2Fcontracts","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fattention-streams%2Fcontracts/lists"}