Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

fix: default_network_name > default_network #153

Merged
merged 1 commit into from
Nov 15, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion docs/source/all_moccasin_toml_parameters.rst
Original file line number Diff line number Diff line change
Expand Up @@ -47,7 +47,7 @@ All possible options
save_abi_path = "abis" # location to save ABIs from the explorer
cov_config = ".coveragerc" # coverage configuration file
dot_env = ".env" # environment variables file
default_network = "pyevm" # default network to use. `pyevm` is the local network. "eravm" is the local ZKSync network
default_network_name = "pyevm" # default network to use. `pyevm` is the local network. "eravm" is the local ZKSync network
db_path = ".deployments.db" # path to the deployments database

[networks.pyevm]
Expand Down
10 changes: 5 additions & 5 deletions docs/source/core_concepts/wallet.rst
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
Wallet
######

By default, you don't want to ever expose your private key in your scripts. You can use the `wallet` commands to manage your private keys and accounts.
By default, you don't want to ever expose your private key in your scripts. You can use the ``wallet`` commands to manage your private keys and accounts.

.. code-block:: bash

Expand All @@ -28,7 +28,7 @@ By default, you don't want to ever expose your private key in your scripts. You
Encrypting a private key
========================

You can encrypt a private key using the `wallet import ACCOUNT_NAME` command. This will create a keystore file in the default keystore directory. It will prompt you to enter your private key and password.
You can encrypt a private key using the ``wallet import ACCOUNT_NAME`` command. This will create a keystore file in the default keystore directory. It will prompt you to enter your private key and password.

.. code-block:: bash

Expand All @@ -38,7 +38,7 @@ You can encrypt a private key using the `wallet import ACCOUNT_NAME` command. Th
Importing private key...
Enter your private key: ...

Once you have an account, you can view it with the `wallet list` command.
Once you have an account, you can view it with the ``wallet list`` command.

.. code-block:: bash

Expand All @@ -48,11 +48,11 @@ Once you have an account, you can view it with the `wallet list` command.
Found 1 accounts:
my_account

This will encrypt your key and store it at `~/.moccasin/keystore/my_account.json`. You can view the contents of the keystore file with the `wallet inspect` command.
This will encrypt your key and store it at ``~/.moccasin/keystore/my_account.json``. You can view the contents of the keystore file with the ``wallet view`` command.

.. code-block:: bash

$ mox wallet inspect my_account
$ mox wallet view my_account
Running wallet command...
Keystore JSON for account my_account:
{
Expand Down
2 changes: 1 addition & 1 deletion uv.lock

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.