Skip to content

Connect Metamask to Kovan Testnet Or Localhost 7545 running a custom RPC like Ganache #8

@staminna

Description

@staminna

Dear devpavan

I followed all the instructions successfully but the following error shows:

CRYPTO BOYS CONTRACT NOT DEPLOYED TO THIS NETWORK.
Connect Metamask to Kovan Testnet Or Localhost 7545 running a custom RPC like Ganache.

Here is the truffle test:

Compiling your contracts...
===========================
✔ Fetching solc version list from solc-bin. Attempt #1
> Compiling ./src/contracts/CryptoBoys.sol
> Compiling ./src/contracts/ERC721.sol
> Compiling ./src/contracts/Migrations.sol
> Artifacts written to /var/folders/bw/3p5s80wx4j9317z2v18mf3d00000gn/T/test--35348-0C4qIofrLlt0
> Compiled successfully using:
   - solc: 0.7.6+commit.7338295f.Emscripten.clang



  Contract: Crypto Boys
    Deployment
      ✓ contract has an address
      ✓ has a name (224ms)
      ✓ has a symbol
    application features
      ✓ allows users to mint ERC721 token (2547ms)
      ✓ returns address of the token's owner
      ✓ returns metadata of a token
      ✓ returns total number of tokens minted so far
      ✓ returns total number of tokens owned by an address
      ✓ allows users to buy token for specified ethers (965ms)
      ✓ allows users to change token price (628ms)
      ✓ allows users to toggle between setting the token for sale or not for sale (391ms)


  11 passing (6s)

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions