https://github.com/tearust/gluon-app
Gluon webapp and mobile app code repository. Part gluonwallet.com based on the teaproject.org platform. Powered by Polkadot technologies.
https://github.com/tearust/gluon-app
gluon
Last synced: 7 months ago
JSON representation
Gluon webapp and mobile app code repository. Part gluonwallet.com based on the teaproject.org platform. Powered by Polkadot technologies.
- Host: GitHub
- URL: https://github.com/tearust/gluon-app
- Owner: tearust
- License: apache-2.0
- Created: 2021-03-04T11:33:35.000Z (over 4 years ago)
- Default Branch: main
- Last Pushed: 2021-05-23T03:45:52.000Z (over 4 years ago)
- Last Synced: 2025-01-25T12:41:41.199Z (9 months ago)
- Topics: gluon
- Language: JavaScript
- Homepage:
- Size: 10.3 MB
- Stars: 0
- Watchers: 2
- Forks: 2
- Open Issues: 0
-
Metadata Files:
- Readme: readme.md
- License: LICENSE
Awesome Lists containing this project
README
# GLUON
As part of the TEA project, the end goal of Gluon is to serve as a replacement for traditional hardware crypto wallets. GLUON pertains to the category: Trust-as-a-Service, relying on distributed storage and execution in TEA nodes to elevate security.For further details please refer to [gluon-docs](https://github.com/tearust/gluon-docs/tree/master/Blog_and_Vlog)
This repo contains runtimes for the GLUON web-app and mobile-app.
For a video walkthrough, reference: [](https://www.youtube.com/watch?v=wV4Q1-wTvFE)
## Standard Setup Instructions
### GLUON-WEBAPP
#### Run in local
```
cd webapp
npm i
npm start
```If need to change the layer1 service url, please edit webapp/.env.dapp
```
NODE_ENV = dapp#VUE_APP_LAYER1_URL=ws://139.198.187.91:9944
#VUE_APP_LAYER1_HTTP=http://139.198.187.91:9933VUE_APP_LAYER1_URL=ws://64.227.49.206:9944
VUE_APP_LAYER1_HTTP=http://64.227.49.206:9933
```Click [http://127.0.0.1:3000/](http://127.0.0.1:3000/) to visit.
Notice that make sure the node version greater than 14.More details [visit](./webapp/readme.md).
-----
### GLUON-MOBILE-APP
[Download ios app](http://d.zqapps.com/m63e)
If you need download app to test, please find your iphone UDID and email it to liyangwood@gmail.com.
We can add your device to test list and reply to you. After that please download app from above url to test.[This is how to grab the UDID](https://www.sourcefuse.com/blog/how-to-find-udid-in-the-new-iphone-xs-iphone-xr-and-iphone-xs-max/)
We will deploy the ios mobile app to Test-Flight in weeks.
#### Run in local with xcode and simulaor
```
cd mobile
npm i
cd ios
pod install
```* Open mobile/ios/mobile.xcworkspace with XCode.
* Run it with iOS simulator.More details [visit](./mobile/readme.md).
#### Test with Android
[Download Android App](http://d.firim.pro/trdf)### Online Layer1 Service
We deploy 2 layer1 service online for test.
- ws://139.198.187.91:9944 (China Mainland)
- ws://64.227.49.206:9944 (US)### Test webapp in Local with docker.
```
docker-compose up -d
```## Walkthrough and Instructions
### Basic UI Walkthrough
1. To install the Polkadot{.js} browser extension, please refer to the links below. Available on both Google Chrome and Firefox
- Download the Chrome extension [here](https://chrome.google.com/webstore/detail/polkadot%7Bjs%7D-extension/mopnmbcafieddcagagdcbnhejhlodfdd/related)
- Download the Firefox extension [here](https://addons.mozilla.org/en-US/firefox/addon/polkadot-js-extension/)
![]()
2. To check for successful installation, please reference the examples below:
- Chrome
- Firefox
3. To create polkadot account, navigate to the extension pop up and click the add button:
![]()
4. A seed or private is generated in the form of 12 secret words.
![]()
5. Once the registration portal appears, select , set account name and password.
![]()
6. Check for successful installation as illustrated below
![]()
7. To run WebApp, reference the Standard Setup Instruction above. Access WebApp at [http://localhost:3000/](http://127.0.0.1:3000/)
8. Navigate to profile tab and select Polkadot account from the dropdown
![]()
![]()
9. Top up adds 1000 TEA coins to balance by clicking top-up button.
![]()
10. Run mobile application following run instructions in the Standard Setup Instructions section.
11. Navigate to profile tab on the mobile app.
![]()
12. Access LAYER1 ACCOUNT
![]()
13. TOP UP adds 1000 TEA coins to balance
![]()
14. On the WebApp profile page, select BIND MOBILE
![]()
15. QR code is generated
![]()
16. On MobileApp, navigate to PAIR INFO in Profile tab
17. Scan QR code and click Pair Device button
![]()
![]()