This repository contains the implementation of the Nautilus Wallet recurring payment script.
To install the required dependencies, run the following command:
npm install
To transpile the TypeScript code to JavaScript, use the TypeScript compiler (tsc). Run the following command:
tsc recurring_payment_script.ts
This will generate the JavaScript file recurring_payment_script.js
.
To execute the recurring payment script, run the following command:
node recurring_payment_script.js
Run the ESLint command with the --fix flag followed by the file or directory you want to lint and fix.
npx eslint --fix *.ts
Run this command to run prettier.
npm run format
Make the shell script executable by running the following command:
chmod +x setup_cron.sh
Now you can execute the shell script to set up the cron job by running:
./setup_cron.sh