- Enable polygon,plasma supports

- Fix network select
- Fix store evm address logic
This commit is contained in:
line-6000
2026-04-15 18:36:50 +08:00
parent 3e88d7a40c
commit f7c5f678c4
5 changed files with 200 additions and 136 deletions
+2 -2
View File
@@ -9,8 +9,8 @@ func Start() {
log.Sugar.Info("[task] Starting task scheduler...")
go StartEthereumWebSocketListener()
go StartBscWebSocketListener()
//go StartPolygonWebSocketListener()
//go StartPlasmaWebSocketListener()
go StartPolygonWebSocketListener()
go StartPlasmaWebSocketListener()
c := cron.New()
// trc20钱包监听
+1 -1
View File
@@ -50,7 +50,7 @@ func StartPolygonWebSocketListener() {
storePolygonRecipientsFromWallets(w)
}
}()
wsURL := "wss://polygon-bor-ws.publicnode.com"
wsURL := "wss://polygon-bor-rpc.publicnode.com"
query := ethereum.FilterQuery{
Addresses: []common.Address{
polygonUsdtContract,