Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/yuanyu90221/coolwallet-extension
https://github.com/yuanyu90221/coolwallet-extension
Last synced: 1 day ago
JSON representation
- Host: GitHub
- URL: https://github.com/yuanyu90221/coolwallet-extension
- Owner: yuanyu90221
- Created: 2018-03-16T10:40:34.000Z (almost 7 years ago)
- Default Branch: master
- Last Pushed: 2024-12-14T14:45:00.000Z (26 days ago)
- Last Synced: 2024-12-14T15:31:32.748Z (26 days ago)
- Language: JavaScript
- Homepage:
- Size: 1.28 MB
- Stars: 1
- Watchers: 3
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# CoolWallet Extension
## 結構
1 content_scripts: 畫面載入的js 邏輯
2 background_scripts: 瀏覽器一打開就執行的js 邏輯3 popup.html: browserAction icon打開後的畫面
4 manifest.json: 對於web-extension的設定欓
## 資料結構
1 OrderBook: 用來儲存 每筆Transaction的資料
## 功能
1 顯示帳號的qrcode2 選擇provider
## TODO
1 gen Wallet key pair
2 send transaction to ether network from web3.js
3 send and receive Token from Wallet
4 add webpack config for chrome and mozilla
5 add identity machanism for auth
## Usage
1 build with gulp
```
npm run gulp-build
```2 import to the browser side
## Notice
1 目前已新增google-auth 到extension內
但目前由於還沒上架 故必須要先到background-script console.log看目前的redirect url
再重新註冊一個固定的值
2 目前寫法build 在firefox的版本
如果要換到chrome必須要把browser系列的function做promisify