Tech Explained
The Algorithm
(get-block-info? vrf-seed u0)
;; Returns (some 0xf490de2920c8a35fabeb13208852aa28c76f9be9b03a4dd2b3c075f7a26923b4)Item
Old Distribution
Equivalent for 255
New Distribution
Flow Manager - Lootbox - Item

How Lootboxes Interact
Lootbox Flow Detailed
Lootboxes are capable of running completely on-chain. This is thanks to vrf-seed and all operations happening directly on the contract ( hashing, concatenate, conversions etc. ).
Because the lootbox contract can act as admin in the item contract, the exchange of the lootbox for the item happens completely in a decentralized manner, directly on chain, in a function call that burns the lootbox and mints the item.
Visual

Resources Used
Last updated
Was this helpful?
