feat: add isAlias (#7)
This commit is contained in:
parent
a47b8fa2eb
commit
50e8f7eef0
|
@ -89,6 +89,11 @@ proc generateAlias*(pk: string): string =
|
|||
defer: go_shim.free(funcOut)
|
||||
return $funcOut
|
||||
|
||||
proc isAlias*(value: string): string =
|
||||
var funcOut = go_shim.isAlias(value)
|
||||
defer: go_shim.free(funcOut)
|
||||
return $funcOut
|
||||
|
||||
proc identicon*(pk: string): string =
|
||||
var funcOut = go_shim.identicon(pk)
|
||||
defer: go_shim.free(funcOut)
|
||||
|
|
|
@ -35,6 +35,8 @@ proc sendTransaction*(jsonArgs: cstring, password: cstring): cstring {.importc:
|
|||
|
||||
proc generateAlias*(pk: cstring): cstring {.importc: "GenerateAlias".}
|
||||
|
||||
proc isAlias*(value: cstring): cstring {.importc: "IsAlias".}
|
||||
|
||||
proc identicon*(pk: cstring): cstring {.importc: "Identicon".}
|
||||
|
||||
proc login*(accountData: cstring, password: cstring): cstring {.importc: "Login".}
|
||||
|
|
Loading…
Reference in New Issue