Giter VIP home page Giter VIP logo

janclarin / blossym Goto Github PK

View Code? Open in Web Editor NEW
5.0 6.0 4.0 1.38 MB

A platform for fans to donate crypto to their favorite creators and for creators to automatically earn yield on those donations. Submission for ETHGlobal MarketMake. Running on Kovan testnet.

Home Page: https://blossym.org

License: MIT License

HTML 3.22% CSS 0.95% JavaScript 83.99% Solidity 11.84%
ethglobal solidity dapp react web3 aave uniswap ethereum

blossym's Introduction

Blossym

Blossym is a platform for fans to donate to creators they want to support and for creators to automatically earn yield on those fan donations, all in one place. Blossym enables uncensorable, simple donations with no middle-men taking a cut so that fan donations directly reach their favorite creators.

Blossym is currently running on the Kovan Ethereum test network. Made for the ETHGlobal MarketMake hackathon.

Demo video

Features

Fan page

Fans donate ETH to their favorite artists, musicians, podcasters, writers, journalists, and other creators. They do so by entering the creator's ETH wallet address and the amount they want to donate. The donated ETH is then swapped into USDC via Uniswap and deposited into AAVE's lending pool on behalf of the creator, so the newly minted aUSDC (interest-bearing USDC) is sent to the creator's ETH wallet address.

Creator page

Creators can view their aUSDC balance recent fan ETH donations, aUSDC interest rates, and estimated future earnings. They can also "cash out" their aUSDC which burns the aUSDC tokens to redeem USDC. Most importantly, they can easily share their fan donation link to either Twitter or Telegram, or by copying the URL. The creator's wallet address is automatically populated when a fan clicks the link.

Future

In the future, we plan to allow creators to choose among different investment and asset allocation options, as well as allow creators to convert their USDC into USD in one-click. Additionally, we want to provide even more information to the creator, such as a chart to easily view balance changes. Lastly, we also plan to enable fan donations in different cryptocurrencies.

Development setup

Install dependencies

Run npm install -g yarn to install yarn.

Run yarn global add truffle ganache-cli to install global dependencies.

On Windows, also run yarn global add windows-build-tools.

Run yarn install to install project dependencies.

Start environment

  1. Run ganache-cli in a terminal to start a local Ethereum test network (note the test public/private keys)
  2. In a separate terminal, run truffle compile followed by truffle migrate
  3. Run the web app: yarn run start

Set up Metamask to connect to the local ganache test network

  1. Open Metamask and change the network from Ethereum Mainnet to Localhost 8545
  2. In Metamask, click on the avatar icon button and select Import Account
  3. Copy and paste a private key string from the ganache-cli terminal
  4. Click Import and enjoy your 100 test ETH

Adding new dependencies

To the root package, run yarn add [--dev] <package-name>.

To the client package, run yarn workspace client add [--dev] <package-name>.

blossym's People

Contributors

chailey avatar janclarin avatar priyankaranke avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar

blossym's Issues

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.