Skip to content

Golang tool to generate identicons for Stellar wallets - unique icons, generated based on the wallet public key.

License

Notifications You must be signed in to change notification settings

StellarCN/stellar-identicon-go

Repository files navigation

Stellar Identicon Generator (Golang)

The go implementation of SEP-0033, which you can use to generate identicons for Stellar wallets - unique icons, generated based on the wallet public key.

You can also access online API through Stellar Identicon Generate API (source).

Install

go get -u github.com/StellarCN/stellar-identicon-go

Usage

import identicon "github.com/StellarCN/stellar-identicon-go"

func main() {
publicKey := "GAQL4ZLRIJBGSCXE6XC4XPZ5W6FGCJHXLAMB4M7ZQ52HFPDTL6GSVP4W"
img, err := identicon.Generate(publicKey, identicon.Width, identicon.Height)
if err != nil {

}

Thanks

This project was inspired by LOBSTR.

About

Golang tool to generate identicons for Stellar wallets - unique icons, generated based on the wallet public key.

Topics

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Languages