Code Monkey home page Code Monkey logo

exponential-love's Introduction

Exponential Love

A fundraising tool. Donors see their donation multiplicated by x. Sponsors can join at any time. When a new sponsor joins, we increment x.

First deployment: https://goerli.etherscan.io/address/0x13AA296188985d659265dd5645c89385312c97Db#code

Motivation

Incentivize donors to donate.

Install

npm i

Test

npx hardhat test

Deploy

Create a .env file:

cp .env.example .env

Add your own keys in the .env file, then:

npx hardhat run scripts/deploy.js --network goerli

Versions

Support

You can contact me via Element, Telegram, Twitter, Discord, or LinkedIn.

exponential-love's People

Contributors

julienbrg avatar

Stargazers

 avatar

Watchers

 avatar  avatar

Forkers

julienbrg

exponential-love's Issues

Allow sponsors to take back unspent part of their sponsorship

  • Careful with the timing: what happens if a new sponsor joins? His sponsorship would probably get immediately spent (multiplier incremented)
  • Need an accurate calculation of what's left
  • Can only take it back when the campaign is over, so we probably need a notion of campaign duration

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.