Ethereum Certificate DApp made for Pythonistas.
Clone the repository
git clone https://github.com/tr1sm0s1n/fastapi-brownie-dapp.git
cd fastapi-brownie-dapp
Install uv
, an extremely fast Python package and project manager
curl -LsSf https://astral.sh/uv/install.sh | sh
Install Brownie
uv add eth-brownie
Compile the contract
uv run brownie compile
Run a blockchain simulation (geth/hardhat/foundry) on port 8545.
Test the contract
uv run brownie test
Deploy the contract
uv run brownie run deploy_cert.py
Install FastAPI
uv add "fastapi[standard]"
Start the application
uv run fastapi dev main.py
Click here.
Click here.
Click here.