This tool allows you to withdraw your assets and repay your debts on Astrol.
Important: Before anything, you need to push the price to the on-chain price account of the corresponding oracle. For tETH, the oracle is Switchboard. For all other assets, the oracle is Pyth.
How to crank the feed:
Note: After cranking the feed, you have a 1 minute window to complete your withdrawal.
Example: tETH token using Switchboard oracle
For all other tokens (Pyth oracle):
id.json in the same directory as your downloaded files
docker-compose.yml, price-config.yaml, and
id.json) are in the same directorydocker-compose up
{"level":30,"time":1766522377317,"module":"Controller","priceIds":[...],"msg":"Some of the checks triggered pushing update. Will push the updates for some feeds."}
Retrying transaction 0 of 5 with signature: ...
{"level":30,"time":1766522384815,"module":"SolanaPricePusher","signatures":[...],"msg":"updatePriceFeed successful"}
id.json fileℹ️ Important Note: You may need to do both price pushes (Switchboard AND Pyth) to finalize using the web app if you receive an error.
How to use:
⚠️ Important: Repay Debts First
You must first repay all your debts before you can withdraw your deposits. Make sure to click "Repay All" for any assets you owe before attempting to withdraw.
ℹ️ Troubleshooting Errors
If you encounter errors while using this tool, please refer back to this guide to ensure you're following all steps correctly. If you're doing everything correctly and still experiencing issues, try again later as the issue may be temporary.