예제 #1
0
// Convert Entry Credit Private key
func ConvertECPrivateToUserStr(addr interfaces.IAddress) string {
	userd := ConvertAddressToUser(EntryCreditPrivatePrefix, addr)
	return base58.Encode(userd)
}
예제 #2
0
파일: util.go 프로젝트: conseweb/factoid
// Convert Entry Credits
func ConvertECAddressToUserStr(addr IAddress) string {
	userd := ConvertAddressToUser(EntryCreditPrefix, addr)
	return base58.Encode(userd)
}
예제 #3
0
// Convert Factoid Private Key
func ConvertFctPrivateToUserStr(addr interfaces.IAddress) string {
	userd := ConvertAddressToUser(FactoidPrivatePrefix, addr)
	return base58.Encode(userd)
}
예제 #4
0
파일: util.go 프로젝트: conseweb/factoid
// Convert Factoid Addresses
func ConvertFctAddressToUserStr(addr IAddress) string {
	userd := ConvertAddressToUser(FactoidPrefix, addr)
	return base58.Encode(userd)
}