mirror of
https://github.com/GMWalletApp/epusdt.git
synced 2026-07-07 18:26:16 +00:00
feat: support ARC_WSS env var to override Arc WebSocket URL
This commit is contained in:
@@ -59,6 +59,17 @@ func buildSupportedAssets() ([]response.NetworkTokenSupport, error) {
|
||||
})
|
||||
}
|
||||
|
||||
// ARC testnet tokens are hardcoded until the chain is formally added to
|
||||
// the database. Show ARC in the list only if there is at least one active
|
||||
// wallet address for the network.
|
||||
arcWallets, err := data.GetAvailableWalletAddressByNetwork(mdb.NetworkArc)
|
||||
if err == nil && len(arcWallets) > 0 {
|
||||
supports = append(supports, response.NetworkTokenSupport{
|
||||
Network: mdb.NetworkArc,
|
||||
Tokens: []string{"EURC", "USDC"},
|
||||
})
|
||||
}
|
||||
|
||||
return supports, nil
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user