Skip to content
forked from USDGold/usdGold

UsdGold is a decentralized elastic supply protocol. It is forked from Ampleforth which operates under the codename "UFragments". This monetary protocol maintains a stable unit price by adjusting supply directly to and from wallet holders.

License

Notifications You must be signed in to change notification settings

YOUXERNET/usdGold

 
 

Repository files navigation

UsdGold

UsdGold is a decentralized elastic supply protocol. It is forked from Ampleforth which operates under the codename "UFragments". This monetary protocol maintains a stable unit price by adjusting supply directly to and from wallet holders.

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

The official contract addresses are:

  • ERC-20 Token: TBD
  • Supply Policy: TBD
  • Market Oracle: TBD
  • CPI Oracle: TBD

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 

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

About

UsdGold is a decentralized elastic supply protocol. It is forked from Ampleforth which operates under the codename "UFragments". This monetary protocol maintains a stable unit price by adjusting supply directly to and from wallet holders.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • JavaScript 63.7%
  • Solidity 35.2%
  • Shell 1.1%