{
"title": "Character Bound Tokens",
"tags": [
"post",
"protocol",
"cbt"
],
"sources": [
"xlog"
],
"date_published": "2022-09-27T13:26:08.379Z",
"content": "*by @bcfh*\n\n## TL; DR\n\nCharacter-Bound Tokens are non-transferable NFTs that are bound to [characters](https://github.com/Crossbell-Box/Crossbell-Contracts/wiki/03-Detailed-Design#character), which present achievements and unique experiences that you complete or have on Crossbell.\n\n## What are Character-Bound Tokens(CBTs)\n\nThe concept of CBTs originates from Soulbound Tokens(SBT). SBTs are bound to souls(people's identities) and CBTs are bound to characters(users' identities). SBT is a new kind of token standard that was first introduced by Vitalik Buterin, and it's built for a kind of scenario where it doesn't really matter how much money you can bid for NFTs, but it matters what you've done and what you've accomplished(eg. driver's licenses, university degrees, or killing some extremely difficult monsters in multiplayer online games).\n\nCBTs serve the same purpose. Crossbell is an ownership platform served mainly for social activities, and every application wanting to issue credentials for user engagements or accomplishments should use CBTs standard. For example, [Crossbell.io](http://crossbell.io/) is an official application that runs on Crossbell chain, and its achievement NFTs are good examples of how CBTs can be used. Achievement NFTs celebrate and showcase users' journey on Crossbell by issuing erc1155 tokens to characters who completed specific requirements(like having enough followers or likes).\n\nBecause social activities on [crossbell.io](http://crossbell.io/) are initiated by characters as the main body, the CBTs are minted to characters and bound to them. Those achievements can't be sold or transferred alone unless you transfer the whole characters along with CBTs that are bound to them, which makes CBTs non-transferable in a way.\n\n## How do CBTs work\n\nCrossbell is social blockchain that is different from Ethereum or other public chains. On Ethereum, it's a common behavior for people to create multiple addresses representing different identities on a variety of occasions. For example, people might create new addresses specifically to interact with a Dex or a NFT project. It may be for asset safety reasons but it really brings a lot of trouble because you have to manage a lot of addresses their corresponding private keys and promise that they don't get leaked or fall into disorder. On Crossbell, you never have to keep multiple addresses and private keys, you just need to hold one address and one private key, because you can create multiple characters and use different characters to interact with different applications, which brings native advantages for Crossbell to support non-transferable feature.\n\nWhen issuing, CBTs are minted to characters so they are bound to characters and they’re belonging to characters. Transfer functions are limited so you can’t transfer CBTs unless you transfer the whole characters.\n\n```jsx\nfunction safeTransferFrom(\n address,\n address,\n uint256,\n uint256,\n bytes memory\n ) external virtual override {\n revert(\"non-transferable\");\n }\n\n /**\n * @dev See {IERC1155-safeBatchTransferFrom}.\n */\n function safeBatchTransferFrom(\n address,\n address,\n uint256[] memory,\n uint256[] memory,\n bytes memory\n ) external virtual override {\n revert(\"non-transferable\");\n }\n```\n\nAs shown above, when transfer functions are called, it reverts with an error message: non-transferable.\n\n## Closing thoughts\n\nThe concept of Non-transferable Tokens is trending, but there are still many unexplored aspects that need to be considered carefully in the process of implementation, but we at Crossbell would like to be pioneers and gradually refine and popularize this concept during practice."
}