Socket
Book a DemoInstallSign in
Socket

rouge.js

Package Overview
Dependencies
Maintainers
2
Versions
47
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

rouge.js

Javascript library for interacting with the Rouge protocol

Source
npmnpm
Version
0.3.5
Version published
Weekly downloads
8
14.29%
Maintainers
2
Weekly downloads
 
Created
Source

rouge.js

Node NPM David

Javascript library for interacting with the Rouge protocol

The Rouge protocol is an open-source blockchain voucher and note protocol built as a suite of smart contracts using a specific token — the Rouge token — on Ethereum compatible blockchains (tested on Ethereum and POA).

Rouge is for all types of usage of non-repudiable and unique usage digital vouchers (for example, e-tickets, e-coupons, cashback notes, etc).

Using the javascript rouge.js package you can easily add non-repudiable and unique usage digital vouchers without learning Solidity in the browser (ÐApps), a nodejs backend app or even a nativescript mobile app.

Installation

Install via yarn

yarn add rouge

or npm

npm i rouge

Usage

Using web3.js, creating a campaign is as simple as these three lines:

import { RougeProtocol } from 'rouge.js'

const rouge = RougeProtocol(web3)

const campaign = rouge.as(account).createCampaign()

Online full documentation.

Contributing

We are open to contributions, see CONTRIBUTING.md for more info.

Licensed under GNU AFFERO GENERAL PUBLIC LICENSE v3

This program is free software: you can redistribute it and/or modify
it under the terms of the GNU Affero General Public License as
published by the Free Software Foundation, either version 3 of the
License, or (at your option) any later version.

This program is distributed in the hope that it will be useful,
but WITHOUT ANY WARRANTY; without even the implied warranty of
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
GNU Affero General Public License for more details.

You should have received a copy of the GNU Affero General Public License
along with this program.  If not, see <http://www.gnu.org/licenses/>.

Keywords

rouge.js

FAQs

Package last updated on 01 Dec 2019

Did you know?

Socket

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts