Skip to content

An implementation of an Ethereum smart contract pyramid scheme

License

Notifications You must be signed in to change notification settings

brendancsmith/ETH-pyramid-scheme

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

2 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Ethereum Pyramid Scheme

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.

Getting Started

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.

  1. Deploy the smart contract using the blockchain_interface.py.
  2. Start the Flask web server using main.py.
  3. 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.

License

This project is licensed under the MIT License - see the LICENSE file for details.

Releases

No releases published

Packages

No packages published