Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
47 commits
Select commit Hold shift + click to select a range
780c957
Create folder and style.css here
username1565 Jun 12, 2018
869cf89
Create folder and icons.svg here
username1565 Jun 12, 2018
b942e02
Create folder and script.js
username1565 Jun 12, 2018
94719a5
upload JS-scripts
username1565 Jun 12, 2018
66fedb5
javascript-file-encrypter - added
username1565 Jun 12, 2018
70c00b6
Armory.js updated.
username1565 Jun 12, 2018
3c45e00
Update electrum.js
username1565 Jun 12, 2018
3b82603
t-addr_convertations.js - added.
username1565 Jun 12, 2018
2229805
brainwallet.js - updated. See Readme.md
username1565 Jun 12, 2018
e24a762
Brainwallet.css - updated.
username1565 Jun 12, 2018
4e77f41
Brainwallet index.html - updated. See readme.md
username1565 Jun 12, 2018
0cd1536
Update readme.md
username1565 Jun 12, 2018
7c5e874
test list
username1565 Jun 12, 2018
1fb5121
add list
username1565 Jun 12, 2018
ea9e15a
write as strings
username1565 Jun 12, 2018
6327518
add whitespaces
username1565 Jun 12, 2018
68618a4
Upload latest Jquery
username1565 Jun 12, 2018
aaac996
Upload this files here
username1565 Jun 12, 2018
6d47fb8
No to this folder needed.
username1565 Jun 12, 2018
66423d7
move this file
username1565 Jun 12, 2018
ac19b62
Change default coin - to bitcoin.
username1565 Jun 12, 2018
977073d
Add links.
username1565 Jun 12, 2018
85847a8
Fix link on the main page
username1565 Jun 12, 2018
46b50e3
Delete .column style - not using.
username1565 Jun 12, 2018
79b9f84
Scrollable two column menu fixed
username1565 Jun 12, 2018
de5847e
Fix readonly textarea in converter
username1565 Jun 12, 2018
d147918
Again make bitcoin the default coin.
username1565 Jun 12, 2018
c7992ef
Update Readme.md
username1565 Jun 13, 2018
381a917
Fix comparation in openFile function
username1565 Jun 13, 2018
b485f62
Changes in openFile function
username1565 Jun 13, 2018
e0e107f
Not only src-textares.
username1565 Jun 13, 2018
fd5ce53
fix
username1565 Jun 13, 2018
0714b1e
Delete CNAME
username1565 Jun 27, 2018
eb0cc69
Add UTF-8 encoding to converter.
username1565 Jul 21, 2018
deec779
Update README.md
username1565 Aug 6, 2018
de17257
Make signatures compatible with qt-wallets
username1565 Oct 14, 2018
e355453
Fix links
username1565 Nov 5, 2018
19961e0
Add Ethereum
username1565 Nov 14, 2018
0d31330
Just add guncoin
username1565 Apr 9, 2020
e48d626
comment code to don't show that window
username1565 Apr 9, 2020
36a80b4
Guncoin using uncompressed keys and addresses
username1565 Apr 9, 2020
0c11b38
comment this all
username1565 Apr 9, 2020
3af683e
Update brainwallet.js
username1565 Apr 9, 2020
36c2bb3
Add strMessageMagic = "Guncoin Signed Message:\n"
username1565 Apr 9, 2020
794059b
Changes and additions.
username1565 Apr 19, 2020
9e32143
Add Galleoncoin (GALE)
username1565 Dec 1, 2021
50f7e65
Try to add Safechain (SFC)
username1565 Jan 15, 2022
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
1 change: 0 additions & 1 deletion CNAME

This file was deleted.

86 changes: 86 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -13,4 +13,90 @@ Notable features
* Bitcoin transactions editor
* Signing and verifying messages with bitcoin address
* Litecoin support
___________________________________________________________________________________________________________
- New changes available on this page: https://username1565.github.io/brainwallet.github.io/
- Source code - here: https://github.com/username1565/brainwallet.github.io
___________________________________________________________________________________________________________
Changes:
- Add "javascript-file-encrypter".
- Add there option to upload keyfile with password as text inside.
- Add openFile-function there to load text field by file text-content.
...
See changes in javascript-file-encryptor, by comparing the code,
or read README.md here: https://github.com/username1565/javascript-file-encrypter/blob/master/README.md
or see changes.txt, here: https://github.com/username1565/brainwallet.github.io/blob/master/javascript-file-encrypter/changes.txt
___________________________________________________________________________________________________________
index.html changes:
- Add key-file tab for downloading 32 bytes key, which can be using as password to encryption and decryption.
- This value is available in separate field "passphrase" and generating as:
- this = SHA256(priv_hex) XOR sha256(hash_of_random_seed + current_addr);
- downloading as text and as file. This function in beginning of brainwallet.js
- Come back the tab "Important Security Update!"
- Add XOR page to do XOR values.
- Add new tab t-addr. Conversion between transparent-addr <-> bitcoin-addr.
___________________________________________________________________________________________________________
Brainwallet.js:
- Add multistring variable "var random_seed" to specify custom random-seed.
- Dynamic text, for toggle buttons - added.
- Generator update:
- Add field "Coin parameters".
- Add toogle-button for "passphrase".
- Add "hash of random_seed" field.
- Add XOR button to get generated private key, XORed by "hash of random_seed".
- Now the same password with different random_seed - give different private keys.
- Add "Secure Random button" for generating "secret exponent" (private key HEX).
- Add button to switch type of address (Default address, SegWit and transparent t-addr).
- Add toogle trigger when "private key" selected.
- "Toogle key" button triggered to do show private key, when private key selected.
___________________________________________________________________________________________________________
"Chains" update:
- add "hash of random seed" and XOR button. Generated keys and specified keys can be xored to this.
- add two strings in Paper Backup - to encode "Chain Code" and this is compatible with previous brainwallet.
___________________________________________________________________________________________________________
Converter update:
- Add SHA-256 to converter.
- Add converting bitocoin address to ZCash t-addr and t-addr to bitcoin address.
- Using locally Get-queries there (separate function).
- Uploading files, for textarea - added.
- download textarea, as binary - added.
- download result as UTF-8 encoded text - added.
- RAW encoding for source code of files - added.
- Now, you can see hex-code of file, for example. Also you can download the same file as binary.
- Now, you can upload any binary file, as RAW-data, see base64 or hex, sign this, verify, then decode this from hex -> to base64 and download as binary. This is the same file, and this opened after renaming, with add extension.
___________________________________________________________________________________________________________
"Sign" and "Verify" update:
- Fix. Armory HEX now give the verified status, after message signed, in the case when another coin selected in the list.
- ARCH -> Sign -> Armory HEX -> Sign message -> verify -> Signed message -> MESSAGE VERIFIED.
___________________________________________________________________________________________________________
Coins list update:
- Now list with the coins is scrollable. Height is limited.
- Add separate parameter to array with coins.
- Now can be specified is coin using compressed or uncompressed keys and addresess.
- Add autoswitching for the status of "Compressed" button, when coin selected in the list.
- Add autoswitching public key byte when coin selected in list.
- Chains-tab: Armory and Electrum now supporting compressed keys and addresses.
- EmerCoin - added. Domain coin: https://explorer.emercoin.com/nvs
- SixEleven - added. Good coin for domain names, where is supporting CNAME, for dynamic dns.
- Here you can see old version of this brainwallet: https://brain.611.to
- VertCoin - added. https://www.coinexplorer.net/VTC
- GeertCoin - added. Only 9.6 million total coins, short blockchain. Cheap coin.
- Waves - added just for google. They have DEX with many different tokens traded each for each.
___________________________________________________________________________________________________________
-This code need to be optimized and compress. So many comments there.
__________________________
What need to fix?
Check and verify signatures for another altcoins, using compressed private keys...
For example, Geertcoin have compressed private keys and address...
1. Go to https://username1565.github.io/brainwallet.github.io/
2. Select Geertcoin in the list.
3. Default private key in generator: RZUp8o9zpfvDqHixCok4gcHLneqpo8ZEQBM1dVzTLBZ9p5TDnxd5
address corresponded for this private key is GNaix3HVRokcTW9CPM9N8vsVtuzmjguTrv - both are compressed...
4. Go to "Sign" tab, and press the button "Sign Message".
5. Signed message can be [verified now, in brainwallet](https://username1565.github.io/brainwallet.github.io/#verify?vrAddr=GNaix3HVRokcTW9CPM9N8vsVtuzmjguTrv&vrMsg=This%20is%20an%20example%20of%20a%20signed%20message.&vrSig=HzRtqv21fSm%2F6LBmFX57ppSddO4GXihI60rDRAET1baSt1D9fGsGIie75xgBJfcDZOF6bLZKjKA9odKzobsaRHY%3D)
bitcoin-qt version of this message, can be verified too, and only in brainwallet...

But in geertcoin-qt.exe this message cann't be verified!
Also, message, signed in geertcoin-qt.exe cannt be verified in brainwallet...
This need to test for all altcoins, where using compressed and uncompressed keys.

Best regards...
18 changes: 16 additions & 2 deletions css/brainwallet.css
Original file line number Diff line number Diff line change
Expand Up @@ -3,12 +3,26 @@ body {
padding-bottom: 32px;
}

.form-control { font-family: monospace; }

.form-control[disabled], .form-control[readonly] { cursor: auto; }

.dropdown-menu-two-column {
-moz-column-count: 2;
-webkit-column-count: 2;
column-count:2;
width: 360px;
padding: 7px 0px;
width: 420px;
padding: 30px 0px;
}

.scrollable-menu {
width:200px;
height: auto;
max-height: 500px;
overflow-x: hidden;
}

.navbar-brand { color: #BB0 !important; }

.navbar-left li:first-child a { color: #F88; }
.navbar-left li:first-child a:hover { color: #F00; }
Loading