From 4c927615d0d0fe1dd811a7c15203525019fc319e Mon Sep 17 00:00:00 2001 From: lza_menace Date: Sat, 19 Nov 2022 00:28:06 -0800 Subject: [PATCH] update commands --- commands.sh | 8 +++++++- 1 file changed, 7 insertions(+), 1 deletion(-) diff --git a/commands.sh b/commands.sh index 5269c20..ff4b06b 100755 --- a/commands.sh +++ b/commands.sh @@ -13,7 +13,7 @@ forge create --rpc-url http://localhost:8545 --private-key $PRIVATE_KEY src/samp echo -e "[+] Deploying ERC-1155" forge create --rpc-url http://localhost:8545 --private-key $PRIVATE_KEY src/sampleERC1155.sol:NFT1155 | grep Deployed -echo -e "[+] Deploying SendIt" +echo -e "[+] Deploying ShipIt" forge create --rpc-url http://localhost:8545 --private-key $PRIVATE_KEY src/ShipIt.sol:ShipIt | grep Deployed echo -e "[+] Sending test Ether" @@ -25,6 +25,12 @@ cast send --rpc-url http://localhost:8545 --private-key $PRIVATE_KEY $ERC721 "mi echo -e "[+] Minting 800 ERC-1155 tokens to deployer (id 1)" cast send --rpc-url http://localhost:8545 --private-key $PRIVATE_KEY $ERC1155 "mint(uint256,uint256)" 1 800 > /dev/null +echo -e "[+] Minting 800 ERC-1155 tokens to deployer (id 2)" +cast send --rpc-url http://localhost:8545 --private-key $PRIVATE_KEY $ERC1155 "mint(uint256,uint256)" 2 800 > /dev/null + +echo -e "[+] Minting 800 ERC-1155 tokens to deployer (id 3)" +cast send --rpc-url http://localhost:8545 --private-key $PRIVATE_KEY $ERC1155 "mint(uint256,uint256)" 3 800 > /dev/null + echo -e "[+] Setting approval for contracts" cast send --rpc-url http://localhost:8545 --private-key $PRIVATE_KEY $ERC721 "setApprovalForAll(address,bool)" $SHIPIT true > /dev/null cast send --rpc-url http://localhost:8545 --private-key $PRIVATE_KEY $ERC1155 "setApprovalForAll(address,bool)" $SHIPIT true > /dev/null