Skip to content

SilasZhr/disbursement-contracts

 
 

Repository files navigation

Simple Disbursement Contract

This projects aims to provide a simple and secure way of distributing tokens following a linear distribution through a Smart Contract that hold those tokens.

Configuration

Please update content in ./deploy-params.js

  • receiver: ethereum address that will receive the tokens (note that you need to use that address to call the disbursement contract)
  • wallet: ethereum address with powers for withdrawing unclaimed tokens from the contract
  • disbursementPeriod: duration of the lineart distribution in seconds
  • startDate: cliff for the disbursement, epoch time (in seconds)
  • token: ethereum address for the ERC20 token contract

Installation

npm i

or

yarn

Run

npx truffle migrate

For more params (different networks) check in the truffle docs: https://www.trufflesuite.com/docs/truffle/reference/truffle-commands#migrate

About

No description, website, or topics provided.

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Languages

  • JavaScript 75.5%
  • Solidity 24.5%