Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Ico updates #35

Open
wants to merge 315 commits into
base: master
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
315 commits
Select commit Hold shift + click to select a range
d80982d
Update to latest styling
dev0tion Sep 27, 2017
bb45944
Merge pull request #248 from stratisproject/ui
dev0tion Sep 27, 2017
ab5acd6
Remove old datepicker module
dev0tion Sep 27, 2017
7732899
Use public for bsConfig
dev0tion Sep 27, 2017
0fce8e7
Wait for both Bitcoin and Stratis daemons to be loaded
dev0tion Sep 27, 2017
7b0fb80
Merge pull request #249 from stratisproject/ui
dev0tion Sep 27, 2017
684be34
Disabled strict password requirements
dev0tion Sep 27, 2017
6be3bd9
Merge pull request #250 from stratisproject/ui
dev0tion Sep 27, 2017
1470e79
updated full node submodule
bokobza Sep 28, 2017
d000d22
Merge pull request #242 from nopara73/ports
dev0tion Sep 28, 2017
8104b85
Merge pull request #251 from stratisproject/submodule-update
dev0tion Sep 28, 2017
a3004fa
Small aesthetic change
nopara73 Sep 28, 2017
15b966f
Make text more understandable
nopara73 Sep 28, 2017
c19b3bd
Make label more understandable
nopara73 Sep 28, 2017
91d2fa3
Merge pull request #255 from nopara73/restore
dev0tion Sep 28, 2017
f1cd684
Merge pull request #256 from nopara73/creation
dev0tion Sep 28, 2017
22459ca
Merge pull request #253 from nopara73/ui
dev0tion Sep 28, 2017
a80a81d
Remove to/from from transaction details
dev0tion Sep 28, 2017
f99a4a4
Merge pull request #259 from stratisproject/ui
dev0tion Sep 28, 2017
fe21fa8
Fix failing recovery message
nopara73 Sep 28, 2017
0b17ebe
Merge pull request #260 from nopara73/recovery
dev0tion Sep 28, 2017
3bdfc45
removed artifacts path (#261)
bokobza Sep 28, 2017
c4ae423
updated full node submodule (#263)
bokobza Oct 1, 2017
da4220c
updated readme file (#264)
bokobza Oct 3, 2017
198993b
updated full node submodule (#265)
dev0tion Oct 3, 2017
82eab68
Fix decrypt disable
dev0tion Oct 3, 2017
84c5735
Merge pull request #266 from stratisproject/ui
dev0tion Oct 3, 2017
e149f56
updated full node submodule
dev0tion Oct 4, 2017
6d62680
Merge pull request #267 from stratisproject/submodule-update
dev0tion Oct 4, 2017
5dc1495
Remove light parameters
dev0tion Oct 5, 2017
ca3eb31
Remove date log
dev0tion Oct 5, 2017
10a5a6b
Cancel subscriptions on API disconnect
dev0tion Oct 5, 2017
59b0192
Set default balances
dev0tion Oct 5, 2017
77c9583
Add fee amount to transaction balance
dev0tion Oct 5, 2017
4d5b927
Properly display send error
dev0tion Oct 5, 2017
1287810
Show amount + fee in transaction detail
dev0tion Oct 5, 2017
c1b5c2d
Show active wallet name
dev0tion Oct 5, 2017
bd1111f
Remove blinking cursor
dev0tion Oct 5, 2017
2022fae
Merge pull request #271 from stratisproject/ui
dev0tion Oct 5, 2017
5f15576
Add fee estimation
dev0tion Oct 5, 2017
8094eda
updated full node submodule
dev0tion Oct 6, 2017
f675216
Merge pull request #272 from stratisproject/submodule-update
dev0tion Oct 6, 2017
b5876cf
Merge pull request #273 from stratisproject/ui
dev0tion Oct 6, 2017
c8fe969
updated full node submodule
dev0tion Oct 11, 2017
3ac3cd5
Merge pull request #276 from stratisproject/submodule-update
dev0tion Oct 11, 2017
df806af
wallet name
bep42 Oct 11, 2017
e7b0e5d
font-size changed
bep42 Oct 11, 2017
e4e9b9e
modalSend
bep42 Oct 11, 2017
d442966
fix dropdown border
bep42 Oct 11, 2017
ea78c4a
Switch to childprocess.spawn
dev0tion Oct 11, 2017
b084b17
Merge pull request #277 from stratisproject/ui
dev0tion Oct 11, 2017
3780b9f
Merge branch 'design' of http://www.github.com/stratisproject/breeze …
dev0tion Oct 13, 2017
97bafcf
fix dashboard + transaction details
bep42 Oct 13, 2017
099ec03
fix dashboard and jumbotron paddings
bep42 Oct 13, 2017
336f4ba
change the look of disabled btn
bep42 Oct 13, 2017
5e0431f
Fix fee radio buttons
dev0tion Oct 13, 2017
eeed9db
Merge branch 'design' of http://www.github.com/stratisproject/breeze …
dev0tion Oct 13, 2017
ce6933a
Prepare max balance call
dev0tion Oct 13, 2017
786e9e0
updated full node submodule
dev0tion Oct 13, 2017
786e4ea
Merge pull request #278 from stratisproject/submodule-update
dev0tion Oct 13, 2017
b87dc1e
Add generic modal for error handling and interaction
dev0tion Oct 13, 2017
1ada87f
Merge pull request #279 from stratisproject/design
dev0tion Oct 13, 2017
fb2864e
Stop sending on error
dev0tion Oct 13, 2017
9f91e4c
Merge pull request #280 from stratisproject/design
dev0tion Oct 13, 2017
b108fb6
Call daemon shutdown on quit
dev0tion Oct 13, 2017
78b8079
Merge pull request #281 from stratisproject/design
dev0tion Oct 13, 2017
1b69a78
updated travis build file to work around the brew bug
bokobza Oct 16, 2017
9d7aa2d
Merge pull request #284 from bokobza/master
dev0tion Oct 16, 2017
8b78824
Add second font kit
dev0tion Oct 16, 2017
f1151b5
Add information icon on generic modal
dev0tion Oct 16, 2017
137a713
Merge pull request #285 from stratisproject/ui
dev0tion Oct 16, 2017
b1d27a7
Show fee in transaction details
dev0tion Oct 16, 2017
1ca4e7a
Quit on close button OS X
dev0tion Oct 17, 2017
99df7bf
Fix OS X daemon shutdown
dev0tion Oct 17, 2017
18913d1
Fix password validation
dev0tion Oct 17, 2017
cc1c1a9
Fix stdout logging
dev0tion Oct 17, 2017
30e8c86
Merge pull request #286 from stratisproject/ui
dev0tion Oct 17, 2017
7ae3656
fixed before install in Travis build
bokobza Oct 17, 2017
e169edf
Merge pull request #287 from bokobza/master
dev0tion Oct 17, 2017
eb5fd07
Rename the name of folders in packages (#288)
bokobza Oct 18, 2017
bfa8cdf
Updated dependencies
dev0tion Oct 18, 2017
49ddd70
Improve select box design
dev0tion Oct 18, 2017
6db2c49
Subscribe to error message instead of description
dev0tion Oct 18, 2017
57bd09c
updated full node submodule (#290)
bokobza Oct 20, 2017
9b12d3b
sub menu of select
bep42 Oct 20, 2017
741c96a
Revert "sub menu of select"
dev0tion Oct 20, 2017
0d05476
Remove border
dev0tion Oct 20, 2017
fe4592d
Merge pull request #291 from stratisproject/ui
dev0tion Oct 20, 2017
3576980
Update release cycle
dev0tion Oct 20, 2017
1c6a03c
Merge pull request #292 from stratisproject/ui
dev0tion Oct 20, 2017
db5256c
Fix password validation
dev0tion Oct 21, 2017
f57f800
Merge pull request #294 from stratisproject/ui
dev0tion Oct 21, 2017
fd03947
Make text clearer in wallet recovery modal
dev0tion Oct 25, 2017
528a2c3
Prepare new validator for send amount
dev0tion Oct 25, 2017
463d8cf
Remove space from sent success
dev0tion Oct 25, 2017
35a906b
Change process owner
dev0tion Oct 25, 2017
b542edc
Fix left mouse button tray behavior and tray icon
dev0tion Oct 25, 2017
d4a36f6
use nativeImage for app icon
dev0tion Oct 25, 2017
94f9c25
Add exit to tray icon
dev0tion Oct 25, 2017
64cc4ba
Daemon shutdown before quit
dev0tion Oct 25, 2017
8e11022
Fix app icon on packaged app
dev0tion Oct 25, 2017
064055b
Change executable name to Breeze
dev0tion Oct 25, 2017
461ae61
Use tray icon, only set window icon on Windows
dev0tion Oct 25, 2017
2a53a90
Always show transaction details on transaction-confirmation modal
dev0tion Oct 25, 2017
25a8485
Merge pull request #327 from stratisproject/ui
dev0tion Oct 25, 2017
6b46332
Fix confirmed/pending badge in history
dev0tion Oct 25, 2017
40134f8
Switch to high-res icns icon
dev0tion Oct 25, 2017
518e474
Merge pull request #328 from stratisproject/ui
dev0tion Oct 25, 2017
7804fd1
make coinUnit public
dev0tion Oct 25, 2017
0cf9d99
Merge pull request #329 from stratisproject/ui
dev0tion Oct 25, 2017
b60eb26
fix build (#330)
bokobza Oct 26, 2017
c7ca3e7
updated StratisBitcoinFullNode submodule (#337)
bokobza Oct 26, 2017
7170094
Sending small amounts without a leading zero should be allowed
dev0tion Oct 26, 2017
7b61fad
updated StratisBitcoinFullNode submodule (#338)
bokobza Oct 26, 2017
b3bf70e
updated StratisBitcoinFullNode submodule (#339)
bokobza Oct 26, 2017
4138434
Improve recovery error message
dev0tion Oct 27, 2017
2f348fc
Merge pull request #340 from stratisproject/ui
dev0tion Oct 27, 2017
e9ed0ce
updated StratisBitcoinFullNode submodule (#341)
bokobza Oct 30, 2017
886a633
updated full node submodule (#342)
bokobza Nov 1, 2017
0120e4b
updated StratisBitcoinFullNode submodule (#344)
bokobza Nov 1, 2017
dfd49a4
Updated to beta 0.2.1 (#345)
bokobza Nov 1, 2017
69e7b05
removed unnecessary dotnet restore and build (#346)
bokobza Nov 1, 2017
0ef810e
Add UI changes (#349)
dev0tion Nov 7, 2017
8e42d5f
Add testnet parameter to daemon
dev0tion Nov 8, 2017
313255e
Make frontend network aware
dev0tion Nov 8, 2017
f7c107e
Merge pull request #350 from stratisproject/ui
dev0tion Nov 8, 2017
b3ae12f
Trim whitespaces for send address
dev0tion Nov 8, 2017
e741314
Remove network from create process
dev0tion Nov 8, 2017
eda831e
Remove network parameter from recovery component
dev0tion Nov 8, 2017
51335f7
Add fee estimation call
dev0tion Nov 8, 2017
1ddc0f6
Add estimate fee functionality to UI
dev0tion Nov 9, 2017
c215c2c
View send modal feedback in modal
dev0tion Nov 9, 2017
bacecc4
Merge pull request #351 from stratisproject/ui
dev0tion Nov 9, 2017
4671564
Add loading indicator to login, create, recovery and sending process
dev0tion Nov 9, 2017
12ff9a0
Merge pull request #352 from stratisproject/ui
dev0tion Nov 9, 2017
8093a50
fix the loading animation
bep42 Nov 10, 2017
64ecb47
add spacing for logout buttons
bep42 Nov 10, 2017
2a5b33c
Merge pull request #353 from stratisproject/design
dev0tion Nov 15, 2017
ce0fa66
No fee parameter in current submodule
dev0tion Nov 15, 2017
cf73688
Do not preserve whitespace
dev0tion Nov 19, 2017
d4a49e4
Add mnemonic verification
dev0tion Nov 20, 2017
dc45f84
fix Mnemonic templates
bep42 Nov 20, 2017
caba846
Add spacing for fee buttons
bep42 Nov 20, 2017
b899324
Fixed a the name query parameter for API call wallet/general-info (#359)
andrasfuchs Nov 20, 2017
deee31e
change badge-default color to $white
bep42 Nov 20, 2017
06abff5
Use blue logo
dev0tion Nov 20, 2017
c0469d0
Merge branch 'ui' of http://www.github.com/stratisproject/breeze into ui
dev0tion Nov 20, 2017
b4d93db
fix $white bg for bade-default
bep42 Nov 20, 2017
7e47c67
Merge branch 'ui' of http://www.github.com/stratisproject/breeze into ui
dev0tion Nov 20, 2017
896e15e
Merge pull request #360 from stratisproject/ui
dev0tion Nov 20, 2017
2981d6f
Remove back button by cancel link
bep42 Nov 20, 2017
c65b624
Merge branch 'ui' of https://github.com/stratisproject/Breeze into ui
bep42 Nov 20, 2017
c63bd99
Navigate to homepage on cancel
dev0tion Nov 20, 2017
ec5ad76
Update version
dev0tion Nov 20, 2017
ccafe8c
Merge pull request #362 from stratisproject/ui
dev0tion Nov 20, 2017
c64ff23
Update to Angular 5
dev0tion Nov 21, 2017
5deb9d0
Prepare for electron-builder
dev0tion Nov 22, 2017
a41d68d
Merge pull request #366 from stratisproject/ui
dev0tion Nov 22, 2017
d550e12
Add transaction fee to send confirmation
dev0tion Nov 22, 2017
0d3dcda
Show correct max balance
dev0tion Nov 22, 2017
02f0898
Merge pull request #367 from stratisproject/ui
dev0tion Nov 22, 2017
6b3fa4f
Packaging for Windows (#370)
bokobza Nov 27, 2017
9281785
added install stage in appveyor
bokobza Nov 27, 2017
bd4c960
added install stage in appveyor2
bokobza Nov 27, 2017
fde7a18
Moved the install steps to the install stage (#371)
bokobza Nov 28, 2017
e35be55
Update README.md
bokobza Nov 28, 2017
bd39b92
Update README.md
bokobza Nov 28, 2017
38f5ff8
added caching of node modules
bokobza Nov 28, 2017
c20f2fa
better caching
bokobza Nov 28, 2017
f68912a
Changed the builds to use the portable version of the dotnet node.
bokobza Nov 28, 2017
3417228
Fixed build
bokobza Nov 28, 2017
06260b5
change os to TRAVIS_OS_NAME
bokobza Nov 28, 2017
ff4e143
removed config details on the linux and osx packages
bokobza Nov 28, 2017
ca0943d
update cache path in appveyor
bokobza Nov 28, 2017
253ad78
added more elements to cache to speed up the build
bokobza Nov 28, 2017
78faa9f
need to use single quote when env vars are used
bokobza Nov 28, 2017
d3cef7c
using the portable version of windows runtime
bokobza Nov 28, 2017
ead2311
remove unused env variables
bokobza Nov 28, 2017
c28ab05
fixed path to cache
bokobza Nov 29, 2017
c34c8b0
Merge pull request #372 from bokobza/master
bokobza Nov 29, 2017
a471f92
added linux packaging
bokobza Nov 29, 2017
81748e8
fixed electron builder file
bokobza Nov 29, 2017
018d584
made artifact name OS specific
bokobza Nov 29, 2017
9546e52
removed exe from linux app path
bokobza Nov 29, 2017
7651b44
updated the icon for linux
bokobza Nov 29, 2017
1a75697
fixed icon name extension
bokobza Nov 29, 2017
1ea0977
Update electron-builder.json
Nov 29, 2017
626fcda
Add 512x512 icons to fix electron-build for linux
Nov 29, 2017
8ea4415
Update electron-builder.json
Nov 29, 2017
3c6071c
Merge pull request #1 from D3m0nKingx/fix-electron-build-linux
Nov 29, 2017
d10bee5
Merge pull request #2 from D3m0nKingx/fix-electron-build-icons
Nov 29, 2017
f297ff5
Merge pull request #373 from D3m0nKingx/master
bokobza Nov 29, 2017
c4f675f
merged
bokobza Nov 29, 2017
b6a45b9
added shortcut for windows by default
bokobza Nov 29, 2017
7305f7d
fixed stratis name in main.ts file
bokobza Nov 29, 2017
0b83520
fixed icon for windows
bokobza Nov 29, 2017
d9885e6
Merge pull request #374 from bokobza/master
bokobza Nov 30, 2017
1f57e98
Fix mac/linux config and style cleanup
Nov 30, 2017
7c1f070
Fix syntax
Nov 30, 2017
d6632df
Disable asar during build and remove extraResrouces
Nov 30, 2017
2b79335
added icon with explicit name for linux build
bokobza Nov 30, 2017
6e0295f
Added synopsis
bokobza Nov 30, 2017
02d5be0
Merge pull request #376 from bokobza/master
bokobza Nov 30, 2017
69cb50c
Merge branch 'master' into patch-1
bokobza Nov 30, 2017
b84a458
Merge branch 'master' into patch-1
bokobza Nov 30, 2017
d5421aa
Merge pull request #375 from D3m0nKingx/patch-1
bokobza Nov 30, 2017
0e92348
Simply naming of package files
Nov 30, 2017
ee14289
reverting name change of windows setup file
Nov 30, 2017
60449e5
final change of package naming using '-' carets
Nov 30, 2017
fc873b3
Merge pull request #377 from D3m0nKingx/patch-2
bokobza Nov 30, 2017
1df5917
Update README.md [skip ci]
Nov 30, 2017
f01c335
Update README.md
bokobza Nov 30, 2017
9c18f5c
Merge pull request #378 from D3m0nKingx/patch-4
bokobza Nov 30, 2017
dceadb6
added package for Mac
bokobza Nov 30, 2017
1ae719d
fixed os platform
bokobza Nov 30, 2017
6f967e5
Disable signing and fixed readme filenames
bokobza Nov 30, 2017
67d0b17
changed location of signing env variable
bokobza Nov 30, 2017
b3c76c5
remove the folder containing zip packages from Travis build
bokobza Dec 4, 2017
fc2b6ff
added electron folder to cache and set publish to null for electron b…
bokobza Dec 4, 2017
cb900a2
logging what dirs are present after travis build
bokobza Dec 4, 2017
1f606f5
fixed path for mac resources
bokobza Dec 4, 2017
c160999
add new mac dmg package link in readme
bokobza Dec 4, 2017
31314d7
Merge pull request #379 from bokobza/master
bokobza Dec 4, 2017
fa4f52c
updated Windows 32-bit link
bokobza Dec 4, 2017
bccab88
Added scripts to build packages locally
bokobza Dec 8, 2017
1d97f42
Merge branch 'master' of https://github.com/stratisproject/Breeze
bokobza Dec 8, 2017
d168409
replace the spaces in the name with a dot as CI system have trouble h…
bokobza Dec 8, 2017
2c9649b
Merge pull request #381 from bokobza/master
bokobza Dec 8, 2017
9a5c083
Update logos to 512x512
dev0tion Dec 9, 2017
2ad340e
Merge pull request #382 from stratisproject/ui
dev0tion Dec 9, 2017
170919a
Breeze changes
dev0tion Dec 12, 2017
d213aa9
Update dependencies
dev0tion Dec 12, 2017
9cecb69
Fix Windows build
dev0tion Dec 12, 2017
d1e0848
updated StratisBitcoinFullNode submodule
bokobza Jan 15, 2018
c635332
Adjust API to new standards
dev0tion Jan 15, 2018
bbf774c
updated SBFN path
bokobza Jan 15, 2018
aba99ea
Merge pull request #385 from stratisproject/submodule-update
bokobza Jan 15, 2018
2e3d6c0
Merge pull request #386 from bokobza/master
bokobza Jan 15, 2018
35b5a8b
updated StratisBitcoinFullNode submodule
bokobza Jul 13, 2018
705f3ab
updated build files
bokobza Jul 13, 2018
9c17184
Merge pull request #387 from stratisproject/submodule-update
bokobza Jul 13, 2018
5e3ec79
2100 - Breeze Updates for ICO. First commit.
Jul 26, 2018
0e0da38
2100 - Breeze Updates for ICO: latest
Jul 26, 2018
ee131b8
2100 - Breeze Updates for ICO: latest
Jul 27, 2018
1344ee0
2100 - Breeze Updates for ICO: Generate Addresses complete.
Jul 31, 2018
b1355d6
2100 - Breeze ICO updates
Jul 31, 2018
5348e6f
2100 - Breeze ICO updates: functionality complete, first-cut
Aug 2, 2018
9c83482
2100 - ICO updates: tweaks
Aug 2, 2018
8ae7ee4
2100 - Breeze ICO updates. Introduced monitor and serialDisposable. …
Aug 6, 2018
fa3c9e9
2100 - Breeze ICO updates. Improved error visuals
Aug 7, 2018
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
12 changes: 4 additions & 8 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -248,6 +248,7 @@ ModelManifest.xml

# dependencies
**/node_modules
package-lock.json

# IDEs and editors
/.idea
Expand Down Expand Up @@ -285,19 +286,14 @@ Thumbs.db
# This .gitignore file was automatically created by Microsoft(R) Visual Studio.
################################################################################

/Breeze.Api/.vs
/Breeze.Api/src/Breeze.Api.Tests/bin
/Breeze.Api/src/Breeze.Api.Tests/obj
/Breeze.Api/src/Breeze.Api/bin
/Breeze.Api/src/Breeze.Api/obj
*.user
/Breeze.Api/src/Breeze.Api/Wallets
/Breeze.Api/src/Breeze.Wallet/bin
/Breeze.Api/src/Breeze.Wallet/obj

# DNX
project.lock.json
/Breeze/src/Breeze.Daemon/Wallets
/Breeze/src/Breeze.Daemon/Logs
/Breeze.UI/.vscode/.BROWSE.VC.DB-wal
/Breeze.UI/.vscode/.BROWSE.VC.DB-shm
/Breeze.UI/daemon
/Breeze.UI/app-builds
/Breeze.UI/dist
38 changes: 25 additions & 13 deletions .travis.yml
Original file line number Diff line number Diff line change
@@ -1,18 +1,17 @@
language: csharp
mono: none
dotnet: 1.0.4
dotnet: 2.1.301
matrix:
include:
- os: linux # Ubuntu 14.04
dist: trusty
sudo: required
env: os_identifier=ubuntu.14.04
- os: osx # OSX 10.11
osx_image: xcode7.3
env: os_identifier=osx.10.11
- os: osx # OSX 10.12
osx_image: xcode8.1
env: os_identifier=osx.10.12
osx_image: xcode9
before_install:
- brew update
- ulimit -n 1024
- os_platform=darwin

# branches to build
branches:
Expand All @@ -25,26 +24,39 @@ env:
- arch=x64
- configuration=Release
- os_platform=linux
- TRAVIS_TAG=cd-unstable

- CSC_IDENTITY_AUTO_DISCOVERY=false

cache:
directories:
- ${TRAVIS_BUILD_DIR}/Breeze.UI/node_modules
- $HOME/.electron
- $HOME/.nuget/packages
- /usr/share/dotnet/sdk/ # dotnet path for linux
- /Users/travis/.dotnet/sdk/ # dotnet path for mac

# Work around NuGet issue #2163
# https://github.com/NuGet/Home/issues/2163
# https://github.com/travis-ci/travis-ci/issues/7728

before_install:
- if [ "$TRAVIS_OS_NAME" = "osx" ]; then ulimit -n 1024 ; os_platform=darwin ; fi

install:
- nvm install 6

before_script:
- if [ -z "$TRAVIS_TAG" ] ; then TRAVIS_TAG=cd-unstable; fi

script:
- chmod +x build.sh
- "./build.sh"

deploy:
provider: releases
api_key:
secure: $secure_github_key # this key is set on the Travis build page
file_glob: true
file: "$TRAVIS_BUILD_DIR/deploy/*.zip"
file:
- "$TRAVIS_BUILD_DIR/Breeze.UI/app-builds/*.deb"
- "$TRAVIS_BUILD_DIR/Breeze.UI/app-builds/*.tar.gz"
- "$TRAVIS_BUILD_DIR/Breeze.UI/app-builds/*.dmg"
skip_cleanup: true
overwrite: true
prerelease: true
Expand Down
123 changes: 66 additions & 57 deletions Breeze.Documentation/ApiSpecification.md
Original file line number Diff line number Diff line change
Expand Up @@ -3,9 +3,7 @@
## Request/Response

RESPONSE: response code (`200` for all successful requests, `4xx`/`5xx` if error, see later)

HEADERS
`Content-Type:application/json`
HEADERS: `Content-Type:application/json`

## Errors

Expand All @@ -20,7 +18,7 @@ Depending on the circumstance the API will either return an error at the first e
"errors": [
{
"status": 400,
"message": "No wallet file found at Wallets\\myFirstWallet.json",
"message": "No wallet file found at Wallets\\testwallet.json",
"description": "System.ArgumentException: No wallet file found at..."
}
]
Expand Down Expand Up @@ -55,7 +53,7 @@ This error message comes at all request if the wallet is not loaded yet, except

```
GET /wallet/general-info - Displays general information on the wallet
GET /wallet/sensitive - Displays sensitive information on the wallet
GET /wallet/extpubkey - Displays the extpubkey of the specified account
GET /wallet/status - Displays dynamic information on the wallet
POST /wallet/create - Creates the wallet
POST /wallet/load - Loads the wallet and starts syncing
Expand Down Expand Up @@ -91,14 +89,12 @@ POST /wallet/send-transaction - Attempts to send a transaction
## GET /wallet/mnemonic - Generate a mnemonic

### Query parameters
`language` (optional) - the language for the words in the mnemonic. Options are: English, French, Spanish, Japanese, ChineseSimplified and ChineseTraditional. The default is 'English'.

`wordcount` (optional) - the number of words in the mnemonic. Options are: 12,15,18,21 or 24. the default is 12.

`language` (optional) - the language for the words in the mnemonic. Options are: English, French, Spanish, Japanese, ChineseSimplified and ChineseTraditional. The default is 'English'.
`wordcount` (optional) - the number of words in the mnemonic. Options are: 12,15,18,21 or 24. the default is 12.
### Examples
request
```
http://localhost:5000/api/wallet/mnemonic?wordcount=15&language=French
http://localhost:37220/api/wallet/mnemonic?wordcount=15&language=French
```
response
```
Expand All @@ -107,7 +103,7 @@ response

request
```
http://localhost:5000/api/wallet/mnemonic?wordcount=12&language=english
http://localhost:37220/api/wallet/mnemonic?wordcount=12&language=english
```
response
```
Expand All @@ -118,33 +114,43 @@ response
## GET /wallet/general-info - Displays general information on the wallet

### Query parameters
`walletName` (required) - the name of the wallet.
`name` (required) - the name of the wallet.

### Responses
### Examples

#### Request
```
{
"walletFilePath":"path to the wallet file",
"network":"main", //"testnet", "stratismain", "stratistest"
"creationTime":"2017-03-21",
"isDecrypted":true,
"lastBlockHeight":123234,
"chainTip": 173721,
"connectedNodes": 5
}
http://localhost:37220/api/wallet/general-info?name=testwallet
```
## GET /wallet/sensitive - Displays sensitive information on the wallet
### Parameters

#### Response
```
{
"password": "password"
"walletFilePath":null,
"network":"testnet", //"main", "testnet", "stratismain", "stratistest"
"creationTime":"1511169493",
"isDecrypted":true,
"lastBlockSyncedHeight":1231116,
"chainTip":1231116,
"isChainSynced":true,
"connectedNodes":8
}
```
### Responses

## GET /wallet/extpubkey - Displays the extpubkey of the specified account
### Query parameters
`walletName` (required) - the name of the wallet.

### Examples
#### Request
```
{
"extkey": "sadwqdpqoijedqcdoijsadoijsadisa",
"extpubkey": "dalkdsaklkjdlkjdsaljlkjdsalkjdsalk",
}
http://localhost:37220/api/wallet/extpubkey?walletName=testwallet&accountName=account%200
```

#### Response
Returns the public key hash of the account.
```
"tpubDDVB7J4oNpyWFUVp91UcQnxUVJExWPV5NecBFTzQVH6d3A9pcrYCvu8jGzCHVAzyD99Sk3g3kLYMx6MocpzmtusmDgpbx27Msc5iCKefMUm"
```
## GET /wallet/status - Displays dynamic information on the wallet
### Responses
Expand All @@ -163,15 +169,18 @@ response

## POST /wallet/create - Creates the wallet
### Parameters
`name` - case-sensitive name of the wallet to be created.
`password` - password for the wallet to be created.
`mnemonic` (optional) - the user's mnemonic for the wallet.
```
{
"network": "main", // "main" or "testnet"
"password": "password",
"name": "wallet-btc",
"mnemonic": "gravity sock glove cage divert creek mountain connect small banana depend thunder" // optional
"name": "testwallet",
"password": "testpassword",
"mnemonic": "gravity sock glove cage divert creek mountain connect small banana depend thunder"
}
```
### Responses
Returns the mnemonic for the wallet. If there was no mnemonic defined as input then a newly generated word list will be returned.
```
{
"mnemonic": "gravity sock glove cage divert creek mountain connect small banana depend thunder",
Expand All @@ -181,9 +190,9 @@ response
### Parameters
```
{
"password": "123456",
"folderPath": "Wallets", // optional, if the folder path is not the default one
"name": "myWallet"
"name": "testwallet",
"password": "testpassword"
}
```

Expand All @@ -196,11 +205,11 @@ response
### Parameters
```
{
"network": "main", // "main" or "testnet"
"password": "password",
"mnemonic": "foo bar buz",
"name": "testwallet-recovered",
"network": "testnet", // "main" or "testnet"
"folderPath": "Wallets", // optional, if the folder path is not the default one
"name": "testwallet-recovered",
"password": "testpassword",
"mnemonic": "gravity sock glove cage divert creek mountain connect small banana depend thunder",
"creationTime": "2017-02-25 16:20:33" // date from which to start looking for transactions
}
```
Expand All @@ -218,9 +227,9 @@ This endpoint will get the first account containing no transaction or will creat
### Parameters
```
{
"walletName": "myFirstWallet",
"password": "123456",
"coinType": 105
"walletName": "testwallet",
"password": "testpassword",
"coinType": 105 // 0 - Bitcoin, 105 - Stratis
}
```
### Responses
Expand All @@ -232,11 +241,9 @@ This endpoint will get the first account containing no transaction or will creat

This endpoint will get the last address containing no transaction or will create a new address.
### Query parameters
`walletName` (required) - the name of the wallet in which this address is contained.

`coinType` (required) - the type of coin for which to get the address, e.g 0 for bitcoin, 105 for stratis.

`accountName` (required) - the name of the account in which this address is contained.
`walletName` (required) - the name of the wallet in which this address is contained.
`coinType` (required) - the type of coin for which to get the address, e.g 0 for bitcoin, 105 for stratis.
`accountName` (required) - the name of the account in which this address is contained.
### Responses
```
"1HDypWxXWZC5KXK259EHMnrWaa2youy7Mj"
Expand All @@ -261,10 +268,8 @@ This endpoint will get the last address containing no transaction or will create

## GET /wallet/history - Displays the history of the specified wallet account
### Query parameters
`walletName` (required) - the name of the wallet.

`coinType` (required) - the type of coin, e.g 0 for bitcoin, 105 for stratis.

`walletName` (required) - the name of the wallet.
`coinType` (required) - the type of coin, e.g 0 for bitcoin, 105 for stratis.
### Responses
```
{
Expand Down Expand Up @@ -297,11 +302,15 @@ This endpoint will get the last address containing no transaction or will create

## GET /wallet/balance - Displays the balances of the specified wallet account
### Query parameters
`walletName` (required) - the name of the wallet.

`coinType` (required) - the type of coin, e.g 0 for bitcoin, 105 for stratis.
`walletName` (required) - the name of the wallet.
`coinType` (required) - the type of coin, e.g 0 for bitcoin, 105 for stratis.

### Responses
### Examples
#### Request
```
http://localhost:37220/api/wallet/balance?walletName=testwallet
```
#### Response
```
{
"balances": [
Expand All @@ -322,7 +331,7 @@ Unconfirmed balance is the difference of unconfirmed incoming and outgoing trans
### Parameters
```
{
"walletName": "myFirstWallet",
"walletName": "testwallet",
"accountName": "account 0",
"coinType": 0,
"password": "password",
Expand Down
4 changes: 2 additions & 2 deletions Breeze.UI/.angular-cli.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"project": {
"name": "breeze-ui",
"name": "Breeze",
"ejected": true
},
"apps": [
Expand All @@ -18,7 +18,7 @@
"testTsconfig": "tsconfig.spec.json",
"prefix": "app",
"styles": [
"../node_modules/bootstrap/dist/css/bootstrap.min.css",
"./node_modules/ngx-bootstrap/datepicker/bs-datepicker.css",
"styles.css"
],
"scripts": [],
Expand Down
23 changes: 11 additions & 12 deletions Breeze.UI/README.md
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
# Breeze-UI
# Breeze.UI

Graphical User Interface for Stratis Breeze Wallet.

Expand Down Expand Up @@ -27,24 +27,23 @@ From within Breeze.UI directory run:
npm install
```

There is an issue with `yarn` and `node_modules` that are only used in electron on the backend when the application is built by the packager. Please use `npm` as dependencies manager.
There is an issue with `yarn` and `node_modules` that are only used in electron on the backend when the application is built by the packager. Please use `npm` as dependency manager.

If you want to generate Angular components with Angular-cli , you **MUST** install `@angular/cli` in npm global context.
Please follow [Angular-cli documentation](https://github.com/angular/angular-cli) if you had installed a previous version of `angular-cli`.

``` bash
sudo npm install -g @angular/cli
```
If you want to generate Angular components with Angular-cli, you **MUST** install `@angular/cli` in npm global context.
If you have already installed a previous version of `angular-cli`, follow [Angular-cli documentation](https://github.com/angular/angular-cli), otherwise execute `sudo npm install -g @angular/cli` command.

## To build for development

- **in a terminal window** -> npm start
#### Terminal Window 1
[Run the daemon](https://github.com/stratisproject/Breeze/blob/master/README.md#daemon-build)

#### Terminal Window 2
`npm start`
This will compile the Angular code and spawn the Electron process in parallel.
After compilation has completed the Electron UI will refresh.

If you want to seperate the build process from the Electron process you can use:
- **in a terminal window** -> `npm run start:webpack`
- **in another terminal window** -> `npm run electron:serve`
#### Terminal Window 3, 4
If you want to seperate the build process from the Electron process you can use `npm run start:webpack` and `npm run electron:serve`.

## To build for production

Expand Down
Loading