Current python script is designed to allow you create aptos-cli commands to add liquidity to huge amount of bins.
To create liquidity adding commands you should edit few variables in script:
- active_bin_id - active bin id of selected pool.
- liquidswap_cl_addr - address of liquidswap in selected network.
- coin_x, coin_y - paths to coin resources.
- bin_steps - bin step of selected pool.
- bin_slippage - price changes by how many bins will suit you.
- total_x - amount of coins X to add as liquidity.
- total_y - amount of coins Y to add as liquidity.
- start_left, end_left - range of bins for Y liquidity.
- start_right, end_right - range of bins for X liquidity.
python3 script.py