You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: docs/tools/dApp-development/launchpad/common-pitfalls.md
+1-1Lines changed: 1 addition & 1 deletion
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -2,7 +2,7 @@
2
2
3
3
Every time the dev environment starts, a new local test chain is started. Metamask maintains a cache of "latest block number" and "account transaction nonce". Since every run of `dev` creates a new chain, it never matches with this cache.
4
4
5
-
To know how to clear the cache, [read this](https://support.metamask.io/hc/en-us/articles/360015488891-How-to-clear-your-account-activity-reset-account).
5
+
To clear the cache, follow the [MetaMask documentation](https://support.metamask.io/hc/en-us/articles/360015488891-How-to-clear-your-account-activity-reset-account).
6
6
7
7
## MetaMask transactions fail with a nonce error when using the **reset on change** option in dev environment
Copy file name to clipboardExpand all lines: docs/tools/dApp-development/launchpad/smart-contracts.md
+4-6Lines changed: 4 additions & 6 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -20,7 +20,7 @@ For all available options run:
20
20
dapp-launchpad dev -h
21
21
```
22
22
23
-
Internally, the `dev` command runs the `scripts/deploy_localhost` script that deploys all contracts in the correct sequence.
23
+
Internally, the [`dev`](commands.md#dev) command runs the `scripts/deploy_localhost` script that deploys all contracts in the correct sequence.
24
24
25
25
!!! warning
26
26
When working on your own smart contracts, make sure to update this script.
@@ -29,19 +29,17 @@ Internally, the `dev` command runs the `scripts/deploy_localhost` script that de
29
29
30
30
Optionally, you can enable a local blockchain explorer, which auto-indexes all transactions, and provides a feature-loaded dashboard with an overview of the chain.
31
31
32
-
To use it, run the `[dev]()` command with `-e`.
32
+
To use it, run the [`dev`](commands.md#dev) command with `-e`.
33
33
34
34
!!! info "Setting up an explorer"
35
35
- Sign up on [Ethernal](https://app.tryethernal.com/), and create a workspace.
36
36
- Then, add your login email, password, and workspace details in the `.env` file in the `smart-contracts` directly.
37
37
38
-
The above config can also be mentioned with [`dev`]() command params `--ethernal-login-email`, `--ethernal-login-password` and `--ethernal-workspace`, which override the preset environment variables.
39
-
40
-
Once started, you can access the chain explorer at the same URL as mentioned before.
38
+
The above config can also be mentioned with [`dev`](commands.md#dev) command params `--ethernal-login-email`, `--ethernal-login-password` and `--ethernal-workspace`, which override the preset environment variables.
41
39
42
40
## Deploying to production
43
41
44
-
The [`deploy`]() command automates deploying to any EVM compatible chain. It runs the provided `scripts/deploy_prod` script to deploy all contracts in the correct sequence. When working on your own smart contracts, make sure to update this script.
42
+
The [`deploy`](commands.md#deploy) command automates deploying to any EVM compatible chain. It runs the provided `scripts/deploy_prod` script to deploy all contracts in the correct sequence. When working on your own smart contracts, make sure to update this script.
0 commit comments