token-geyser
token-geyser copied to clipboard
Token Geyser
A smart-contract based mechanism to distribute tokens over time, inspired loosely by Compound and Uniswap.
Implementation of Continuous Vesting Token Distribution
The official Geyser contract addresses are (by target):
- UniswapV2 ETH/AMPL Pool: 0xD36132E0c1141B26E62733e018f12Eb38A7b7678
Table of Contents
- Install
- Testing
- Contribute
- License
Install
# Install project dependencies
npm install
# Install ethereum local blockchain(s) and associated dependencies
npx setup-local-chains
Testing
# You can use the following command to start a local blockchain instance
npx start-chain [ganacheUnitTest|gethUnitTest]
# Run all unit tests
npm test
# Run unit tests in isolation
npx mocha test/staking.js --exit
Contribute
To report bugs within this package, please create an issue in this repository. When submitting code ensure that it is free of lint errors and has 100% test coverage.
# Lint code
npm run lint
# View code coverage
npm run coverage
License
GNU General Public License v3.0 (c) 2020 Fragments, Inc.