Skip to content

tr1sm0s1n/fastapi-brownie-dapp

Repository files navigation

FastAPI-Brownie-DApp

Ethereum Certificate DApp made for Pythonistas.

🛠 Built With

Python Badge FastAPI Badge Vyper Badge Brownie Badge Bulma Badge

⚙️ Run Locally

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

📜 License

Click here.

🎗️ Contributing

Click here.

⚖️ Code of Conduct

Click here.