This repository contains a local smart wallet project built with Vyper, JavaScript, and Python Flask. It's designed to interact with a blockchain using a simple front-end and a local server to execute commands.
- Vyper: Smart contract language used for blockchain interaction.
- JavaScript and HTML: For building the user interface.
- Python Flask: To set up a local server for command execution.
- Foundry Toolchain: For blockchain infrastructure, including:
- Anvil: To create a local/test blockchain.
- Cast Command: To deploy and interact with the smart contract.
- Foundry Toolchain
- Python 3
- Web browser
- Clone the project: git clone [https://github.com/sifisKoen/local-wallet-deploy.git].
- Install Foundry Toolchain for local command execution.
- Start Anvil: Use the anvil command to initiate a local blockchain.
- Web Frontend:
- Navigate to ./HobbitProperties/webpage.
- Open index.html in a web browser. This page includes a QR code for easy access.
- Run Flask Server:
- Inside ./HobbitProperties/webpage, execute python3 main.py.
- Execute Script:
- Navigate to ./HobbitProperties.
- Run ./HobbitPropertyManager.sh.
- When prompted, use an address from the Anvil blockchain.
- Interact with Web Interface:
- Scan the QR code from index.html.
- Use the provided addresses to log in.
- Explore various functionalities through the user interface.
Feel free to contribute to this project! It's beginner-friendly and a great example of integrating different technologies for blockchain interaction.