GithubHelp home page GithubHelp logo

bread-token-v2's Introduction

Bread Token V2

The Breadchain Stablecoin is an experiment in lossless donations or crowdstaking for the Breadchain Collective. The idea is that users mint BREAD which is pegged 1:1 with DAI however under the hood the DAI earns yield which is captured not by the token holders but the Breadchain Collective's public goods funding stream. Thus users who hold and transact with BREAD are actually continually donating to the Breadchain Collective's public goods funding stream.

The BREAD token v1 was deployed on Polygon PoS and the underlying yield generation source was Aave's lending market. Switching to Gnosis Chain and using sDAI as the underlying yield source has major benefits:

  • Since xDAI is native gas token on Gnosis Chain, users don't need both the gas token and DAI in order to onboard.
  • Since sDAI is the native yield source for xDAI, it's less variable yield and carries less risk than the Aave market. Yields are also generally much higher!

Setup

clone and enter this repo then run:

forge install
forge compile

Test

forge test --fork-url "YOUR QUICKNODE GNOSIS CHAIN ENDPOINT" --fork-block-number 31060200 -vv

create an account here and get a gnosis chain endpoint on the free tier to get running the test suite.

bread-token-v2's People

Contributors

kassandraoftroy 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.