Use "literal metadata sources" setting (#21)
This commit is contained in:
parent
48755f704f
commit
0b50a3e1f5
2
Makefile
2
Makefile
|
@ -4,7 +4,7 @@ clean:
|
|||
@rm -f DepositContract.abi DepositContract.bin IDepositContract.abi IDepositContract.bin deposit_contract.json
|
||||
|
||||
compile: clean
|
||||
@solc --bin --abi --overwrite -o . deposit_contract.sol
|
||||
@solc --metadata-literal --bin --abi --overwrite -o . deposit_contract.sol
|
||||
@echo -n '{"abi": ' > deposit_contract.json
|
||||
@cat DepositContract.abi >> deposit_contract.json
|
||||
@echo -n ', "bytecode": "0x' >> deposit_contract.json
|
||||
|
|
Loading…
Reference in New Issue