Giter VIP home page Giter VIP logo

heartrithm / heart_token Goto Github PK

View Code? Open in Web Editor NEW
4.0 4.0 3.0 743 KB

The HEART token is an ERC20 governance token for directing the flow of social impact resources from HeartRithm crypto quant fund

Home Page: https://www.heartrithm.com/heart-token

License: MIT License

Solidity 44.10% Python 55.90%
erc20-tokens erc20 governance dao solidity solidity-contracts brownie governance-token social-impact ethereum

heart_token's Introduction

HEART token ๐Ÿ’“

CircleCI pre-commit Code style: black License: MIT

HEART Governance token

The HEART ERC20 governance token was created for directing the flow of social impact resources from HeartRithm's regenerative engine for social impact. Token holders will be able to submit philanthropic projects to be considered for voting, and then vote on the allocation of social impact funding. Learn more at www.heartrithm.com/heart-token.

About HeartRithm

HeartRithm turns code into money in the cryptocurrency ecosystem. We use a combination of algorithmic trading, automated code robots, and other internal platforms for optimizing yield and generating alpha.

HeartRithm aims to be a "regenerative engine for social impact" by scaling up to 50% of our revenues to be driven to social impact causes.

Technical notes

  • We use OpenZeppelin's standard libraries for ERC20 functionality, version 4.2
  • We also use OpenZeppelins implementation of ERC20Votes was use for the governance functionality
  • We chose to use the "COMP" compatible version, ERC20VotesComp, to be be compatible with industry tooling

Contract details

Development

Installation

Python

  1. Set up the python virtual env of your choice. Tested with Python 3.9
  2. pip install -r requirements-dev.txt
  3. Set up git pre-commit hooks with pre-commit install

Node/Ganache

  1. Install node / npm (via nvm recommended)
  2. Install ganache for a local blockchain (npm install -g ganache-cli)

Formatting/linting

Install prettier with npm install -g prettier prettier-plugin-solidity

prettier --write $Contract.sol

Install solhint with npm install -g solhint

solhint $Contract.sol

Brownie

We use brownie for python based smart contract development, testing, and deployment

Run tests with brownie test

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.