Skip to content

Reverse records ​

A forward record answers "what address does founder.windpay point to?"

A reverse record answers the opposite: "what name does this address go by?" It is what makes the explorer show a name instead of raw hex next to an address.

The two are set separately. Registering a name does not give you a reverse record — this is the step people miss.

Setting one ​

solidity
function setName(string name_) external returns (bytes32);

On ReverseRegistrar at 0x1e635975425E52Ac92B33E4FbF5660B086FA44a2.

Send it from the address being named, and pass the full name

Two rules, both easy to get wrong:

  1. setName sets the caller's own record. There is no address parameter. It must be sent from the address you want named — not from a deployer, not from a hot wallet acting on its behalf.

  2. Pass the full name, yourname.windpay — not the bare label. This is the opposite of registerName, which takes the label only.

js
const reverse = new ethers.Contract(
  '0x1e635975425E52Ac92B33E4FbF5660B086FA44a2',
  ['function setName(string name_) returns (bytes32)'],
  wallet,                          // must be the address being named
)

await reverse.setName('mylabel.windpay')   // full name, including the suffix

For a contract ​

A contract cannot send a transaction, so it cannot call setName for itself unless it was written to. Most are not.

If you control a contract and want it named, the contract must expose a function that calls ReverseRegistrar.setName — typically owner-restricted. A contract without one cannot have a reverse record set after the fact.

Checking a reverse record ​

js
const reverse = new ethers.Contract(
  '0x1e635975425E52Ac92B33E4FbF5660B086FA44a2',
  ['function node(address addr) view returns (bytes32)'],
  provider,
)

const node = await reverse.node(address)   // the reverse node for this address

From there, read the name record from the resolver at that node. More simply: look the address up on explorer.windpay.org. If a name appears beside it, the reverse record is set.

Forward and reverse can disagree ​

Nothing forces them to match. You can set a reverse record naming yourself someone-elses-name.windpay without owning it, because the reverse registry records a claim by an address about itself.

So a displayed name is not proof of ownership. To verify, resolve the name forward and check it points back at the same address. A name that matches in both directions is genuine; one that only matches in reverse is unverified.

Do not trust a name alone for a payment

If you are sending anything of value, confirm the forward resolution independently. A reverse record is a self-assigned label, and anyone can assign themselves one.

Changing or removing ​

Call setName again with a different name to replace the record. There is no explicit delete.

Next step ​

Contract addresses — the full reference.

Verified 2026-10-22. setName(string) returns (bytes32) and node(address) view returns (bytes32) read from the ReverseRegistrar's verified ABI as published on the explorer; the contract is verified at 0x1e635975425E52Ac92B33E4FbF5660B086FA44a2. That setName takes no address parameter — and therefore acts on msg.sender — is visible directly in that ABI.

Figures on this site were read from the live chain. Each page names the getter or command used.