├── .gitignore
└── README.md
/.gitignore:
--------------------------------------------------------------------------------
1 | # Generated by Cargo
2 | # will have compiled files and executables
3 | /target/
4 |
5 | # Remove Cargo.lock from gitignore if creating an executable, leave it for libraries
6 | # More information here https://doc.rust-lang.org/cargo/guide/cargo-toml-vs-cargo-lock.html
7 | Cargo.lock
8 |
9 | # These are backup files generated by rustfmt
10 | **/*.rs.bk
11 |
--------------------------------------------------------------------------------
/README.md:
--------------------------------------------------------------------------------
1 | ### Read this intro : https://medium.com/@tsarbuig/a-world-premiere-sniperv3-rust-bot-6b5b0668c4c8
2 |
3 |
4 |
5 |
6 |
7 |
8 |
9 |
10 |
11 | # How can I buy it?
12 | Join our Telegram channel for more infos: https://t.me/LimitSwap
13 |
14 |
15 |
16 | # Bot configuration
17 |
18 | #### BUY / SELL PARAMETERS
19 | ```toml
20 | [parameters]
21 | # Available values: uniswap / pancakeswap / uniswaptestnet / pancakeswaptestnet
22 | exchange = "uniswap"
23 | api_key = "" # Create an account on Etherscan or BSCscan, get your API key in your account settings, and enter it here
24 |
25 | [parameters.buy_amount]
26 | kind = "base" # enter "base" to buy a fixed amount of ETH/BNB / or "tokens" to buy a fixed amount of tokens
27 | in_base = "0.001" # used if kind == base --> enter the ETH/BNB buy amount you want to use
28 | in_tokens = "200000000000000000" # used if kind == tokens --> enter the amount of tokens you want to buy. READ CAREFULLY : this amount will be divided by tokens decimals --> 2000000000000000000 = 2 tokens if decimals = 18
29 | amount_of_spam_tx = 1 # number of txs to send in a row, to be sure not to frontrun liquidity. If you use custom contract, only 1 tx will succeed.
30 |
31 | # Sells automatically `amount`% of tokens after `profit`% of profit if the current gas price is less than `max_gas`.
32 | [parameters.auto_sell]
33 | enabled = false
34 | profit = 200 # percentage points; automatically sell the token when price has reached buyprice * this value
35 | amount = 100 # percentage points out of 100; sell this amount of tokens
36 | max_gas = 100 # gwei
37 |
38 | [parameters.custom_contract]
39 | enabled = false
40 | address = "" # Enter here the contract address that you got after deploying the contract
41 | same_tx_buys = 1 # number of buys to do in the each transaction
42 | use_multiple_wallets = false # set to false to use the main wallet (trading_address) or to true to use the following wallets as recipients.
43 | wallets = [
44 | "0x1111111111111111111111111111111111111111",
45 | "0x2222222222222222222222222222222222222222",
46 | ]
47 | ```
48 |
49 |
50 |
51 |
52 | # Examples of Tx with MULTIBUY modes (with custom contract only)
53 |
54 | ```toml
55 | // Send 5 buys made in tokens to your trading wallet
56 | KIND_OF_SWAP = "base"
57 | in_base = "0.0001"
58 | amount_of_spam_tx = 5
59 | use_multiple_wallets = false
60 | ```
61 |
62 |
63 |
64 | ```toml
65 | // Send 5 buys made in WBNB to your trading wallet
66 | KIND_OF_SWAP = "tokens"
67 | in_base = "1000"
68 | amount_of_spam_tx = 5
69 | use_multiple_wallets = false
70 | ```
71 |
72 |
73 |
74 | ```toml
75 | // Send 3 buys made in WBNB to 3 different wallets
76 | KIND_OF_SWAP = "base"
77 | in_base = "0.0001"
78 | same_tx_buys = 3
79 | use_multiple_wallets = true
80 | wallets = ["0x200E4Fe41faF92C96bd74c711738Ad550175A779", "0x5aa376af6a5d99d051c3f994de26bb5ae234da26", "0xf62803b9f8a146d07b993ad08bda8de91dde8690"],
81 | ```
82 | 
83 |
84 |
85 | ```toml
86 | // Sent 3 buys made in tokens to 3 different wallets
87 | KIND_OF_SWAP = "tokens"
88 | in_tokens = "1000000000000000000000"
89 | same_tx_buys = 3
90 | use_multiple_wallets = true
91 | wallets = ["0x200E4Fe41faF92C96bd74c711738Ad550175A779", "0x5aa376af6a5d99d051c3f994de26bb5ae234da26", "0xf62803b9f8a146d07b993ad08bda8de91dde8690"],
92 | ```
93 | 
94 |
95 |
96 |
97 | Example :
98 | 
99 |
100 |
--------------------------------------------------------------------------------