Skip to content

0x1d00ffff/gas-faucet

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

5 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

GasFaucet

ropsten: 0xeEE591f610a1bb9fBc4002137A4e1e10D31Ae018

A erc-20 token faucet in a solidity contract. Functionality is very simple; a call to the dispense() function sends some of the stored tokens to the address of the caller. In order to impose a cost on the tokens, the contract will only send tokens proportional to the amount of gas spent. It is intended that the Owner of the contract should adjust priceInWeiPerSatoshi periodically to ensure that the monetary value of the tokens dispensed remains lower than the value of the gas required.

Requires

Testing

  1. Run Ganache
  2. Run truffle test

About

A erc-20 token faucet in a solidity contract.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published