Closed the-frey closed 2 years ago
Maybe this works together with #41 in that you're actually reifying a different type of edge
This is achieved in the first instance by a contract with funds calling the nameservice and assigning itself a name.
In the meta, is_contract
or similar should be set.
Building on #29
Contracts need to be able to be assigned names. However, this is sort of by proxy, as obviously the logic around signer etc won't quite hold. So it needs probably a different path rather than the mint-by-owner path, although the logic will be broadly the same.
The difficulty will be that you could mint a name for somebody else's address given that you can't ensure it is a contract. Or can you? Maybe you could call a WASM message against it to check it's a contract, in the tx?