Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Domains transfer tutorial #154

Merged
merged 4 commits into from
Apr 4, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
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.
Loading