Important
The testnet wrapped up on April 4th. This tool is no longer necessary for interacting with the testnet.
SingularityFinance Script (SFIS) is designed for interacting with testnets in order to participate in airdrop events. This script automates essential tasks like token wrapping, unwrapping, staking, unstaking, and bridging, allowing you to efficiently manage your testnet assets and increase your chances of qualifying for airdrops. By running the script, you can perform routine actions required by various projects on supported testnets, and potentially earn rewards in the form of airdrops.
git clone https://github.com/ddatnee/sfis.git
cd sfis
Make sure you have pip installed, then install the required Python libraries from the requirements.txt file:
pip install -r requirements.txt
To initialize the configuration, run the following command:
python3 sfis.py -i
Welcome to the configuration setup!
This setup will guide you through the process of entering amounts for wrapping, unwrapping, staking, unstaking and bridging tokens.
Enter your wrap amount >
Enter your unwrap amount >
Enter your stake amount >
Enter your unstake amount >
Enter your bridge amount >
Selecting default primary token: wsfi
Select the secondary token (aimm/usdc) >
Enter swap amount for wsfi -> aimm >
Enter liquidity amount for wsfi -> aimm >
Enter slippage for wsfi -> aimm (Eg. 2% = 0.02) >
Enter percentage of liquidity to remove for wsfi -> aimm (Eg. 20% = 0.2) >
Enter the travel destination address (Leaves empty to use default) >
Enter travel amount >
Setup complete. You can run the script now.
Alternatively, if you wish to use pre-defined values, you can initialize with the -a flag:
python3 sfis.py -i -a
Setup complete. You can run the script now.
Once the configuration is set up, you can run the script with your private key or a private key file:
- Using your private key directly:
python3 sfis.py -pk <your-private-key>
- Using a private key file:
python3 sfis.py -f <path-to-private-key-file>
- Daily Tasks: The script will perform daily operations, such as (un)staking, (un)wrapping, swapping and bridging tokens.
- Bridging Task:
The bridging task requires waiting for Layer 1 (L1) confirmation. After running the script for the first time, please allow for a 1-hour wait before re-running the script with theDisabled.-P
and-F
flags to prove and finalize the bridging process.
python3 sfis.py ... -P
python3 sfis.py ... -F
We welcome contributions to enhance the functionality of this script! If you have ideas for new features or improvements, feel free to fork the repository and submit a pull request. To Contribute:
- Fork the repository.
- Create a new branch for your changes.
- Write tests to verify your changes.
- Submit a pull request with a description of your changes.
This project is licensed under the CC BY-NC 4.0 License. See the LICENSE file for more details.
For any questions or support, feel free to reach out at [email protected].