Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/tr1sm0s1n/fastapi-brownie-dapp
Ethereum Certificate DApp made for Pythonistas.
https://github.com/tr1sm0s1n/fastapi-brownie-dapp
brownie bulma dapp ethereum fastapi jinja2 python smart-contracts vyper web3py
Last synced: 16 days ago
JSON representation
Ethereum Certificate DApp made for Pythonistas.
- Host: GitHub
- URL: https://github.com/tr1sm0s1n/fastapi-brownie-dapp
- Owner: tr1sm0s1n
- License: mit
- Created: 2023-04-14T14:26:46.000Z (over 1 year ago)
- Default Branch: main
- Last Pushed: 2024-09-09T09:02:54.000Z (4 months ago)
- Last Synced: 2024-09-09T10:51:50.859Z (4 months ago)
- Topics: brownie, bulma, dapp, ethereum, fastapi, jinja2, python, smart-contracts, vyper, web3py
- Language: HTML
- Homepage:
- Size: 34.2 KB
- Stars: 1
- Watchers: 2
- Forks: 2
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- Contributing: CONTRIBUTING.md
- License: LICENSE.md
- Code of conduct: CODE_OF_CONDUCT.md
Awesome Lists containing this project
README
# FastAPI-Brownie-DApp
Ethereum Certificate DApp made for Pythonistas.
## 🛠 Built With
[![Python Badge](https://img.shields.io/badge/Python-3776AB?logo=python&logoColor=fff&style=for-the-badge)](https://www.python.org/)
[![FastAPI Badge](https://img.shields.io/badge/FastAPI-009688?logo=fastapi&logoColor=fff&style=for-the-badge)](https://fastapi.tiangolo.com)
[![Vyper Badge](https://img.shields.io/badge/Vyper-3C3C3D?logo=ethereum&logoColor=fff&style=for-the-badge)](https://docs.vyperlang.org/en/stable/)
[![Brownie Badge](https://img.shields.io/badge/Brownie-3C3C3D?logo=ethereum&logoColor=fff&style=for-the-badge)](https://eth-brownie.readthedocs.io/en/stable/)
[![Bulma Badge](https://img.shields.io/badge/Bulma-00D1B2?logo=bulma&logoColor=fff&style=for-the-badge)](https://bulma.io/)## ⚙️ Run Locally
Clone the repository
```bash
git clone https://github.com/tr1sm0s1n/fastapi-brownie-dapp.git
cd fastapi-brownie-dapp
```Install `uv`, an extremely fast Python package and project manager
```sh
curl -LsSf https://astral.sh/uv/install.sh | sh
```Install Brownie
```sh
uv add eth-brownie
```Compile the contract
```sh
uv run brownie compile
```Run a blockchain simulation (geth/hardhat/foundry) on port **8545**.
Test the contract
```sh
uv run brownie test
```Deploy the contract
```sh
uv run brownie run deploy_cert.py
```Install FastAPI
```sh
uv add "fastapi[standard]"
```Start the application
```sh
uv run fastapi dev main.py
```## 📜 License
Click [here](./LICENSE.md).
## 🎗️ Contributing
Click [here](./CONTRIBUTING.md).
## ⚖️ Code of Conduct
Click [here](./CODE_OF_CONDUCT.md).