Skip to content

Commit

Permalink
working kind of
Browse files Browse the repository at this point in the history
  • Loading branch information
Austin committed Oct 27, 2018
0 parents commit b3e093c
Show file tree
Hide file tree
Showing 29 changed files with 11,946 additions and 0 deletions.
1 change: 1 addition & 0 deletions .env
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
SKIP_PREFLIGHT_CHECK=true
63 changes: 63 additions & 0 deletions .gitignore
Original file line number Diff line number Diff line change
@@ -0,0 +1,63 @@
src/contracts/*
deploy.network
aws.json
backend/redisdata
accounts.json
**.DS_*
openzeppelin-solidity
zeppelin-solidity
package-lock.json
*.log
*.ens
*/*/*.abi
*/*/*.bytecode
*/*/*.address
*/*/*.run.xml
*/*/*.log.*
*/*/*.blockNumber
*/*.abi
*/*.bytecode
*/*.bib
*/*.address
*/*.run.xml
*/*.log.*
*/*.blockNumber
*/.clevis
*/*/.clevis
*/node_modules
/node_modules
public/reload.txt

**/*.blockNumber
**/*.head.address
**/*.previous.address
**/*.compiled
**/*.bytecode
**/*.abi
**/*.address
src/contracts
deploy.log
public/reload.txt
geth.log
react.log
# See https://help.github.com/articles/ignoring-files/ for more about ignoring files.

# dependencies
/node_modules

# testing
/coverage

# production
/build

# misc
.DS_Store
.env.local
.env.development.local
.env.test.local
.env.production.local

npm-debug.log*
yarn-debug.log*
yarn-error.log*
2,567 changes: 2,567 additions & 0 deletions README.md

Large diffs are not rendered by default.

2 changes: 2 additions & 0 deletions attach.sh
Original file line number Diff line number Diff line change
@@ -0,0 +1,2 @@
#!/bin/bash
docker exec -ti clevis bash
13 changes: 13 additions & 0 deletions clevis.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,13 @@
{
"provider": "http://localhost:8545",
"gasprice": 3.2,
"ethprice": 204.091338641,
"deploygas": 5500000,
"xfergas": 1300000,
"DEBUG": true,
"USE_INFURA": false,
"ROOT_FOLDER": "/Users/austingriffith/hot-wallet",
"CRA_FOLDER": "./src",
"TESTS_FOLDER": "tests",
"CONTRACTS_FOLDER": "contracts"
}
Empty file added contracts.clevis
Empty file.
36 changes: 36 additions & 0 deletions package.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,36 @@
{
"name": "hot-wallet",
"version": "0.1.0",
"private": true,
"dependencies": {
"clevis": "0.0.96",
"dapparatus": "^1.0.27",
"mocha": "^5.2.0",
"qr-image": "^3.2.0",
"qrcode": "^1.3.0",
"qrcode.react": "^0.8.0",
"react": "^16.6.0",
"react-copy-to-clipboard": "^5.0.1",
"react-dom": "^16.6.0",
"react-loading": "^2.0.3",
"react-qr-code": "^0.1.2",
"react-qr-reader": "^2.1.1",
"react-scripts": "2.0.5",
"s3": "^4.4.0"
},
"scripts": {
"start": "react-scripts start",
"build": "react-scripts build",
"test": "react-scripts test",
"eject": "react-scripts eject"
},
"eslintConfig": {
"extends": "react-app"
},
"browserslist": [
">0.2%",
"not dead",
"not ie <= 11",
"not op_mini all"
]
}
Binary file added public/favicon.ico
Binary file not shown.
40 changes: 40 additions & 0 deletions public/index.html
Original file line number Diff line number Diff line change
@@ -0,0 +1,40 @@
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="utf-8">
<link rel="shortcut icon" href="%PUBLIC_URL%/favicon.ico">
<meta name="viewport" content="width=device-width, initial-scale=1, shrink-to-fit=no">
<meta name="theme-color" content="#000000">
<!--
manifest.json provides metadata used when your web app is added to the
homescreen on Android. See https://developers.google.com/web/fundamentals/web-app-manifest/
-->
<link rel="manifest" href="%PUBLIC_URL%/manifest.json">
<!--
Notice the use of %PUBLIC_URL% in the tags above.
It will be replaced with the URL of the `public` folder during the build.
Only files inside the `public` folder can be referenced from the HTML.
Unlike "/favicon.ico" or "favicon.ico", "%PUBLIC_URL%/favicon.ico" will
work correctly both with client-side routing and a non-root public URL.
Learn how to configure a non-root public URL by running `npm run build`.
-->
<title>React App</title>
</head>
<body>
<noscript>
You need to enable JavaScript to run this app.
</noscript>
<div id="root"></div>
<!--
This HTML file is a template.
If you open it directly in the browser, you will see an empty page.
You can add webfonts, meta tags, or analytics to this file.
The build step will place the bundled scripts into the <body> tag.
To begin the development, run `npm start` or `yarn start`.
To create a production bundle, use `npm run build` or `yarn build`.
-->
</body>
</html>
15 changes: 15 additions & 0 deletions public/manifest.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,15 @@
{
"short_name": "React App",
"name": "Create React App Sample",
"icons": [
{
"src": "favicon.ico",
"sizes": "64x64 32x32 24x24 16x16",
"type": "image/x-icon"
}
],
"start_url": ".",
"display": "standalone",
"theme_color": "#000000",
"background_color": "#ffffff"
}
2 changes: 2 additions & 0 deletions run.sh
Original file line number Diff line number Diff line change
@@ -0,0 +1,2 @@
#!/bin/bash
docker run -ti --rm --name clevis -p 3000:3000 -p 8545:8545 -v ${PWD}:/dapp austingriffith/clevis
16 changes: 16 additions & 0 deletions src/App.css
Original file line number Diff line number Diff line change
@@ -0,0 +1,16 @@

body {
font-family: sans-serif;
color:#888888;
font-size:28px;
font-weight:bold;
background-color: #FFFFFF;
}
a {
color:#aaaaaa;
text-decoration: none;
}
a:visited {
color:#999999;
text-decoration: none;
}
Loading

0 comments on commit b3e093c

Please sign in to comment.