Giter Site home page Giter Site logo

dsn-token's Introduction

DSN Token 🏦

This repository contains the contract code for the DSN Token

The $DSN token—the governance token of the Descent Protocol, allows those who hold it to vote on changes to the Descent Protocol. Note that anyone, not only $DSN holders, can submit proposals for an $DSN vote.

Design Considerations

The $DSN token has 3 methods of use within the Descent Protocol

  • As a utility token

    • As xNGN stability fees earned on Vaults accrue within the Descent Protocol, $DSN holders can use $DSN to vote to enable the the auction module to sell xNGN surplus for $DSN. Once the auction is complete the $DSN protocol burns the $DSN.
  • As a governance token

    • $DSN is used by $DSN holders to vote for the risk management and business logic of the Descent Protocol. Tokens are a simple representation of voting power.
  • As a recapitalization resource

    • $DSN can autonomously be minted by the auction module and sold for xNGN, which is used to recap the Descent Protocol in times of insolvency.

Usage

Prerequisites

Setup

  • Clone the repository

    git clone https://github.com/Descent-Collective/DSN-token.git
    cd DSN-token
  • Install packages

    yarn
    
  • Build contracts

```
yarn build
```

Deploying

Create a .env in the root with:

PRIVATE_KEY=PRIVATE_KEY
ALCHEMY_API_KEY=

Then run:

yarn run deploy:ethereum_goerli

Run unit tests

yarn run test

dsn-token's People

Contributors

njokuscript avatar

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.