Skip to content

Latest commit

 

History

History
45 lines (31 loc) · 2.62 KB

README.md

File metadata and controls

45 lines (31 loc) · 2.62 KB

Algophant-wallet

An Algorand cryptocurrency wallet which allows users to access their crypto on the web through the browser extension

This is a code challenge for the Algorand greenhouse hackathon , for the challenge i decide to build an algorand wallet which can accessible to all users easily by simple installing it as a chrome extension.

I used the python algorand sdk for the challenge with the help of Djang as my backend and ReactJs as the frontend. The project aims to eliminate having to remember the url of the algorand wallet you are using. but instead be the goto wallet for all your algorand interactions.

the django api documentation for the wallet can be found here. The video tutorial of the wallet can be found here. The text tutorial of the wallet can be found here

To install the chrome extension file :

  1. clone this repository to you local machine
  2. go to the extensions tab on chrome
  3. enable developer mode
  4. from the chrome extensions tab, click #Load unpacked button
  5. navigate to the directory you cloned the repository to
  6. from the repository navigate to "algophant-extension/build/" the click select
  7. once that's done you can now use the wallet by locating it in your extensions

Running locally :

To run this project locally on you local machine

The frontend/extension

  1. cd into .../Algophant-wallet/algophant-extension
  2. run npm install to install the project dependencies
  3. navigate to .../Algophant-wallet/algophant-extension/src/APIMethods/AxiosBase.js and change the BASE_URL to match your localhost url
  4. run npm start to launch the local server (from the base directory .../Algophant-wallet/algophant-extension)

The back-end

  1. cd into .../Algophant-wallet/algophant-backend/AlgoPhantAPI
  2. run the pip install -r requirements.txt command to install dependencies
  3. run python3 manage.py migrate to migrate the django database.
  4. run python3 manage.py runserver to start up the local server.

The back-end was developed with python3.10.4 older versions might not work properly and remeber to use on a virtual-environment to avoid module conflicts

In the future I hope to implement more features as I grow with Algorand

NOTE :

If you want to test the code locally you have to enter your SDK key (gotten from purestake) in the settings.py file of the algophant-backend file. It is named ALGO_TOKEN in the file