Open 0xmilktea opened 5 months ago
Assets on BSC Bnb: native Btcb: https://bscscan.com/token/0x7130d2a12b9bcbfae4f2634d864a1ee1ce3ead9c Eth: https://bscscan.com/token/0x2170ed0880ac9a755fd29b2688956bd959f933f8 Bnusd
XCall, AssetManager, bnUSD https://github.com/balancednetwork/balanced-java-contracts/wiki/Contract-Addresses#bsc https://github.com/icon-project/xcall-multi/wiki/xCall-Deployment-Info#bsc
FROM_SOURCES
and TO_SOURCES
in xChains.ts wagmiConfig
, coreConfig
, CHAINS
)WalletUIs
MapwalletConfig
in app/components/WalletModal/index.tsxapps/web/src/app/pages/trade/bridge/_xcall
create PublicXService class of the new chain if it's not made yet.
create WalletXService class of the new chain if it's not made yet.
apps/web/src/app/pages/trade/bridge/_zustand/useXServiceStore.tsx
update useCreatePublicXService
create PublicXService instance of the new chain
update useCreateWalletXService
create WalletXService instance of the new chain
Preparation:
Todo:
Problems: