What is OnBlock?
With high technical barriers, traditional blockchain Dapps require players to acquire knowledge of blockchain account system and resource system. They also involve extra resource consumption when being used. The OnBlock protocol greatly reduces these obstacles, where players only need to register with a mobile phone number and transfer cryptocurrency to start the game, without worrying about account and resource system.
OnBlock also maintains the openness, transparency, non-tamperability and verifiability of blockchain, which stores all gaming process and results of all players on the chain
OnBlock User ID (OID)
OID is the identification of each user on the OnBlock. It is 5-12 characters long with lowercase letters, numbers, and “_”. Every OID is unique.
OnBlock Agency Account (OAA)
All on-chain actions are operated by OnBlock Agency Accounts (OAA), which is an actual account on the blockchain. OnBlock has many OAAs. There is only one OAA for each user on a specific blockchain. A user's OAA will not change.
OAA will note down user's OID as a tracking credential when sending the transaction. The contract needs to add a parameter that receives OID information and stores it when necessary.
If a transaction generates rewards, the contract needs to transfer to the user's OAA and include OID in the memo.