Skip to content

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