See factom.js implementation for sample: https://github.com/PaulBernier/factomjs At the least, linking to: https://godoc.org/github.com/FactomProject/factomd