craft-nft

A standalone NFT implementation for real-world arts and crafts assets
Info | Log | Files | Refs | README

Makefile (517B)


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