eth-faucet

Gas token gifter with controls from time intervals, amounts and access
Log | Files | Refs | README

Makefile (730B)


      1 SOLC = /usr/bin/solc
      2 
      3 all:
      4 	$(SOLC) --bin EthFaucet.sol --evm-version byzantium | awk 'NR>3' > EthFaucet.bin
      5 	$(SOLC) --abi EthFaucet.sol --evm-version byzantium | awk 'NR>3' > EthFaucet.json
      6 	$(SOLC) --metadata EthFaucet.sol --evm-version byzantium | awk 'NR>3' > EthFaucet.metadata.json
      7 	$(SOLC) --bin PeriodSimple.sol --evm-version byzantium | awk 'NR>3' > PeriodSimple.bin
      8 	$(SOLC) --abi PeriodSimple.sol --evm-version byzantium | awk 'NR==4' > PeriodSimple.json
      9 	$(SOLC) --metadata PeriodSimple.sol --evm-version byzantium | awk 'NR==4' > PeriodSimple.metadata.json
     10 	truncate -s -1 EthFaucet.bin
     11 	truncate -s -1 PeriodSimple.bin
     12 
     13 install: all
     14 	cp -v *.json ../python/eth_faucet/data/
     15 	cp -v *.bin ../python/eth_faucet/data/
     16