34 lines
868 B
Go
34 lines
868 B
Go
package server
|
|
|
|
type NetworkInfo struct {
|
|
Network string
|
|
Asset string
|
|
Extra map[string]any
|
|
}
|
|
|
|
// NetworkRegistry maps human-readable names (slugs) to their full configuration parameters.
|
|
var NetworkRegistry = map[string]NetworkInfo{
|
|
"base": {
|
|
Network: "eip155:8453",
|
|
Asset: "0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913",
|
|
},
|
|
"sepolia": {
|
|
Network: "eip155:84532",
|
|
Asset: "0x036CbD53842c5426634e7929541eC2318f3dCF7e",
|
|
},
|
|
"polygon": {
|
|
Network: "eip155:137",
|
|
Asset: "0x3c499c542cEF5E3811e1192ce70d8cC03d5c3359",
|
|
},
|
|
"arbitrum": {
|
|
Network: "eip155:42161",
|
|
Asset: "0xaf88d065e77c8cC2239327C5EDb3A432268e5831",
|
|
},
|
|
"solana": {
|
|
Network: "solana:5eykt4UsFv8P8NJdTREpY1vzqKqZKvdp",
|
|
Asset: "EPjFWdd5AufqSSqeM2qN1xzybapC8G4wEGGkZwyTDt1v",
|
|
Extra: map[string]any{
|
|
"feePayer": "BENrLoUbndxoNMUS5JXApGMtNykLjFXXixMtpDwDR9SP",
|
|
},
|
|
},
|
|
}
|