How do I deploy a contract on a test network using
Remix 0.8.0 and
MetaMask on a
This recipe supposes that user has installed
Metamaskand type password (indicates last session closed properly);
- Select a
Custom RPC(don't do this on Main Network, unless your contract is perfect and ready to be launched);
- Select an account with some (dummy)
Deployicon, left ribbon;
- Deploy contract.
IF YOU ARE RUNNING YOUR OWN TEST NETWORK:
- Ensure that some mining is going on in your test network;
- Ensure that enough peers are connected to reach consensus.
IF YOU RUN INTO DEPLOYMENT ISSUES WITH RPC
Internal JSON-RPC error with an otherwise operational RPC server, for example)
- Close every open tab on every window in current browser;
- Restart browser;
- Close any tabs which open up;
- Restart browser (skip if no tabs open in
STEP 7at the beginning of this answer.