CLI
Eryx supports multiple CLI parameters that you can use to your advantage.
Parameter | Description | Accepts |
---|
--buy-only | Enables manual buy mode. This will only buy the token and then exit. | - |
--sell-only | Enables manual sell mode. This will only sell the token and then exit. | - |
--input | Overwrites the input parameter in the config. | contract address |
--output | Overwrites the output parameter in the config. | contract address |
--config | Used to specify a different config path (used for multi configs setup). | string |
--force-approve | Forces the approve transaction for the input/output. (used for debugging) | - |
--simulate | Simulate your current config as a real transaction. | - |
Parameter | Description | Accepts |
---|
--wrapped | Uses the wrapped version of the bnb/eth token. (available for all blockchains) | - |
--block-offset | Waits an amount of blocks before sending out the buy transaction. | number |
--spam | Sends an x amount of transactions at the same time. (spam buy) | number |
--amount_in | Used to specify the amount you wish to spend with your INPUT token. | number |
--amount_out | Used to specify the amount you wish to buy from your OUTPUT token. | number |
--min_liq | Used to specify the minimum liquidity before the bot starts to buy. | number |
Parameter | Description | Accepts |
---|
--verify-tax | Checks wether the taxes for buying / selling does not exceed the limits configured. | - |
--max-buy-tax | Sets the max allowed buy tax. | number |
--max-sell-tax | Sets the max allowed sell tax. | number |
Parameter | Description | Accepts |
---|
--gas-price | Sets the gas price. | number |
--gas-limit | Sets the gas limit. | number |
Slippage
Parameter | Description | Accepts |
---|
--buy-slippage | Sets the buy slippage. | number |
--sell-slippage | Sets the sell slippage. | number |
Parameter | Description | Accepts |
---|
--sell-with-multiplier | Enables the sell with multiplier autosell mode. | - |
--sell-multiplier | Sets the multiplier to sell at for the sell with multiplier mode. | number |
| | |
--sell-with-delay | Enables the sell with delay autosell mode. | - |
--sell-delay | Sets the delay to sell with for the sell with delay mode. | number |
| | |
--sell-on-loss | Enables the sell on loss autosell mode. | - |
--sl-minimum-multiplier | Sets the minimum multiplier for the sell on loss mode to start. | number |
--sl-percentage | Sets the percentage of the maximum impact on your multiplier. | number |
To use a CLI parameter, simply add the parameter at the end of the startup command.
node index.js --buy-only
If you want to use multiple parameters, add them after each other. The order does not matter.
node index.js --buy-only --spam=3