Skip to content

Commit

Permalink
fix Makefile
Browse files Browse the repository at this point in the history
  • Loading branch information
ikehara committed Oct 9, 2019
1 parent 861ad9f commit 2c992cd
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions example/token/Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -9,8 +9,8 @@ deploy: build
$(eval CONTRACT_ADDRESS := $(shell $(HMCLI) contract deploy --path=$(CONTRACT_CODE) --address=${ADDR1} --gas=1 --password=password --node=tcp://$(NODE_ADDR)))
@echo "contract address is ${CONTRACT_ADDRESS}"

call:
$(HMCLI) contract call --address=${ADDR1} --contract=$(CONTRACT_ADDRESS) --gas=1 --func="app_main" --password=password --node=tcp://$(NODE_ADDR)
transfer:
$(HMCLI) contract call --address=${ADDR1} --contract=$(CONTRACT_ADDRESS) --gas=1 --func="transfer" --args ${ADDR2} --args 10 --argtypes=address,int64 --password=password --node=tcp://$(NODE_ADDR)

build:
cargo build --target=wasm32-unknown-unknown
Expand Down

0 comments on commit 2c992cd

Please sign in to comment.