# System Design

The architecture of Sortes is designed for robustness, fairness, and scalability:

* **Decentralized Lottery Engine:** Using smart contracts and verifiable randomness functions (VRFs), the system ensures that prize draws are both random and tamper-proof.
* **Tokenized Participation:** Users deposit tokens such as Bitcoin (wrapped as wBTC) into a prize pool and receive corresponding certificates (X-tokens), which represent their stake and entitlement.
* **Multi-Layer Compatibility:** Sortes is engineered to operate across various Layer-1 and Layer-2 networks, providing flexibility and scalability.
* **Launchpad** for community luck draw: Anyone can create their own lucky impact draw.
* **Secure and Transparent:** The system incorporates best practices in blockchain security, ensuring that all transactions and outcomes are publicly verifiable.<br>

  <figure><img src="https://2488673942-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FaE1ln2IbRWzNgndF8X8x%2Fuploads%2FIlpLnpOhlL7PUt50UcKW%2Fimage.png?alt=media&#x26;token=c0acf30b-7e00-442a-8d7d-67fc63fce593" alt=""><figcaption></figcaption></figure>
