{"id":21280838,"url":"https://github.com/consensysmesh/stow-smart-contracts","last_synced_at":"2026-03-16T23:31:56.996Z","repository":{"id":57163070,"uuid":"113869797","full_name":"ConsenSysMesh/Stow-Smart-Contracts","owner":"ConsenSysMesh","description":"Formerly Linnia-Smart-Contracts","archived":false,"fork":false,"pushed_at":"2018-12-14T17:18:37.000Z","size":1564,"stargazers_count":56,"open_issues_count":8,"forks_count":39,"subscribers_count":24,"default_branch":"master","last_synced_at":"2024-10-17T05:46:34.685Z","etag":null,"topics":["ethereum","smart-contracts"],"latest_commit_sha":null,"homepage":"https://stow-protocol.com/","language":"JavaScript","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/ConsenSysMesh.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}},"created_at":"2017-12-11T14:36:56.000Z","updated_at":"2023-09-28T15:28:47.000Z","dependencies_parsed_at":"2022-09-01T00:20:17.986Z","dependency_job_id":null,"html_url":"https://github.com/ConsenSysMesh/Stow-Smart-Contracts","commit_stats":null,"previous_names":["consensys/stow-smart-contracts","consensys/linnia-smart-contracts"],"tags_count":4,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ConsenSysMesh%2FStow-Smart-Contracts","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ConsenSysMesh%2FStow-Smart-Contracts/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ConsenSysMesh%2FStow-Smart-Contracts/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ConsenSysMesh%2FStow-Smart-Contracts/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/ConsenSysMesh","download_url":"https://codeload.github.com/ConsenSysMesh/Stow-Smart-Contracts/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":225715945,"owners_count":17512908,"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","smart-contracts"],"created_at":"2024-11-21T10:41:31.183Z","updated_at":"2026-03-16T23:31:56.942Z","avatar_url":"https://github.com/ConsenSysMesh.png","language":"JavaScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Stow Smart Contracts [![NPM Package](https://img.shields.io/npm/v/@stowprotocol/stow-smart-contracts.svg?style=flat-square)](https://www.npmjs.com/package/@stowprotocol/stow-smart-contracts) ![Build Status](https://circleci.com/gh/ConsenSys/Stow-Smart-Contracts.png?circle-token=:circle-token\u0026style=shield) ![Coverage Status](https://codecov.io/gh/ConsenSys/Stow-Smart-Contracts/branch/master/graph/badge.svg)\n---\n\u003e :warning: WIP\n\nSmart Contracts for Stow\n\n# DEPLOYED CONTACTS\n\n- Ropsten: [0xfae15fe388a0c0c04d9614f6a8b4f81142bfc87b](https://ropsten.etherscan.io/address/0xfae15fe388a0c0c04d9614f6a8b4f81142bfc87b)\n\n- All addresses for protocol located: [Here](https://github.com/ConsenSys/stow-addresses)\n\n# Overview\n## Stow Users\nA contract that keeps a registry of registered users and their provenance.\n\n## Stow Records\nA contract that keeps a registry of metadata of uploaded medical records, as well as the IRIS score of those records. The metadata makes records easily searchable.\n\n# Recieving Tokens when adding Stow records\n\nWhen a person uploads data, 1 Finney STOW token is transferred from the Stow admin pool/acct to the user’s address.\nCurrently no data validation needed.\n\n1 Finney of STOW tokens per upload for now.\n\n## Stow Permissions\nA contract that keeps a registry of permissions. Permissions include who can view what data, and where the permissioned copy is stored on IPFS.\n\n## Stow Overall Architecture \n![Stow architecture](images/stow_architecture_chart.png)\n\n# Getting started\n\n### Prerequisites\n* Node.js\n* Node Package Manager\n\nClone the repository\n```\n$ git clone https://github.com/ConsenSys/Stow-Smart-Contracts.git\n```\n\nInstall the dependencies\n```\n$ npm install\n```\n\n## Deploying\n```\nnpm run migrate\n```\n\n## Testing\nTo run tests with coverage\n```\nnpm run coverage\n```\n\nTo run tests without coverage\n- First start testrpc with `npm start`\n  - Alternatively you can run Ganache GUI at port 7545 with network id 5777\n- Run `npm test`\n\n## Video to Help You Get Started\n\n[![Video to Get You Started with Stow Smart Contract](images/getting-started-with-stow.png)](https://www.youtube.com/watch?v=9RzCvB_Gvvo\u0026t)\n\n# Contributing\n\nPlease read [CONTRIBUTING.md](https://github.com/ConsenSys/stow-resources/blob/master/CONTRIBUTING.md) for details on our code of conduct, and the process for submitting pull requests to us.\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fconsensysmesh%2Fstow-smart-contracts","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fconsensysmesh%2Fstow-smart-contracts","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fconsensysmesh%2Fstow-smart-contracts/lists"}