18 lines
315 B
Go
18 lines
315 B
Go
package main
|
|
|
|
import (
|
|
"encoding/hex"
|
|
"fmt"
|
|
|
|
"github.com/status-im/status-go/protocol/transport"
|
|
)
|
|
|
|
func main() {
|
|
for i := 0; i < 5001; i++ {
|
|
topic := fmt.Sprintf("contact-discovery-%d", i)
|
|
topicBytes := "0x" + hex.EncodeToString(transport.ToTopic(topic))
|
|
|
|
fmt.Printf("%s - %s\n", topic, topicBytes)
|
|
}
|
|
}
|