Skip to content

Commit

Permalink
Merge pull request #154 from Yung-Beef/patch-78
Browse files Browse the repository at this point in the history
Domains transfer tutorial
  • Loading branch information
olehmell authored Apr 4, 2024
2 parents c2dadd0 + 2ea397f commit 36b6279
Show file tree
Hide file tree
Showing 5 changed files with 31 additions and 5 deletions.
36 changes: 31 additions & 5 deletions docs/tutorials/Usernames.md
Original file line number Diff line number Diff line change
Expand Up @@ -71,9 +71,35 @@ Each account can register up to 100 usernames for themselves, but you can regist
No, at the moment, **all SUB locked to register usernames will remain locked forever**.
However, the ability to unregister usernames may be added in the future.

### Can I buy and sell usernames?
For now, you can only register new usernames, but we are planning to allow trading in the future.
In this way, Subsocial usernames will result in a username marketplace. 
If you transfer a username, your locked SUB will be moved to the recipient account and locked there.

### How do I transfer a username to another account?
While there is not yet an official UI for transfering usernames, it can be done through
the [Polkadot.js apps](https://polkadot.js.org/apps/?rpc=wss%3A%2F%2Fsubsocial-rpc.dwellir.com#/extrinsics) page.

In the first section, select the account that currently owns the username that you want to transfer.

Next, select the "ownership" pallet and the "transferOwnership" extrinsic.

![](../../../static/img/GetSUB/domaintransfer1.png)

Set the entity to "Domain" (Usernames are known as Domains on the blockchain) and enter the full username below.

Finally, enter the address of the account to transfer the username to.

### What are the future plans?
We have plans to work with many other projects to build great integrations for our username technology.
Submit and sign the transaction.

![](../../../static/img/GetSUB/domaintransfer2.png)

The recipient will need to accept the transfer in a similar manner, selecting the account that the username was transferred to, and the "ownership" pallet,
but now using the "acceptPendingOwnership" extrinsic. Again, set the entity to "Domain" and enter the full username,
and then sign and submit the transaction.

![](../../../static/img/GetSUB/domaintransfer3.png)

If you do not want to accept a transfer, you can instead use the "rejectPendingOwnership" extrinsic, which will send the username back to the original owner.

![](../../../static/img/GetSUB/domaintransfer4.png)

### Can I buy and sell usernames?
At the moment there is no marketplace for trading usernames.
Binary file added static/img/domaintransfer1.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added static/img/domaintransfer2.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added static/img/domaintransfer3.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added static/img/domaintransfer4.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.

0 comments on commit 36b6279

Please sign in to comment.