From 74747ce49a9383a4c1412a26ab739333a84d2f8d Mon Sep 17 00:00:00 2001 From: prathamesh0 <42446521+prathamesh0@users.noreply.github.com> Date: Mon, 17 Oct 2022 05:08:59 -0500 Subject: [PATCH] Add scripts for ERC721 token interaction (#203) --- packages/erc20-watcher/hardhat.config.ts | 2 +- packages/erc721-watcher/package.json | 4 ++++ 2 files changed, 5 insertions(+), 1 deletion(-) diff --git a/packages/erc20-watcher/hardhat.config.ts b/packages/erc20-watcher/hardhat.config.ts index a0a14b2ca..0ed03bc6c 100644 --- a/packages/erc20-watcher/hardhat.config.ts +++ b/packages/erc20-watcher/hardhat.config.ts @@ -20,7 +20,7 @@ export default { solidity: '0.8.0', networks: { docker: { - url: 'http://dapptools:8545' + url: 'http://geth:8545' } }, paths: { diff --git a/packages/erc721-watcher/package.json b/packages/erc721-watcher/package.json index d83fa77aa..2a2961422 100644 --- a/packages/erc721-watcher/package.json +++ b/packages/erc721-watcher/package.json @@ -25,9 +25,13 @@ "inspect-cid": "DEBUG=vulcanize:* ts-node src/cli/inspect-cid.ts", "index-block": "DEBUG=vulcanize:* ts-node src/cli/index-block.ts", "nft:deploy": "hardhat --network localhost nft-deploy", + "nft:deploy:docker": "hardhat --network docker nft-deploy", "nft:mint": "hardhat --network localhost nft-mint", + "nft:mint:docker": "hardhat --network docker nft-mint", "nft:transfer": "hardhat --network localhost nft-transfer", + "nft:transfer:docker": "hardhat --network docker nft-transfer", "block:latest": "hardhat --network localhost block-latest", + "block:latest:docker": "hardhat --network docker block-latest", "account": "hardhat --network localhost account" }, "repository": {