Exercises - Privacy
Exercises - Privacy
Deliverables:
10. Combine Tor, RandomX, and Scrypt for Anonymous Smart Contract
Execution
Objective: Design a system where smart contracts are executed anonymously using Tor for
private communication, RandomX for miner verification, and Scrypt for secure access
control.
Exercise:
● Implement a blockchain-based platform where users can create and execute smart
contracts anonymously. All interactions with the smart contracts are routed through
Tor to ensure that the identities of participants are hidden.
● Use RandomX as a PoW system to verify the execution of smart contracts, ensuring
that only valid computations are accepted by the network.
● Protect access to certain smart contracts with Scrypt-based password authentication,
ensuring that only authorized users can interact with restricted contracts.
Bonus:
● Extend the system to allow multiple users to jointly execute complex smart contracts
(e.g., multi-signature wallets or decentralized exchanges) while maintaining full
anonymity.
● Analyze the scalability of the system, particularly focusing on how the use of Tor and
RandomX affects the speed and cost of smart contract execution.