Add fxusd skill for fxSAVE shortcut flow#243
Open
huwangtao123 wants to merge 1 commit intoBankrBot:mainfrom
Open
Add fxusd skill for fxSAVE shortcut flow#243huwangtao123 wants to merge 1 commit intoBankrBot:mainfrom
huwangtao123 wants to merge 1 commit intoBankrBot:mainfrom
Conversation
Author
|
Adding a bit more context here: This skill is intended to be the starting point for a broader collection of The initial version focuses on the most obvious Base user flow:
But the direction is larger than that. The goal is to make
In short: this PR adds the first public shortcut skill, but the broader vision is an |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Summary
fxusdskill for minting and redeeming BasefxSAVEhttps://fxsave.up.railway.appWhat the skill does
The skill shortcuts the manual cross-chain flow for
fxSAVEon Base.Instead of manually thinking through:
it lets the user or agent work at the shortcut level:
fxSAVEfromfxUSD,USDC, orWETHfxSAVEback into Base assetsExample use cases
Deposit 10 fxUSD to fxSAVEDeposit 100 USDC to fxSAVERedeem 50% of my fxSAVE to fxUSDPreview the route to mint fxSAVE from 1 WETHValidation
I tested the public Railway backend directly with the bundled CLI helper:
python3 fxusd/scripts/fxusd_cli.py mint --from-address 0x241e25c9d15b5E7FB007B5E028C4ce8694893870 --amount 1 --source-token fxUSDpython3 fxusd/scripts/fxusd_cli.py redeem --from-address 0x241e25c9d15b5E7FB007B5E028C4ce8694893870 --amount 1 --target-token USDCBoth returned:
200bundle responses200approval responses