Skip to content

Commit

Permalink
More guides and updated menu
Browse files Browse the repository at this point in the history
  • Loading branch information
eduardonunesp committed Aug 11, 2018
1 parent 367425f commit 6195a00
Show file tree
Hide file tree
Showing 2 changed files with 14 additions and 12 deletions.
20 changes: 11 additions & 9 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -73,12 +73,19 @@ You will also need to [import the private key](https://consensys.zendesk.com/hc/

#### Troubleshooting

If you stop the example and start it up again you may encounter a MetaMask error like this:
* If you stop the example and start it up again you may encounter a MetaMask error like this:
> "rpc error with payload {…nonce. account has nonce of: 0 tx has nonce of: 5"

This happens because MetaMask keeps track of the last nonce that was used to send a transaction with
a particular account, and when all the chains are reset the nonce needs to be reset back to zero.
You can force MetaMask to reset the nonce by [reseting the imported account](https://consensys.zendesk.com/hc/en-us/articles/360004177531-Resetting-an-Account-New-UI-).
> This happens because MetaMask keeps track of the last nonce that was used to send a transaction with
> a particular account, and when all the chains are reset the nonce needs to be reset back to zero.
> You can force MetaMask to reset the nonce by [reseting the imported account](https://consensys.zendesk.com/hc/en-us/articles/360004177531-Resetting-an-Account-New-UI-).

* Restart the entire service can help to clean cache also `./transfer_gateway restart`, after restart you should clean MetaMask cache.

* Sometimes when run `./transfer_gateway start` and a message like `Ganache port 8545 is already in use` appears it's because the service `ganache` is running (obvious), however if you never ran `./transfer_gateway start` then it's because another agent started `ganache` and this example starts it self `ganache` version.

* In order to `stop all` services (used by cards-gateway-example) you should run `./transfer_gateway stop`, however if services like `ganache` or `webpack` didn't halt then you need to stop then by the process id or `pid`.



## Example "in a nutshell"
Expand Down Expand Up @@ -271,11 +278,6 @@ The frontend consists of four pages:
- `Cards on DAppChain` - where you can see the cards that have been transfered to the DAppChain from
your Mainnet account.

### Troubleshooting

* Sometimes when run `./transfer_gateway start` and a message like `Ganache port 8545 is already in use` appears it's because the service `ganache` is running (obvious), however if you never ran `./transfer_gateway start` then it's because another agent started `ganache` and this example starts it self `ganache` version.

* In order to `stop all` services (used by cards-gateway-example) you should run `./transfer_gateway stop`, however if services like `ganache` or `webpack` didn't halt then you need to stop then by the process id or `pid`.

Loom Network
----
Expand Down
6 changes: 3 additions & 3 deletions webclient/src/components/main.js
Original file line number Diff line number Diff line change
Expand Up @@ -21,17 +21,17 @@ export default class Main extends React.Component {
<ul className="navbar-nav mr-auto">
<li className="nav-item">
<NavLink to="/eth_cards" activeClassName="active" className="nav-link">
Owned Cards
Ethereum Account
</NavLink>
</li>
<li className="nav-item">
<NavLink to="/gateway_cards" activeClassName="active" className="nav-link">
Cards on Gateway
Ethereum Gateway
</NavLink>
</li>
<li className="nav-item">
<NavLink to="/dappchain_cards" activeClassName="active" className="nav-link">
Cards on DappChain
DAppChain Account
</NavLink>
</li>
</ul>
Expand Down

0 comments on commit 6195a00

Please sign in to comment.