/Smart_Contract_Algorand

Web3 technology is inherently about the user controlled internet. It is being achieved by a growing stack of decentralized technologies, such as blockchains, smart contracts, oracles, crypto wallets, storage networks, and more.

Primary LanguagePythonMIT LicenseMIT

Smart_Contract_Algorand

Introduction

Smart contracts are a way to create and run applications on the blockchain. In this project, we will implement a smart contract that allows users to request a refund by location.

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.

Objective

10 Academy has partnered with Algorand to use the Algorand Blockchain as the foundational element of the NFT, and this must now be implemented. In this project I will build 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.

Install Sandbox

Algorand provides a docker instance for setting up a node, which can be used to get started developing quickly. To install and use this instance, follow these instructions.​

Install Sandbox

Algorand provides a docker instance for setting up a node, which can be used to get started developing quickly. To install and use this instance, follow these instructions.​

git clone https://github.com/algorand/sandbox.git
cd sandbox
./sandbox up testnet

Install SDK

Algorand provides an SDK for Python which is available as a pip package. To install the Python SDK, open a terminal and run the following command:​

pip3 install py-algorand-sdk

Setup react app

In the project directory, you can run:

git clone https://github.com/HenokD11/Smart_Contract_Algorand.git
cd Smart_Contract_Algorand
npm start

or

git clone https://github.com/HenokD11/Smart_Contract_Algorand.git
cd Smart_Contract_Algorand
node server.js

Runs the app in the development mode. Open http://localhost:8080 to view it in your browser.

The page will reload when you make changes. You may also see any lint errors in the console.

npm test

Launches the test runner in the interactive watch mode.

npm run build

Builds the app for production to the build folder. It correctly bundles React in production mode and optimizes the build for the best performance.

Author

HENOK DESALEGN : henokdes1@gmail.com