Skip to content

Hide duplicate native USDC balance on Arc in Splits Kit - #99

Closed
eltontay-circle wants to merge 1 commit into
0xSplits:mainfrom
eltontay-circle:arc-hide-native-usdc
Closed

eltontay-circle wants to merge 1 commit into
0xSplits:mainfrom
eltontay-circle:arc-hide-native-usdc

Conversation

@eltontay-circle

Copy link
Copy Markdown

On Arc, USDC is the native gas token. The native balance (18 decimals) and the USDC ERC20 at 0x3600000000000000000000000000000000000000 (6 decimals) are the same funds, so SplitBalances shows USDC twice for one balance. Distributing either row pays out the same funds. I mentioned this in 0xSplits/splits-lite#166.

This adds an optional erc20Address to a chain's nativeCurrency in CHAIN_INFO, set for Arc and Arc Testnet. When a Split's balances include that ERC20, SplitBalances hides the native row. If the token list doesn't include USDC, the native row still shows. Other chains are unchanged.

One limit: the native row also includes native USDC the Split holds in the Warehouse, so that part is hidden too. That only happens when another Pull Split pays this Split in native USDC. Happy to handle it differently if you prefer.

Tested with Split 0x557548d99010d9ffa4144ab164661fa02b883381 on Arc Testnet, which holds 10 USDC:

  • Before: 10 USDC (native) and 10 USDC (0x3600…)
  • After: 10 USDC (0x3600…)

pnpm run lerna-build, ESLint and Prettier pass. Splits Lite picks this up after the next splits-kit release.

@pr-sla-bot

pr-sla-bot Bot commented Oct 20, 2026

Copy link
Copy Markdown

This pull request has been inactive for 5 days, closing. If you are still working on this you can reopen.

@pr-sla-bot pr-sla-bot Bot closed this Oct 20, 2026
@eltontay-circle

Copy link
Copy Markdown
Author

For splits team to review

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