Namecoin

Loading...
# Namecoin
if !contract.storage[msg.data[0]]: # Is the key not yet taken?
    # Then take it!
    contract.storage[msg.data[0]] = msg.data[1]
    return(1)
else:
    return(0) // Otherwise do nothing

Serpent contract for Ethereum

Namecoin in Serpent

GitHub

Preferences

Note: Your changes won't be saved, because not Logged-in.

Create your own Contract