End-to-End Web3 dApps: certificate generation, distribution, and value transfer with Algorand NFTs and smart contracts
Table of Contents
End-to-end Web3 dapps on the Algorand Blockchain that will help 10 Academy generate and distribute Non-Fungible Tokens (NFTs) as certificates that will represent the successful completion of a weekly challenge to trainees, and allow trainees with NFTs to interact with a smart contract to perform pre-defined actions.
In this project, the client is 10 Academy; the client would like to solve the challenge of ensuring that certificates are available to all trainees in a secure way, and (if possible) that certificate holders can benefit from smart contract actions now and in the future. At present, certificates are distributed as simple PDF files, without the ability to verify their authenticity nor can 10 Academy undertake smart actions with the trainees/their contracts.
The repository has a number of files including python scripts, jupyter notebooks, raw and cleaned data, and text files. Here is their structure with a brief explanation.
- a configuration file for github actions and workflow
playground.ipynb
: a jupyter notebook holding different interaction with Algorand API using python sdk
requirements.txt
: a text file lsiting the projet's dependancies.gitignore
: a text file listing files and folders to be ignoredREADME.md
: Markdown text with a brief explanation of the project and the repository structure..teal
: Compiled teal files of a smart contract written using pyteal.
helpers.py
: helper functions for the smart contractcontracts.py
: smart contract for splitting funds transaction
Django Server
git clone https://github.com/natyrix/algorand
cd algorand
pip install -r requirements.txt
python manage.py migrate
python manage.py runserver
React Frontend
git clone https://github.com/natyrix/algorand_front_end
cd algorand_front_end
npm install
npm start