This project is an implementation of an Ethereum smart contract pyramid scheme. It includes a smart contract for the Ethereum blockchain, a Python interface to interact with the blockchain, and a web interface to facilitate user interactions.
The smart contract is written in Solidity and is deployed to the Ethereum blockchain. The Python interface uses the web3
library to interact with the smart contract. The web interface is built using Flask and Jinja2.
Users can join the scheme by sending a certain amount of Ether to the smart contract. They can then refer friends to join the scheme, and earn a commission on their friends' earnings. Users can view their earnings and withdraw them at any time.
Please note that this project is for educational purposes only and should not be used for any illegal activities.
To get started with this project, you will need to have a blockchain environment set up, such as Ganache for a local blockchain or an actual Ethereum testnet/mainnet.
- Deploy the smart contract using the
blockchain_interface.py
. - Start the Flask web server using
main.py
. - Interact with the web interface to join the scheme, refer friends, view and withdraw earnings.
Please note that this project is for educational purposes only and should not be used for any illegal activities.
This project is licensed under the MIT License - see the LICENSE file for details.