-
Notifications
You must be signed in to change notification settings - Fork 1
Gun Token
The GunClear tokens are ERC 721-compatible, non-fungible tokens uniquely representing firearms in GunClear's platform.
The tokenId is the sha256 hash of the firearm's serial number,
and a nonce representing the number of times the asset has been tokenized.
The nonce is an important concept as it allows firearm owners who loose access to their private keys for their
account to re-onboard their asset through the GunClear system after an internal claims process with GunClear.
The unique combination of the nonce and the firearm's serial number also allows the Owner to pseudo-anonymize
their firearm as a hash, making it more difficult to link the tokenId to a specific firearm,
and therefore to a specific owner.
This nonce is computed privately within the GunClear application so your serial number is never committed on-chain.
However, pseudo-anonymity is not perfect privacy.
GunClear may be able to know who originated the token's creation,
but thanks to the privacy aspects of the Gunero child chain, we cannot know who owns it at any point in time!
The minting process is controlled by the GunClear authority, only GunClear may mint tokens for it's users.
The minting process has GunClear generating the tokenId as described prior and transferring it to the control
of the mintee's account.
We will provide convenience batch transaction processing capabilities so that the minting and locking of multiple
tokens can be accomplished with no fees to the user.
This is an opt-in service we provide, and if the user desires to maintain ownership of their tokens, we will abide.
While it is possible for an owner to transfer a token they own (which isn't locked into the child chain), this is not the primary use case for which we designed for. It is however a perfectly valid use of the GunToken contract stemming from the properties of self-soverignity of the ownership certificate for the firearm, so we will note that it is possible trade your unlocked tokens freely.
The primary use case for the Token is to lock into the PlasmaRifle Manager contract.
Locking into this contract creates a signal the Gunero network listens for,
creating the first entry for that tokenId into the child chain's database.
This transaction is validated by all participants in the Proof of Authority network,
so the reliance of trust in the GunClear authority is minimized.
If the current owner of the token decides to make a public attestation that the firearm represented
by it's corresponding token should be permanently removed from the supply of tokens available to trade,
and thus from the GunClear ecosystem, then they will "burn" or destroy this token.
A token can only be burned by it's owner, and is a permanent action.
Since the token itself is a combination of the firearm's serial number and the nonce, or number of
times that firearm has been minted in the token contract, the act of "burning" a token has several
potential meanings:
- The token is inaccessible (keys to access it are lost)
- The firearm is lost or stolen
- The owner no longer wants to participate in the system (or is transferring outside the system)
See Plasma Manager for more details about exit procedures.
Information contained in this wiki is licensed under CC-BY-SA-4.0
Copyright 2018 GunClear