Skip to content

Update swap.js#7

Open
MithrandirBalrog wants to merge 1 commit intoCreator-Bid:mainfrom
MithrandirBalrog:MithrandirBalrog-patch-1-1
Open

Update swap.js#7
MithrandirBalrog wants to merge 1 commit intoCreator-Bid:mainfrom
MithrandirBalrog:MithrandirBalrog-patch-1-1

Conversation

@MithrandirBalrog
Copy link

Summary: Move token lists into a shared module so swap.js and balance.js cannot drift.
Why: Prevents mismatched token allowlists and improves safety.

Risk guardrails

node swap.js --from ETH --to USDC --amount 5 --max-balance-usage-pct 10 --execute
node swap.js --from ETH --to USDC --amount 0.5 --min-safe-eth-reserve 0.01 --execute

JSON output

node swap.js --from ETH --to USDC --amount 0.1 --json

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant