In this example, we have adjusted the images to appear round by applying a border-radius of 50% to each. This styling creates a visually appealing circular representation of the Ethereum platform and smart contracts icons.
- The rounded images create a sleek and modern aesthetic, aligning well with
This project demonstrates the compilation and deployment of a Solidity smart contract to a local Ethereum blockchain, specifically using Ganache as the local development environment
To run this project, you need to have the following installed on your local machine:
- Python 3.x
- Ganache (local blockchain)
- Solidity Compiler (solc)
Additionally, you'll need some Python libraries which can be installed using pip. Navigate to your project directory and run:
pip install web3 solcx python-dotenvinstall npm
npm intall --global yarn
yarn global add ganache-clipip install pipx
pipx ensurepath
brownie init
-
Install Solc: The Solidity compiler can be installed directly from the script using install_solc('0.6.0')
-
Ganache Setup: Make sure Ganache is up and running on your local machine. Note the RPC server address (usually HTTP://127.0.0.1:7545) and ensure it matches the RPC_URL in your .env file
-
Environment Variables: Create a .env file in the root of your project directory with the following content, replacing the placeholder with your actual private key from Ganache