contract-registry

Ethereum Smart Contract key-value registry
Info | Log | Files | Refs

Makefile (431B)


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