eth-accounts-index/solidity/Makefile

13 lines
459 B
Makefile
Raw Permalink Normal View History

2021-01-10 20:40:29 +01:00
SOLC = /usr/bin/solc
all:
2021-01-10 20:40:29 +01:00
$(SOLC) --bin AccountsIndex.sol --evm-version byzantium | awk 'NR>3' > AccountsIndex.bin
$(SOLC) --abi AccountsIndex.sol --evm-version byzantium | awk 'NR>3' > AccountsIndex.json
2023-03-21 17:44:20 +01:00
$(SOLC) --metadata AccountsIndex.sol --evm-version byzantium | awk 'NR>3' > AccountsIndex.metadata.json
truncate -s -1 AccountsIndex.bin
install: all
2023-03-21 17:44:20 +01:00
cp -v *.json ../python/eth_accounts_index/data/
cp -v *.bin ../python/eth_accounts_index/data/