🚀 How to generate specified Stellar account suffix

katopz
katopz
Sep 10, 2019 · 1 min read

Let’s get Stellar public key suffix as we want with Golang!

XCAT for CAT coin

TLDR;

  1. Install Golang with Homebrew
# Set path
export GOPATH="${HOME}/.go"
export GOROOT="$(brew --prefix golang)/libexec"
export PATH="$PATH:${GOPATH}/bin:${GOROOT}/bin"
test -d "${GOPATH}" || mkdir "${GOPATH}"
test -d "${GOPATH}/src/github.com" || mkdir -p "${GOPATH}/src/github.com"
# No brew? try this
/usr/bin/ruby -e "$(curl -fsSL https://raw.githubusercontent.com/Homebrew/install/master/install)"
# Now we brew
brew install go

2. Get the source

go get -u github.com/octofoxio/stress

3. Find public key that end with “XLOL”

stress -p XLOL
LOL coin! LOL

Done!

katopz

Written by

katopz

DLT & ML Debugger

Welcome to a place where words matter. On Medium, smart voices and original ideas take center stage - with no ads in sight. Watch
Follow all the topics you care about, and we’ll deliver the best stories for you to your homepage and inbox. Explore
Get unlimited access to the best stories on Medium — and support writers while you’re at it. Just $5/month. Upgrade