bancacy / BNY-SmartContracts

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Bancacy

Build Status  Coverage Status

Bancacy (code name uEquilibriums) is a decentralized Stablecoin protocol. It maintains a stable unit price by adjusting supply directly to and from wallet holders. You can read (https://www.bancacy.com) for the motivation and a complete description of the protocol.

This repository is a collection of smart contracts that implement the Bancacy protocol on the Ethereum blockchain.

The official contract addresses are:

  • ERC-20 Token:
  • Supply Policy:

Table of Contents

Install

# Install project dependencies
npm install

# Install ethereum local blockchain(s) and associated dependencies
npx setup-local-chains

Testing

# You can use the following command to start a local blockchain instance
npx start-chain [ganacheUnitTest|gethUnitTest]

# Run all unit tests
npm test

# Run unit tests in isolation
npx truffle --network ganacheUnitTest test test/unit/uEquilibriums.js

Contribute

To report bugs within this package, please create an issue in this repository. When submitting code ensure that it is free of lint errors and has 100% test coverage.

# Lint code
npm run lint

# View code coverage
npm run coverage

License

GNU General Public License v3.0 (c) 2018 Fregments, Inc. GNU General Public License v3.0 (c) 2020 Equilibriums, Inc.

About

License:GNU General Public License v3.0


Languages

Language:JavaScript 52.9%Language:Solidity 46.8%Language:Shell 0.3%