Skip to content

Commit

Permalink
SmartCash adjustment, Release 1.0
Browse files Browse the repository at this point in the history
  • Loading branch information
xdustinface committed Sep 25, 2018
1 parent c4086c2 commit fdd7e4e
Show file tree
Hide file tree
Showing 12 changed files with 21,569 additions and 8,942 deletions.
169 changes: 2 additions & 167 deletions changelog.md
Original file line number Diff line number Diff line change
@@ -1,167 +1,2 @@
# 0.3.8s

* Add Stash network

# 0.3.8

* Add p2wpkh for litecoin
* Add more networks - TSTRAT, Hush, ETC, PIRL, CLO, MIX, MUSIC, POA, EXP
* Add coinomi/ledger client to BIP32 tab
* Fix SYSCOIN and BTX parameters
* Remove bip39-standalone.html from repository
* Remove duplicate id properties on html elements

# 0.3.7

* Update AXE network parameters
* Add new networks - Xuez, BTCP, BTCZ, ZCL, ZEN
* Add litecoin bech32 params
* Fix BIP38 for altcoins
* Fix missing span closing tag
* Add indicator to UI for when BIP84 is unavailable
* Replace hasSegwit variable with test for segwit params
* Allow xpub to be used as root key for segwit derivations
* Add visual privacy safeguard

# 0.3.6

* Add Kobocoin
* Update Vertcoin version byte and segwit support
* Add Zcash
* Korean mnemonics use ascii spaces
* Add CashAddr address format for bitcoin cash

# 0.3.5

* Fix typo
* Add Neblio network
* Update bitcoinjs-lib from 3.3.0 to 3.3.2
* Add Beetle Coin
* Add segwit for bitcoin testnet and Fujicoin
* Set coin number for Bitcoin God to 156
* Add coins supported by coinomi
* Warn when generating low entropy mnemonics
* Warn when overriding weak entropy with a strong mnemonic length

# 0.3.4

* Add BlackCoin
* Add Denarius
* Raw entropy shows groupings with space every 11 bits
* Checksum shown in entropy details
* Warn that entropy values should exclude checksum
* Add Korean language

# 0.3.3

* Add AXE network
* Ethereum private key generation bugfix
* Add BIP38 support
* Allow initial number of rows to be set by the user

# 0.3.2

* Add Onixcoin
* Add Komodo
* BIP84 tab for derivation path
* CSV tab for derived addresses

# 0.3.1

* Populate entropy field with hex value used from PRNG
* Show list of word indexes
* Fix typos
* Update jquery from 2.1.1 to 3.2.1
* Update bootstrap from 3.2.0 to 3.3.7
* Move application-specific css into own file
* QR codes with accents work correctly by replacing jquery.qrcode with kjua

# 0.3.0

* Update bitcoinjs from 3.1.1 to 3.3.0
* Litecoin defaults to ltub instead of xpub
* Segwit option removed from bip32 tab
* BIP141 tab added for full segwit compatibility

# 0.2.9

* Update links from old site to new site
* Add Monacoin
* Add Bitcoin Gold
* Port test suite to selenium
* Allow more rows to be generated starting from a custom index

# 0.2.8

* Enable segwit for Litecoin
* BitPay-style addresses for Bitcoin Cash
* Use new xpub/xprv prefixes for Segwit BIP49
* Add nubits network

# 0.2.7

* Add Fujicoin
* List alternative tools
* Remove unused translations and library

# 0.2.6

* Detect and warn when entropy is filtered / discarded
* Reword entropy text to indicate using a single source only
* Add BIP49 to More Info section
* Update compile script to work across python 2 and 3
* QR Codes use correctLevel 3 instead of 2
* Source map removed from zxcvbn
* Tidy up code with consistent use of commas and semicolons

# 0.2.5

* Rename variables for clarity between BIP49 and P2WPKH Nested In P2SH
* Fix bug for validation of root key when using non-bitcoin networks
* Add option to use P2WPKH Nested In P2SH addresses on BIP32 tab

# 0.2.4

* Show error when using xpub with hardened addresses
* Allow switching litecoin prefixes between xprv and Ltpv

# 0.2.3

* Add maza coin

# 0.2.2

* Improve showing feedback for pending calculations
* Bugfix: Clear old seed when mnemonic is changed
* Add PIVX network

# 0.2.1

* BTC is the default coin
* Add myriadcoin
* Add Bitcon Cash

# 0.2.0

* BitcoinJS library upgrded to v3.1.1
* Tab order is alphabetical
* BIP44 'purpose' and 'coin' fields are readonly
* Refactor method to clear old data from the display
* BIP49 support
* Release process is documented

# 0.1.2

* Add Crown network
* Network names are displayed with currency code

# 0.1.1

* Add DASH Testnet
* Change entropy Strength to Time To Crack

# 0.1.0 2017-06-14

* Add changelog
* Display version number in top right
* Add hex prefix to ethereum keys
# 1.0
* Forked and adjusted for SmartCash
4 changes: 2 additions & 2 deletions compile.py
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
import datetime
from io import open

# This script generates the bip39-standalone.html file.
# This script generates the bip39-smartcash-standalone.html file.

# It removes script and style tags and replaces with the file content.

Expand Down Expand Up @@ -42,7 +42,7 @@

# Write the standalone file

f = open('bip39-standalone.html', 'w', encoding="utf-8")
f = open('bip39-smartcash-standalone.html', 'w', encoding="utf-8")
f.write(page)
f.close()

Expand Down
70 changes: 6 additions & 64 deletions readme.md
Original file line number Diff line number Diff line change
@@ -1,14 +1,14 @@
# BIP39 Tool
# SmartCash BIP39 Tool

A tool for converting BIP39 mnemonic phrases to addresses and private keys.
A tool for converting BIP39 mnemonic phrases to SmartCash addresses and private keys.

## Online Version

https://iancoleman.io/bip39/
https://hdwallet.dustinface.me

## Standalone offline version

Download `bip39-standalone.html`
Download `bip39-smart-standalone.html`

Open the file in a browser by double clicking it.

Expand All @@ -23,67 +23,9 @@ If required, set the derivation path, although the defaults are quite usable.

See the table for a list of addresses generated from the phrase.

Toggle columns to blank to easily copy/paste a single column of data, eg to
import private keys into a wallet or supply someone with a list of addresses.

The BIP32 keys can be used at [bip32.org](https://bip32.org) if desired.

## Donations

Since this project is the efforts of many people, most of which don't appear in
the obvious places like code or issues, donating to the project itself causes
significant operational difficulties.

As a result, if you would like to support this project financially you are
encouraged to donate to one of the many groups that makes the internet a place
amenable to projects such as this one.

[Donation-accepting organizations and projects](https://en.bitcoin.it/wiki/Donation-accepting_organizations_and_projects)

If the list is too difficult to choose from, the EFF is a good choice.

[Electronic Frontier Foundation](https://supporters.eff.org/donate)

or for a direct bitcoin address, consider donating to the
[Free Software Foundation](https://www.fsf.org/about/ways-to-donate/)
at 1PC9aZC4hNX2rmmrt7uHTfYAS3hRbph4UN

![alt text](https://static.fsf.org/nosvn/images/bitcoin_qrcodes/fsf.png "FSF Bitcoin Address")

## Making changes

Please do not make modifications to `bip39-standalone.html`, since they will
be overwritten by `compile.py`.

Make changes in `src/*`.

Changes are applied during release using the command `python compile.py`, so
please do not commit changes to `bip39-standalone.html`

# Tests

Tests depend on

* nodejs
* selenium webdriver - cd /path/to/bip39/tests; npm install
* selenium driver for firefox ([geckodriver](https://github.com/mozilla/geckodriver/releases)) and / or chrome ([chromedriver](https://sites.google.com/a/chromium.org/chromedriver/downloads))
* jasmine - npm install --global jasmine

Before running tests, the site must be served at http://localhost:8000.

```
$ cd /path/to/bip39/src
$ python -m http.server
```

Run tests from the command-line

```
$ cd /path/to/bip39/tests
$ jasmine spec/tests.js
```
Toggle columns to blank to easily copy/paste a single column of data, eg to import private keys into a wallet or supply someone with a list of addresses.

# License

This BIP39 tool is released under the terms of the MIT license. See LICENSE for
This tool is released under the terms of the MIT license. See LICENSE for
more information or see https://opensource.org/licenses/MIT.
9 changes: 4 additions & 5 deletions release_process.md
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ created with the following steps:
1. Run `python compile.py`
1. Commit these changes with message `Release vX.Y.Z`
1. Tag the commit `git tag X.Y.Z`
1. Get the hash of the file `sha256sum bip39-standalone.html`
1. Get the hash of the file `sha256sum bip39-smart-standalone.html`
1. Create the text for the release notes (see prior releases)
1. Sign the release notes `gpg --clearsign /tmp/signature.txt`
1. Push the changes `git push`
Expand All @@ -16,8 +16,7 @@ created with the following steps:
1. include the signed release notes as text for the release
1. include the changelog for this release as text for the release
1. attach signature.txt.asc
1. attach the bip39-standalone.html file
1. Add a new post to twitter from @bip39tool with the version, link and hash
1. Publish to any hosted locations (eg iancoleman.github.io/bip39)
1. Download the file from the release and confirm it hashes to the expected value `sha256sum bip39-standalone.html`
1. attach the bip39-smart-standalone.html file
1. Publish to any hosted locations (eg smarthd.dustinface.me)
1. Download the file from the release and confirm it hashes to the expected value `sha256sum bip39-smart-standalone.html`
1. Download the signature from the release and verify it. `gpg --verify signature.txt.asc`
25 changes: 22 additions & 3 deletions src/css/app.css
Original file line number Diff line number Diff line change
@@ -1,6 +1,7 @@
body {
padding-bottom: 32px;
}

.form-control[readonly] {
cursor: text;
}
Expand All @@ -14,10 +15,10 @@ body {
.feedback {
display: table;
padding: 0.5em 1em;
background-color: orange;
background-color: #FEC60D;
margin: 0 auto;
font-size: 2em;
color: #444;
color: #FFFF;
border: 2px solid #555;
border-top: 0;
border-bottom-left-radius: 20px 20px;
Expand Down Expand Up @@ -61,7 +62,7 @@ body {
color: #009F00;
}
.card-suit.diamond {
color: #3D5DC4;
color: #FEC60D;
}
.card-suit.heart {
color: #F00;
Expand Down Expand Up @@ -106,3 +107,21 @@ body {
.visual-privacy .private-data {
display: none;
}

#logo {
width: 30%;
display: block;
margin-left: auto;
margin-right: auto;
}

#header {
margin: auto;
padding: 10px;
text-align: center;
}

#header h1{
font-size: 30px;
font-size: 3.5vw;
}
4 changes: 2 additions & 2 deletions src/css/bootstrap-3.3.7.css

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

224 changes: 19 additions & 205 deletions src/index.html

Large diffs are not rendered by default.

Loading

0 comments on commit fdd7e4e

Please sign in to comment.