Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Latest commit

 

History

History

Folders and files

NameName
Last commit message
Last commit date

parent directory

..
 
 
 
 
 
 
 
 
 
 

README.md

Ergo Names Scala SDK

Documentation

Now we can import the package.

import ergonames.Sdk.ErgoNamesSdk._

To resolve an address from an ErgoName use the resolve_ergoname() function.

val name = "~balb" 
val address = ergonames.resolveErgoname(name)

This function will either return a String or a null object.

Example result:

3WwKzFjZGrtKAV7qSCoJsZK9iJhLLrUa3uwd4yw52bVtDVv6j5TL