Skip to content

Commit

Permalink
modify make file
Browse files Browse the repository at this point in the history
  • Loading branch information
mymiracle0118 committed Apr 19, 2024
1 parent 9b6d642 commit f8a4af5
Showing 1 changed file with 3 additions and 7 deletions.
10 changes: 3 additions & 7 deletions Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ test:
cargo unit-test

WALLET=nibi1d3lmwkgjgdyfpsn4xgh299jnpk4r89kd5xs420
AIRDROP_CONTRACT=nibi178kzznh9cepjckjefqc3mgt9gf9rfkyw6kk0pymeypx9rplggvyq9yjjuv
AIRDROP_CONTRACT=nibi1lz6h4tav6q8jrpxxs6kv63hztlmpu27jj50jcnrt9p7wd2nrmz9s9600vz
CODE_ID=421
WALLET_NAME=jarvis

Expand All @@ -27,13 +27,9 @@ upload-testnet:
@nibid tx wasm store artifacts/jarvis_airdrop.wasm --from ${WALLET} --gas auto --gas-adjustment 1.5 --gas-prices 0.025unibi --yes

instantiate-testnet:
@nibid tx wasm instantiate ${CODE_ID} '{"count": 1}' --admin ${WALLET} --label airdrop --from ${WALLET} --gas auto --gas-adjustment 1.5 --gas-prices 0.025unibi --yes
@nibid tx wasm instantiate ${CODE_ID} --admin ${WALLET} --label airdrop --from ${WALLET} --gas auto --gas-adjustment 1.5 --gas-prices 0.025unibi --yes

get-count:
$(eval GET_COUNT := $$(shell cat ./commands/get_count.json))
@nibid query wasm contract-state smart ${AIRDROP_CONTRACT} '$(GET_COUNT)'

get-nft-contract-addres:
get-nft-contract-address:
$(eval GET_NFT_CONTRACT_ADDRESS := $$(shell cat ./commands/get_nft_contract_addr.json))
@nibid query wasm contract-state smart ${AIRDROP_CONTRACT} '$(GET_NFT_CONTRACT_ADDRESS)'

Expand Down

0 comments on commit f8a4af5

Please sign in to comment.