Skip to content

Commit

Permalink
minor tweaks
Browse files Browse the repository at this point in the history
  • Loading branch information
technophile-04 committed Dec 12, 2024
1 parent 32333eb commit f43849c
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions docs/deploying/deploy-smart-contracts.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -86,11 +86,11 @@ You will get prompted to paste your private key and set the encryption password.
<TabItem value="foundry" label="Foundry">
```

It will automatically generate a new keystore under the name `scaffold-eth-custom`.
It will automatically generate a new [keystore](https://book.getfoundry.sh/reference/cli/cast/wallet#cast-wallet) with the name `scaffold-eth-custom`.

You will be prompted to enter a password which will be used to encrypt your keystore. **Make sure to remember this password as you'll need it for future deployments and account queries.**

Now you'll need to open your `packages/foundry/.env` file, and update `ETH_KEYSTORE_ACCOUNT = scaffold-eth-custom` to start using the new keystore.
Now you'll need to open your `packages/foundry/.env` file, and update `ETH_KEYSTORE_ACCOUNT=scaffold-eth-custom` to start using the new keystore.

If you prefer to import your private key (you need to delete your `scaffold-eth-custom` keystore first, if exists), run:

Expand All @@ -100,7 +100,7 @@ yarn account:import

You will get prompted to paste your private key and set the encryption password. It will store your encrypted private key in the `scaffold-eth-custom` keystore file.

Also if you want to use your existing keystore account you can just update the `ETH_KEYSTORE_ACCOUNT` in your `.env` file, setting the name of your existing account.
Also if you want to use your existing keystore account you can just update the `ETH_KEYSTORE_ACCOUNT` in your `.env` file, setting the name of your existing keystore.

</TabItem>
</Tabs>
Expand Down

0 comments on commit f43849c

Please sign in to comment.