This project allows to swap ETH with BCD and vice-versa (WIP). Users first have to register in order to swap their tokens. This project make use of Twilio Verify
API to send and verify OTP during registration and login.
Below are the APIs currently being supported by the project. Postman Collection: https://www.getpostman.com/collections/078806e4b8fa338aa3aa
- Register (3 Steps)
- Login (2 Steps)
- Get User Details
- Get Ether Balance
Below are the APIs that will be supported soon.
- Check BCD Balance
- Swap ETH with BCD
- Swap BCD with ETH
- Forgot Password
- Change Password
Below are the features on which I will work and integrate soon.
- Saving encrypted password.
- JWT token as middleware.
- More and relevant error messages on wrong parameters and credentials.
These instructions will get you a copy of the project up and running on your local machine for development and testing purposes.
- git clone REPO_LINK
- npm install
- npm run start
Things you must have in your machine before running the project.
npm
package
- Nishant Sharma - Other work - Nishant