Some questions about domain name transfer

In what form should the signature be passed?

The signature should be a hash/bytes(32) - but it is also a named argument. So something like:

  stateful entrypoint signedTransfer(owner : address, new_owner : address, name : string, sign : signature) : unit =
    AENS.transfer(owner, new_owner, name, signature = sign)

I.e. signature = sign (where signature is the name of the argument). Also AENS.transfer takes a name (as a string) not a name hash to simplify things a bit.

2 Likes

Thank you for your brother