Skip to content

Commit e8d8787

Browse files
Update README.md
Added some additional recommendations around the security of the .env file and the private key used in the bot.
1 parent bfb1b19 commit e8d8787

File tree

1 file changed

+5
-0
lines changed

1 file changed

+5
-0
lines changed

README.md

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -16,8 +16,13 @@ yarn install
1616
## Configure
1717
1. Create an `.env` file at the project root. See `.env-example`.
1818
Private key can be obtained from Phantom via Settings -> Export Private Key.
19+
20+
As the private key is stored in the .env file it is important to secure access to this file (on top of severly limiting funds stored on this wallet). Remove other/group access as a starting point to this file to only allow the owner and root user to be able to read the file (chmod 600 .env), use a secure password for the user for accessing the server it runs on and follow other best practices to reduce risk here including frequently moving swapped dca tokens to a hardware backed wallet.
21+
1922
2. Create your own `dcaconfig.ts`. See `dcaconfig-example.ts` for a template.
2023

24+
Remove the entires you do not need from the sample file. Always start with a very small amount to see it is doing what is expected before you test further. Use at your own risk.
25+
2126
To see example cron expressions, check out [crontab.guru](https://crontab.guru/).
2227
Note: the minimum interval is one minute.
2328
## Run

0 commit comments

Comments
 (0)