GithubHelp home page GithubHelp logo

antonga23 / usm Goto Github PK

View Code? Open in Web Editor NEW

This project forked from usmfum/usm

0.0 1.0 0.0 1.88 MB

Minimalist USD - A minimalist, collateralized stablecoin built on Ethereum.

License: GNU General Public License v3.0

JavaScript 35.81% Solidity 63.86% Shell 0.33%

usm's Introduction

USM ("Minimalist USD") Stablecoin

USM is an attempt to answer the question "What's the simplest possible decentralized stablecoin?" The resulting project is a decentralized (ownerless and immutable), tightly pegged, open-source not-for-profit, minimalist ERC-20 stablecoin system, combining a stablecoin (1 USM = $1) + a "vol-coin" (FUM) with just four operations:

  • mint (ETH->USM)
  • burn (USM->ETH)
  • fund (ETH->FUM)
  • defund (FUM->ETH)

Read more in our new FAQ (and suggest additions!); in the original series of 2020 Medium posts that sketched the design; and at @usmfum on Twitter.

Networks & Addresses

USM v1-rc1 (mainnet v1 release candidate)

On Oct 10, 2021, v1 LAUNCHED! ๐ŸŽ†๐ŸŽ‰๐Ÿ˜ฌ v1-rc1 is the first uncapped mainnet USM release, which is exciting; but as a release candidate v1-rc1 may still be replaced by a v1-rc2 if significant problems are found - keep an eye on Twitter for news of any such developments. See the initial launch thread and give it a poke.

USM v0.5 (mainnet pre-v1 temporary test deployment)

v0.5 is a test release, but on mainnet and full-featured, except that it becomes withdrawal-only after Oct 13. (See our Twitter thread about it.) Feel free to play with it and report any issues, but soon! Depending how this v0.5 is looking, the long-awaited v1 release candidate could come soon...

USM v0.4 (Kovan testnet)

USM v0.1 ("Baby USM") - Mainnet

Baby USM is a "beta" version of USM. Baby USM expires on the 15th of January 2021 when it becomes withdraw-and-read-only. At this point, FUM and USM will be redeemable for ETH, but no more minting of either can occur.

Baby USM and Baby FUM is not redeemable for USM or FUM. It is for test and research purposes only.

How It Works

USM is pegged to United States dollar, and maintains its stable value by minting USM in exchange for ETH, using the price of ETH at the time of minting.

If ETH is worth $200, I deposit 1 ETH, I get 200 USM in return (minus a small minting fee). The same goes for burning, but in the opposite direction.

This is what's known as a CDP: Collateralised Debt Position.

The problem with CDPs is that if the asset used as collateral drops in value, which in our case is highly probable at any time due to the volatility of ETH, the contract could become undercollateralised. This is where the concept of Minimalist Funding Tokens, or FUM, come in.

For more information on how FUM de-risks USM, read Jacob's original articles.

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.