{"id":16711192,"url":"https://github.com/cardanosolutions/smart-contracts-analytics","last_synced_at":"2025-08-10T04:05:26.415Z","repository":{"id":243683112,"uuid":"750432352","full_name":"CardanoSolutions/smart-contracts-analytics","owner":"CardanoSolutions","description":"🔬 A collection of scripts to classify and analyze the on-chain smart contract activity on Cardano ","archived":false,"fork":false,"pushed_at":"2025-07-13T16:17:30.000Z","size":23498,"stargazers_count":11,"open_issues_count":1,"forks_count":1,"subscribers_count":3,"default_branch":"master","last_synced_at":"2025-08-10T02:48:24.132Z","etag":null,"topics":["analytics","cardano","smart-contracts"],"latest_commit_sha":null,"homepage":"","language":"Rust","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mpl-2.0","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/CardanoSolutions.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,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2024-01-30T16:28:30.000Z","updated_at":"2025-07-13T16:17:35.000Z","dependencies_parsed_at":"2024-10-12T20:10:59.022Z","dependency_job_id":"933436ab-0d3f-4119-b3e6-9adab73ac9fb","html_url":"https://github.com/CardanoSolutions/smart-contracts-analytics","commit_stats":null,"previous_names":["ktorz/aiken-analytics","cardanosolutions/smart-contracts-analytics"],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/CardanoSolutions/smart-contracts-analytics","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/CardanoSolutions%2Fsmart-contracts-analytics","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/CardanoSolutions%2Fsmart-contracts-analytics/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/CardanoSolutions%2Fsmart-contracts-analytics/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/CardanoSolutions%2Fsmart-contracts-analytics/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/CardanoSolutions","download_url":"https://codeload.github.com/CardanoSolutions/smart-contracts-analytics/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/CardanoSolutions%2Fsmart-contracts-analytics/sbom","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":269673590,"owners_count":24457158,"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","status":"online","status_checked_at":"2025-08-10T02:00:08.965Z","response_time":71,"last_error":null,"robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":true,"can_crawl_api":true,"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":["analytics","cardano","smart-contracts"],"created_at":"2024-10-12T20:11:03.842Z","updated_at":"2025-08-10T04:05:26.407Z","avatar_url":"https://github.com/CardanoSolutions.png","language":"Rust","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Smart Contract Analytics\n\n## Getting Started\n\n### Pre-requisite\n\n- Rust toolkit `\u003e= 1.73.0` with Cargo.\n- Node.js `\u003e= 16.15.0` with Yarn / NPM.\n- Ogmios `\u003e= v6.0.0` (local or hosted on Demeter).\n\n### Environment\n\nAdjust the `.envrc` to select Ogmios' source.\n\n\u003e [!CAUTION]\n\u003e Ogmios needs to be running with the `--include-cbor` flag set.\n\n### Collecting mainnet scripts\n\n```\nnode collect-plutus-scripts.mjs 1\u003edata/plutus_scripts.csv 2\u003edata/native_scripts/YYYY_MM__YYYY_MM.json\n```\n\n### Collecting reference inputs\n\n```\nnode collect-reference-inputs.mjs 1\u003edata/reference_scripts/YYYY_MM__YYYY_MM.json\n```\n\n### Classifying validators\n\n```\ncargo run --release -- data/plutus_scripts.csv 1\u003edata/validators/YYYY_MM__YYYY_MM.json\n```\n\n### Counting scripts usage on-chain\n\n```\nnode count.mjs\n```\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fcardanosolutions%2Fsmart-contracts-analytics","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fcardanosolutions%2Fsmart-contracts-analytics","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fcardanosolutions%2Fsmart-contracts-analytics/lists"}