Skip to content

Commit

Permalink
Merge pull request #18 from ava-labs/update-contract-name
Browse files Browse the repository at this point in the history
Rename contract
  • Loading branch information
Connor Daly committed Jul 20, 2021
2 parents d54ae34 + 2771518 commit 7a9102b
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion contracts/ERC721.sol → contracts/NFT.sol
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ pragma solidity >= 0.6.2;
import "@openzeppelin/contracts/token/ERC721/ERC721.sol";
import "@openzeppelin/contracts/utils/Counters.sol";

contract GameItem is ERC721 {
contract NFT is ERC721 {
using Counters for Counters.Counter;
Counters.Counter private _tokenIds;

Expand Down
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -33,7 +33,7 @@
"test": "npx hardhat test",
"deploy": "npx hardhat run scripts/deploy.ts",
"erc20": "npx hardhat run scripts/erc20.ts",
"erc721": "npx hardhat run scripts/erc721.ts --network mainnet",
"nft": "npx hardhat run scripts/nft.ts --network mainnet",
"storage": "npx hardhat run scripts/storage.ts",
"send-avax-wallet-signer": "npx hardhat run scripts/sendAvaxWalletSigner.ts",
"send-avax-json-provider": "npx hardhat run scripts/sendAvaxJSONProvider.ts",
Expand Down
2 changes: 1 addition & 1 deletion scripts/erc721.ts → scripts/nft.ts
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
import { Contract } from "ethers"
import { ethers } from "hardhat"
import { abi } from "../artifacts/contracts/ERC721.sol/NFT.json"
import { abi } from "../artifacts/contracts/NFT.sol/NFT.json"

const coinAddr: string = "0xe304EDd5C4e590e2b8ce08b9625597FF38192D71"
const main = async (): Promise<any> => {
Expand Down

0 comments on commit 7a9102b

Please sign in to comment.