open-index/open-npm huggingface dataset:
npm package: @linniaprotocol/linnia-js-script-tag
Description: Linnia JavaScript API Script Tag
Author: Linnia
Latest version: 0.3.0
Deprecated: we are now @stowprotocol/stow-js-script-tag https://www.npmjs.com/package/@stowprotocol/stow-js-script-tag

<img src="./linnia-logo.jpg" width="300" height="300" />

# LinniaJS

## Deployment

- Make sure on branch `webpack-for-cdn`
- `git merge master`
- `npm install`
- `npm run cdn-build`
- change `version`
- Make sure logged into npm on command line
- `npm publish`
npm package: @linniaprotocol/linnia-smart-contracts
Description: Linnia Smart Contracts
Latest version: 0.1.8
Deprecated: we are now @stowprotocol/stow-smart-contracts https://www.npmjs.com/package/@stowprotocol/stow-smart-contracts

# Linnia Smart Contracts [![NPM Package](https://img.shields.io/npm/v/@linniaprotocol/linnia-smart-contracts.svg?style=flat-square)](https://www.npmjs.com/package/@linniaprotocol/linnia-smart-contracts) ![Build Status](https://circleci.com/gh/ConsenSys/Linnia-Smart-Contracts.png?circle-token=:circle-token&style=shield) ![Coverage Status](https://codecov.io/gh/ConsenSys/Linnia-Smart-Contracts/branch/master/graph/badge.svg)
---
> :warning: WIP

Smart Contracts for Linnia

# DEPLOYED CONTACTS

All addresses for protocal located: [Here](https://github.com/ConsenSys/stow-addresses)

# Overview
## Linnia Users
A contract that keeps a registry of registered users and their provenance.

## Linnia Records
A 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.

# Recieving Tokens when adding Linnia records

When a person uploads data, 1 Finney LIN token is transferred from the Linnia admin pool/acct to the user’s address.
Currently no data validation needed.

1 Finney of LIN tokens per upload for now.

## Linnia Permissions
A contract that keeps a registry of permissions. Permissions include who can view what data, and where the permissioned copy is stored on IPFS.

## Linnia Overall Architecture 
![Linnia architecture](images/linnia_architecture_chart.png)

# Getting started

### Prerequisites
* Node.js
* Node Package Manager

Clone the repository
```
$ git clone https://github.com/ConsenSys/Linnia-Smart-Contracts.git
```

Install the dependencies
```
$ npm install
```

## Deploying
```
npm run migrate
```

## Testing
To run tests with coverage
```
npm run coverage
```

To run tests without coverage
- First start testrpc with `npm start`
  - Alternatively you can run Ganache GUI at port 7545 with network id 5777
- Run `npm test`

## Video to Help You Get Started

[![Video to Get You Started with Linnia Smart Contract](images/getting-started-with-linnia.png)](https://www.youtube.com/watch?v=9RzCvB_Gvvo&t)

# Contributing

Please read [CONTRIBUTING.md](https://github.com/ConsenSys/linnia-resources/blob/master/CONTRIBUTING.md) for details on our code of conduct, and the process for submitting pull requests to us.