forked from ethereum/aleth
-
Notifications
You must be signed in to change notification settings - Fork 4
Name Registration API
Gav Wood edited this page Jul 29, 2014
·
1 revision
The interface has several calls and uses the 32-byte string method-name calling convention to differentiate between them.
All strings are assumed to be 32-bytes maximum length.
Registering a name is conducted with register
, you can remove an existing name you registered with unregister
. Calling the contract with a single argument returns the look up of that name/address.
-
"register" <name>
Associates the calling address with<name>
. If<name>
already exists this fails. If calling address already has a name attached, that name is unregistered first (and thus becomes free for others to register). -
"unregister"
Removes any name association from the calling address, freeing up any previously associated name for others to use. -
<address>
Returns the name associated with<address>
(if any). -
<name>
Returns the address associated with<name>
(if any).
- Building on Linux
- Building on MacOS
- Building on Windows
- Compatibility Info and Build Tips
- Serpent LLL Only Build
- LLL PoC 6
- [LLL Examples for PoC 6](LLL Examples for PoC 5)
- PoC 6 JS API
- Client Development with PoC 6
- MetaCoin API
- Exchange API
- Name Registration API
- Coins API