Skip to content
This repository has been archived by the owner on Jan 22, 2025. It is now read-only.

Commit

Permalink
Make private accounts description more accurate
Browse files Browse the repository at this point in the history
  • Loading branch information
aemil145 committed Apr 6, 2022
1 parent 777f32b commit c2f374d
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -294,7 +294,7 @@ Here are public Cudos nodes you can use to connect to Cudos network:
## Managing accounts
By default local Cudos node starts with 10 predefined accounts funded with `acudos`. You can set how many additional random accounts to load when starting a local node in `blast.config.js` under `additionalAccounts`. If any additional accounts are added, `customAccountBalances` field must be set for the amount of tokens that these accounts will be funded with. Predefined and additionally generated accounts are written in `{project_root}/accounts.json`. Another way to manage custom accounts is through `blast keys` command.
You can put your private accounts in `{project_root}/private-accounts.json` and add the file to `.gitignore` to prevent exposing them.
You can put your private accounts in `{project_root}/private-accounts.json`. Initializing a new project automatically adds this file to `.gitignore`. **Make sure you keep `private-accounts.json` in `.gitignore` in order to prevent accidentally committing and exposing your private accounts.**
### Listing local node accounts
Expand Down
4 changes: 2 additions & 2 deletions template/private-accounts.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"comment": "It is highly recommended to .gitignore this file",
"privateAccount": {
"comment": "It is highly recommended to keep this file in .gitignore to prevent committing and exposing your accounts",
"privateAccount1": {
"mnemonic": ""
}
}

0 comments on commit c2f374d

Please sign in to comment.