Token Bound Accounts (ERC-6551)
Buns, and the SankoPets universe as a whole, integrate ERC-6551 — a token standard that enables ERC-721 NFTs to possess token bound accounts. This means that, in addition to its various traits and abilities, each Bun has its own wallet that can own assets and interact with applications. Essentially, it's an NFT that has the same rights as a user.

Each Bun has a wallet that can own ERC-20 or ERC-721 tokens. Buns hatch with 10 SankoGold, the ERC-20 token of the SankoPets economy. SankoGold can be withdrawn from Buns by clicking the "Withdraw" button in the SankoDex interface; it can also be sent to the wallet of any Bun of your choosing by sending it to its wallet address. The various fruits, clothing, and items Buns can own are all ERC-721 tokens that can also be withdrawn from and sent to any other Bun or Sanko Mainnet user.
Whenever a Bun is bought or sold, the new owner of that Bun gains control of that Bun's wallet as well. Because of this, the contents of a particular Bun's wallet (gold, farm, accessories, etc.) may have an affect on that Bun's perceived value.
Last updated