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 :
- clone this repository to you local machine
- go to the extensions tab on chrome
- enable developer mode
- from the chrome extensions tab, click #Load unpacked button
- navigate to the directory you cloned the repository to
- from the repository navigate to "algophant-extension/build/" the click select
- once that's done you can now use the wallet by locating it in your extensions
To run this project locally on you local machine
- cd into
.../Algophant-wallet/algophant-extension
- run
npm install
to install the project dependencies - navigate to
.../Algophant-wallet/algophant-extension/src/APIMethods/AxiosBase.js
and change theBASE_URL
to match your localhost url - run
npm start
to launch the local server (from the base directory.../Algophant-wallet/algophant-extension
)
- cd into
.../Algophant-wallet/algophant-backend/AlgoPhantAPI
- run the
pip install -r requirements.txt
command to install dependencies - run
python3 manage.py migrate
to migrate the django database. - 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
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