At this level, you should have already deployed your contract on one of the deployment environments presented beforehand. To try what we have built so far, follow these instructions:
- In auction.js, define your RPC and port provider: web3.setProvider(new web3.providers.HttpProvider("http://<IP>:<port>"));.
- Change the contract's address: var contractAddress = "your contract address";.
- Afterwards, open the index.html file directly in your browser or by using a web server. The loaded web page looks as follows:
To start interacting with this DApp, the easiest method is to use MetaMask connected to Ganache. In this case, we'll need to import some of the accounts created by Ganache into MetaMask. To do that, we copy the private key from the Ganache interface and in MetaMask, we import the corresponding accounts by...