Assets can be migrated between networks on Tephra, or they can be ejected off the network entirely. When they are ejected, the Tephra address of the asset will maintain a link to the new asset in the platform that it was ejected to. In this case, Tephra continues to act as a sort of Certificate of Authenticity for the asset, allowing it to be traced back to its origin.
awaittephra.eject(assetAddress,fromUserId)// For example:// 1 - Create an asset.constasset=awaittephra.create()// 1 - Grant it to a user.constuser="f39cb85bec99"awaittephra.grant(asset,user)// 3 - Eject it from that user.awaittephra.eject(asset,user)
Once an asset has been ejected, the address is consumed and cannot be re-created, granted, or transferred. Be careful when ejecting assets. It has big implications for your platfrom and, as with all transactions, cannot be undone.