Skip to content

Commit

Permalink
Initial commit
Browse files Browse the repository at this point in the history
Initial commit
  • Loading branch information
Cobra-Bitcoin committed Aug 22, 2020
0 parents commit 478a834
Show file tree
Hide file tree
Showing 44 changed files with 13,707 additions and 0 deletions.
25 changes: 25 additions & 0 deletions .gitignore
Original file line number Diff line number Diff line change
@@ -0,0 +1,25 @@
.DS_Store
node_modules
/dist

# local env files
.env.local
.env.*.local

# Log files
npm-debug.log*
yarn-debug.log*
yarn-error.log*
pnpm-debug.log*

# Editor directories and files
.idea
.vscode
*.suo
*.ntvs*
*.njsproj
*.sln
*.sw?

#Electron-builder output
/dist_electron
24 changes: 24 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,24 @@
# bitcoin-wallet

## Project setup
```
yarn install
```

### Compiles and hot-reloads for development
```
yarn serve
```

### Compiles and minifies for production
```
yarn build
```

### Lints and fixes files
```
yarn lint
```

### Customize configuration
See [Configuration Reference](https://cli.vuejs.org/config/).
5 changes: 5 additions & 0 deletions babel.config.js
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
module.exports = {
presets: [
'@vue/cli-plugin-babel/preset'
]
}
86 changes: 86 additions & 0 deletions package.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,86 @@
{
"name": "bitcoin-wallet",
"version": "0.1.0",
"private": true,
"scripts": {
"serve": "vue-cli-service serve",
"build": "vue-cli-service build",
"lint": "vue-cli-service lint",
"electron:build": "vue-cli-service electron:build",
"electron:serve": "vue-cli-service electron:serve",
"postinstall": "electron-builder install-app-deps",
"postuninstall": "electron-builder install-app-deps"
},
"main": "background.js",
"dependencies": {
"@keep-network/electrum-client-js": "https://github.com/keep-network/electrum-client-js",
"@spectrum-css/alert": "^3.0.0-beta.3",
"@spectrum-css/button": "^3.0.0-beta.3",
"@spectrum-css/card": "^3.0.0-beta.3",
"@spectrum-css/dialog": "^3.0.0-beta.3",
"@spectrum-css/page": "^2.0.7",
"@spectrum-css/pagination": "^3.0.0-beta.4",
"@spectrum-css/statuslight": "^3.0.0-beta.2",
"@spectrum-css/table": "^3.0.0-beta.3",
"@spectrum-css/tabs": "^3.0.0-beta.3",
"@spectrum-css/tags": "^3.0.0-beta.3",
"@spectrum-css/textfield": "^3.0.0-beta.3",
"@spectrum-css/vars": "^2.3.0",
"@spectrum-web-components/dropdown": "^0.7.1",
"@spectrum-web-components/menu": "^0.3.1",
"axios": "^0.19.2",
"bignumber.js": "^9.0.0",
"bip32": "^2.0.5",
"bip39": "^3.0.2",
"bitcoinjs-lib": "^5.1.10",
"coinselect": "^3.1.12",
"core-js": "^3.6.5",
"dexie": "^3.0.1",
"qrcode.vue": "^1.7.0",
"vue": "^2.6.11",
"vue-axios": "^2.1.5",
"vue-class-component": "^7.2.3",
"vue-property-decorator": "^8.4.2",
"vue-router": "^3.2.0",
"vuex": "^3.4.0",
"vuex-module-decorators": "^0.17.0"
},
"devDependencies": {
"@typescript-eslint/eslint-plugin": "^2.33.0",
"@typescript-eslint/parser": "^2.33.0",
"@vue/cli-plugin-babel": "~4.4.0",
"@vue/cli-plugin-eslint": "~4.4.0",
"@vue/cli-plugin-router": "~4.4.0",
"@vue/cli-plugin-typescript": "~4.4.0",
"@vue/cli-plugin-vuex": "~4.4.0",
"@vue/cli-service": "~4.4.0",
"@vue/eslint-config-typescript": "^5.0.2",
"babel-eslint": "^10.1.0",
"electron": "^9.0.0",
"eslint": "^6.7.2",
"eslint-plugin-vue": "^6.2.2",
"typescript": "~3.9.3",
"vue-cli-plugin-electron-builder": "~2.0.0-rc.2",
"vue-template-compiler": "^2.6.11"
},
"eslintConfig": {
"root": true,
"env": {
"node": true
},
"extends": [
"plugin:vue/essential",
"eslint:recommended",
"plugin:@typescript-eslint/eslint-recommended"
],
"parserOptions": {
"parser": "@typescript-eslint/parser"
},
"rules": {}
},
"browserslist": [
"> 1%",
"last 2 versions",
"not dead"
]
}
Binary file added public/favicon.ico
Binary file not shown.
17 changes: 17 additions & 0 deletions public/index.html
Original file line number Diff line number Diff line change
@@ -0,0 +1,17 @@
<!DOCTYPE html>
<html lang="en" class="spectrum spectrum--light spectrum--medium">
<head>
<meta charset="utf-8">
<meta http-equiv="X-UA-Compatible" content="IE=edge">
<meta name="viewport" content="width=device-width,initial-scale=1.0">
<link rel="icon" href="<%= BASE_URL %>favicon.ico">
<title><%= htmlWebpackPlugin.options.title %></title>
</head>
<body>
<noscript>
<strong>We're sorry but <%= htmlWebpackPlugin.options.title %> doesn't work properly without JavaScript enabled. Please enable it to continue.</strong>
</noscript>
<div id="app"></div>
<!-- built files will be auto injected -->
</body>
</html>
106 changes: 106 additions & 0 deletions src/App.vue
Original file line number Diff line number Diff line change
@@ -0,0 +1,106 @@
<template>
<div id="app">
<router-view></router-view>
</div>
</template>
<style>
@font-face {
font-family: 'Titillium Web';
src: url('assets/fonts/TitilliumWeb-Regular.woff2') format('woff2'),
url('assets/fonts/TitilliumWeb-Regular.woff') format('woff');
}
* {
margin:0;
}
html, body{
height: 100vh;
font-family: "Titillium Web", Arial, sans-serif;
font-size: 16px;
}
a {
color: #FFFFFF;
text-decoration: none;
cursor: pointer;
outline: none;
}
#app {
-webkit-font-smoothing: antialiased;
-moz-osx-font-smoothing: grayscale;
text-align: center;
height: 100%;
/* background: url('assets/overview-bg.svg') top no-repeat; */
background-color: #efefef;
}
.btn {
display: inline-block;
max-width: 100%;
padding: 16px 25px;
-webkit-box-sizing: border-box;
box-sizing: border-box;
font-weight: 600;
font-size: 100%;
color: #fff;
border: none;
cursor: pointer;
outline: none;
}
.btn-orange {
color: white;
background: #FF9500;
}
.btn-light {
background-color: #ffffff;
border: 1px solid #ff9500;
color: #ff9500;
}
.btn-home {
width: 200px;
height: 55px;
}
.btn:not(:first-child) {
margin-left: 20px;
}
#box {
height: 100%;
display: flex;
align-items: center;
justify-content: center;
flex-direction: column;
}
#inner {
padding: 20px;
width: 80%;
display: flex;
flex-wrap: wrap;
justify-content: center;
}
#inner h2 {
margin: 10px;
}
#notice {
padding: 20px;
color: #77767e;
background-color: #FFF9F3;
}
#navigation {
margin-top: 20px;
}
</style>
47 changes: 47 additions & 0 deletions src/assets/ball-triangle.svg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading

0 comments on commit 478a834

Please sign in to comment.