-
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 GunOwner 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, this pseudo-anonymity is not perfect privacy.
It means GunClear knows who originated the token's creation,
but thanks to the privacy aspects of the Gunero child chain, we can't guarantee who owns it!
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 (to multiple accounts) 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.
Information contained in this wiki is licensed under CC-BY-SA-4.0
Copyright 2018 GunClear