Browse Source

Update README, .env
Remove Docker

OneRobotBoii 1 năm trước cách đây
mục cha
commit
37d78cb999
4 tập tin đã thay đổi với 9 bổ sung38 xóa
  1. 0 14
      .dockerignore
  2. 0 1
      .env.copy
  3. 0 23
      Dockerfile
  4. 9 0
      README.md

+ 0 - 14
.dockerignore

@@ -1,14 +0,0 @@
-# Ignore node_modules folder
-node_modules/
-
-# Ignore npm debug log
-npm-debug.log
-
-# Ignore yarn debug log
-yarn-debug.log
-
-# Ignore yarn error log
-yarn-error.log
-
-# Ignore .env file
-.env

+ 0 - 1
.env.copy

@@ -6,6 +6,5 @@ QUOTE_AMOUNT=0.1
 COMMITMENT_LEVEL=finalized
 USE_SNIPE_LIST=false
 SNIPE_LIST_REFRESH_INTERVAL=30000
-DISCORD_WEBHOOK=https://discord.com/api/webhooks/ex/am/ple
 AUTO_SELL=false
 SELL_DELAY=2000

+ 0 - 23
Dockerfile

@@ -1,23 +0,0 @@
-# Use node.js as base image
-FROM node:latest
-
-# Set the working directory
-WORKDIR /usr/src/app
-
-# Copy package.json and package-lock.json to the working directory
-COPY package*.json ./
-
-# Install the dependencies
-RUN npm install
-
-# Copy the source code to the working directory (except the files in .dockerignore)
-COPY . .
-
-# Copy the .env.copy file to .env
-RUN cp .env.copy .env
-
-# Expose the port
-EXPOSE 3000
-
-# Start the application
-CMD ["npm", "run", "buy"]

+ 9 - 0
README.md

@@ -40,6 +40,15 @@ You can update the list while script is running. Script will check for new value
 Pool must not exist before the script starts.
 It will buy only when new pool is open for trading. If you want to buy token that will be launched in the future, make sure that script is running before the launch.
 
+## Auto Sell
+By default, auto sell is disabled. If you want to enable it, you need to:
+- Change variable `AUTO_SELL` to `true`
+- Update `SELL_DELAY` to the number of milliseconds you want to wait before selling the token
+
+This will sell the token after the specified delay. (+- RPC node speed)
+
+This feature is **experimental** and should be used with caution. Make sure you understand the risks before enabling it. There is no guarantee that the token will be sold at a profit or even sold at all. The developer is not responsible for any losses incurred by using this feature.
+
 ## Common issues
 If you have an error which is not listed here, please create a new issue in this repository.