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: README.md
+5Lines changed: 5 additions & 0 deletions
Original file line number
Diff line number
Diff line change
@@ -16,8 +16,13 @@ yarn install
16
16
## Configure
17
17
1. Create an `.env` file at the project root. See `.env-example`.
18
18
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
+
19
22
2. Create your own `dcaconfig.ts`. See `dcaconfig-example.ts` for a template.
20
23
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
+
21
26
To see example cron expressions, check out [crontab.guru](https://crontab.guru/).
0 commit comments