Skip to content

Commit bae4bde

Browse files
committed
Update for BlogCoin
1 parent dd136ce commit bae4bde

40 files changed

+162
-154
lines changed

LICENSE.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
ISC License (ISC)
22

3-
Copyright (c) 2018, Macroshock, Rixombea, TurtleCoin Developers
3+
Copyright (c) 2018, Macroshock, Rixombea, TurtleCoin Developers, BlogCoin Developers
44

55
Permission to use, copy, modify, and/or distribute this software for any purpose with or without fee is hereby granted, provided that the above copyright notice and this permission notice appear in all copies.
66

README.md

Lines changed: 27 additions & 27 deletions
Original file line numberDiff line numberDiff line change
@@ -1,10 +1,10 @@
1-
## WalletShell - GUI wallet for TurtleCoin.
1+
## BlogShell - GUI wallet for BlogCoin.
22

3-
![WalletShell Screens](https://i.imgur.com/41Ujq0S.gif "WalletShell Screens")
3+
![BlogShell Screens](https://i.imgur.com/41Ujq0S.gif "BlogShell Screens")
44

55
### Features:
66

7-
This wallet contains the basic functions required to manage your TurtleCoin assets:
7+
This wallet contains the basic functions required to manage your BlogCoin assets:
88

99
* Wallet creation:
1010
* Create new wallet.
@@ -28,45 +28,45 @@ This wallet contains the basic functions required to manage your TurtleCoin asse
2828
* Allow to optionally create password protected address book.
2929
* Misc:
3030
* Option to use system tray (on closing/minimizing wallet)
31-
* Provides list of public nodes, fetch/updated daily from [turtlecoin-nodes-json](https://github.com/turtlecoin/turtlecoin-nodes-json) repo.
31+
* Provides list of public nodes, fetch/updated daily from [BlogCoin-nodes-data](https://github.com/blognetwork/BlogCoin-nodes-data) repo.
3232
* Allow to add custom node address.
3333
* Theme: Dark & Light Mode
3434
* [Keyboard shortcuts](docs/shortcut.md)
3535

36-
### Download & Run WalletShell
36+
### Download & Run BlogShell
3737

3838
#### Windows:
39-
1. Download the latest installer here: https://github.com/turtlecoin/turtle-wallet-electron/releases/latest
40-
2. Run the installer (`walletshell-<version>-win-setup.exe`) and follow the installation wizard.
41-
3. Launch WalletShell via start menu or desktop shortcut.
39+
1. Download the latest installer here: https://github.com/blognetwork/BlogCoin-electron-wallet/releases/latest
40+
2. Run the installer (`blogshell-<version>-win-setup.exe`) and follow the installation wizard.
41+
3. Launch BlogShell via start menu or desktop shortcut.
4242

4343
#### GNU/Linux (AppImage):
44-
1. Download latest AppImage bundle here: https://github.com/turtlecoin/turtle-wallet-electron/releases/latest
45-
2. Make it executable, either via GUI file manager or command line, e.g. `chmod +x walletshell-<version>-linux.AppImage`
44+
1. Download latest AppImage bundle here: https://github.com/blognetwork/BlogCoin-electron-wallet/releases/latest
45+
2. Make it executable, either via GUI file manager or command line, e.g. `chmod +x blogshell-<version>-linux.AppImage`
4646
3. Run/execute the file, double click in file manager, or run via shell/command line (See: https://docs.appimage.org/user-guide/run-appimages.html)
4747

4848
#### macOS
49-
1. Download latest archive here: https://github.com/turtlecoin/turtle-wallet-electron/releases/latest
49+
1. Download latest archive here: https://github.com/blognetwork/BlogCoin-electron-wallet/releases/latest
5050
2. Extract downloaded zip archived
51-
3. Run the executable binary (`WalletShell.app/Contents/MacOs/WalletShell`)
51+
3. Run the executable binary (`BlogShell.app/Contents/MacOs/BlogShell`)
5252

53-
### Using WalletShell
54-
Please visit our wiki page: [WalletShell User Guide](../../wiki).
53+
### Using BlogShell
54+
Please visit our wiki page: [BlogShell User Guide](../../wiki).
5555

56-
### Building/Packaging WalletShell
56+
### Building/Packaging BlogShell
5757
You need to have `Node.js` and `npm` installed, go to https://nodejs.org and find out how to get it installed on your platform.
5858

5959
Once you have Node+npm installed:
60-
```
60+
```bash
6161
# assuming you're building it on GNU/Linux
62-
# first, download turtle-service binary for each platform
63-
# from TurtleCoin official repo
64-
# https://github.com/turtlecoin/turtlecoin/releases
65-
# extract the turtle-service executable somewhere
62+
# first, download blogcoin-service binary for each platform
63+
# from BlogCoin official repo
64+
# https://github.com/blognetwork/blogcoin/releases
65+
# extract the blogcoin-service executable somewhere
6666

6767
# clone the repo
68-
$ git clone https://github.com/turtlecoin/turtle-wallet-electron
69-
$ cd turtle-wallet-electron
68+
$ git clone https://github.com/blognetwork/BlogCoin-electron-wallet
69+
$ cd BlogCoin-electron-wallet
7070

7171
# install dependencies
7272
$ npm install
@@ -79,23 +79,23 @@ $ cp ./src/assets/icon.* ./build/
7979

8080
# build GNU/Linux package
8181
$ mkdir -p ./bin/lin
82-
$ cp /path/to/linux-version-of/turtle-service ./bin/lin/
82+
$ cp /path/to/linux-version-of/blogcoin-service ./bin/lin/
8383
$ npm run dist-lin
8484

8585
# build Windows package (you need to have wine 2.0+ installed)
8686
$ mkdir -p ./bin/win
87-
$ cp /path/to/win-version-of/turtle-service.exe ./bin/win/
87+
$ cp /path/to/win-version-of/blogcoin-service.exe ./bin/win/
8888
$ npm run dist-win
8989

9090
# build OSX package
9191
$ mkdir -p ./bin/osx
92-
$ cp /path/to/osx-version-of/turtle-service ./bin/osx/
92+
$ cp /path/to/osx-version-of/blogcoin-service ./bin/osx/
9393
$ npm run dist-mac
9494
```
9595

9696
Resulting packages or installer can be found inside `dist/` directory.
9797

9898
### Porting for another coin
99-
Please see [this guide](docs/porting.md) if you want to adapt WalletShell to be use for your own TurtleCoin fork.
99+
Please see [this guide](docs/porting.md) if you want to adapt BlogShell to be use for your own BlogCoin fork.
100100

101-
![WalletShell](docs/walletshell.png)
101+
![BlogShell](docs/blogshell.png)
File renamed without changes.
File renamed without changes.

docs/porting.md

Lines changed: 19 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -1,28 +1,35 @@
1-
## Porting WalletShell for Another Currency
1+
# Porting BlogShell for Another Currency
22

3-
> Note that this is only valid/possible for `turtle-service` compatible currency (e.g. a TurtleCoin fork).
3+
> Note that this is only valid/possible for `blogcoin-service` compatible currency (e.g. a BlogCoin fork).
44
5-
You can modify WalletShell to be used for your own `turtle-service` compatible currency with few simple steps (assuming you already grab the source code by cloning our repo):
5+
You can modify BlogShell to be used for your own `blogcoin-service` compatible currency with few simple steps (assuming you already grab the source code by cloning our repo):
66

7-
### 1. Update package.json
8-
This step is important in order to avoid conflict with the original WalletShell (or other fork), when user happen to install both wallet version.
7+
## 1. Update package.json
8+
9+
This step is important in order to avoid conflict with the original BlogShell (or other fork), when user happen to install both wallet version.
910

1011
Edit `package.json` file, change the values of the following keys:
12+
1113
- `name`
1214
- `productName`
1315
- `appId`
1416

15-
### 2. Update ws_config.js
17+
## 2. Update ws_config.js
18+
1619
Edit `src/js/ws_config.js` file, update config values to match your currency configuration/requirements.
1720
Each config item are pretty much self explanatory and are commented for clarity.
1821

19-
### 3. Re-skining (Optional)
20-
If you want your version of WalletShell looks different than what provided by default, you can do a few tweaks to re-skin/updating the appearance:
22+
## 3. Re-skining (Optional)
23+
24+
If you want your version of BlogShell looks different than what provided by default, you can do a few tweaks to re-skin/updating the appearance:
25+
2126
- Edit `src/css/common.css` to modify general appearance (layout, sizing, color, etc)
2227
- Replace `src/assets/image/*` with your own images.
2328

24-
### 4. Rebuild/package your wallet for distribution
25-
Please refer to the build guide on the repository [main page](https://github.com/turtlecoin/turtle-wallet-electron).
29+
## 4. Rebuild/package your wallet for distribution
30+
31+
Please refer to the build guide on the repository [main page](https://github.com/blognetwork/BlogCoin-electron-wallet).
32+
33+
## Final Note
2634

27-
### Final Note
28-
_You are free to use, modify, redistribute, or do whatever you want to the WalletShell's code, as long as you comply with the [license](https://github.com/turtlecoin/turtle-wallet-electron/blob/master/LICENSE.md) coming with WalletShell_.
35+
_You are free to use, modify, redistribute, or do whatever you want to the BlogShell's code, as long as you comply with the [license](https://github.com/blognetwork/BlogCoin-electron-wallet/blob/master/LICENSE.md) coming with [BlogShell](https://github.com/blognetwork/BlogCoin-electron-wallet) and [WalletShell](https://github.com/turtlecoin/turtle-wallet-electron/).

docs/shortcut.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
## Available keyboard shortcut
22

3-
![WalletShell Logo](walletshell.png)
3+
![BlogShell Logo](BlogShell.png)
44

55
| Shortcut | Target | Conditions |
66
| --------- | ------- | ---------- |

main.js

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,7 @@ const IS_DEBUG = IS_DEV || process.argv[1] === 'debug' || process.argv[2] === 'd
1616
const LOG_LEVEL = IS_DEBUG ? 'debug' : 'warn';
1717
const WALLET_CFGFILE = path.join(app.getPath('userData'), 'wconfig.txt');
1818

19-
const WALLETSHELL_VERSION = app.getVersion() || '0.3.x';
19+
const WALLETSHELL_VERSION = app.getVersion() || '0.1.x';
2020
const SERVICE_FILENAME = (platform === 'win32' ? `${config.walletServiceBinaryFilename}.exe` : config.walletServiceBinaryFilename);
2121
const SERVICE_OSDIR = (platform === 'win32' ? 'win' : (platform === 'darwin' ? 'osx' : 'lin'));
2222
const DEFAULT_SERVICE_BIN = path.join(process.resourcesPath, 'bin', SERVICE_OSDIR, SERVICE_FILENAME);
@@ -35,14 +35,14 @@ const DEFAULT_SETTINGS = {
3535
node_address: DEFAULT_REMOTE_NODE,
3636
pubnodes_last_updated: 946697799000,
3737
pubnodes_data: config.remoteNodeListFallback,
38-
pubnodes_custom: ['127.0.0.1:11898'],
38+
pubnodes_custom: ['127.0.0.1:54313'],
3939
pubnodes_exclude_offline: false,
4040
tray_minimize: false,
4141
tray_close: false,
42-
darkmode: true,
42+
darkmode: false,
4343
service_config_format: config.walletServiceConfigFormat
4444
};
45-
const DEFAULT_SIZE = { width: 840, height: 680 };
45+
const DEFAULT_SIZE = { width: 800, height: 600 };
4646
const WIN_TITLE = `${config.appName} ${WALLETSHELL_VERSION} - ${config.appDescription}`;
4747

4848
app.prompExit = true;

package-lock.json

Lines changed: 2 additions & 2 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

package.json

Lines changed: 16 additions & 16 deletions
Original file line numberDiff line numberDiff line change
@@ -1,21 +1,21 @@
11
{
2-
"name": "walletshell",
3-
"productName": "WalletShell",
4-
"description": "TurtleCoin GUI Wallet",
5-
"version": "v0.3.11",
6-
"homepage": "https://github.com/turtlecoin/turtle-wallet-electron",
7-
"repository": "https://github.com/turtlecoin/turtle-wallet-electron",
2+
"name": "blogshell",
3+
"productName": "BlogShell",
4+
"description": "BlogCoin GUI Wallet",
5+
"version": "v0.1.0",
6+
"homepage": "https://github.com/blognetwork/BlogCoin-electron-wallet",
7+
"repository": "https://github.com/blognetwork/BlogCoin-electron-wallet",
88
"main": "main.js",
99
"scripts": {
1010
"start": "electron .",
1111
"debug": "electron . debug",
1212
"dev": "electron . dev",
13-
"dist-win": "./node_modules/.bin/electron-builder --x64 --win -c.extraResources=./bin/win/turtle-service.exe",
14-
"dist-lin": "./node_modules/.bin/electron-builder --x64 --linux -c.extraResources=./bin/lin/turtle-service",
15-
"dist-mac": "./node_modules/.bin/electron-builder --x64 --mac -c.extraResources=./bin/osx/turtle-service"
13+
"dist-win": "./node_modules/.bin/electron-builder --x64 --win -c.extraResources=./bin/win/blogcoin-service.exe",
14+
"dist-lin": "./node_modules/.bin/electron-builder --x64 --linux -c.extraResources=./bin/lin/blogcoin-service",
15+
"dist-mac": "./node_modules/.bin/electron-builder --x64 --mac -c.extraResources=./bin/osx/blogcoin-service"
1616
},
1717
"keywords": [],
18-
"author": "Rixombea, Macroshock, TurtleCoin Developers",
18+
"author": "Rixombea, Macroshock, TurtleCoin Developers, BlogCoin Developers",
1919
"license": "ISC",
2020
"devDependencies": {
2121
"devtron": "^1.4.0",
@@ -37,8 +37,8 @@
3737
"request-promise-native": "^1.0.7"
3838
},
3939
"build": {
40-
"appId": "lol.turtlecoin.walletshell",
41-
"copyright": "Copyright (c) 2018 Rixombea, Macroshock, TurtleCoin Developers",
40+
"appId": "cf.blogcoin.blogshell",
41+
"copyright": "Copyright (c) 2018-2019 Rixombea, Macroshock, TurtleCoin Developers, BlogCoin Developers",
4242
"directories": {
4343
"output": "dist",
4444
"buildResources": "build"
@@ -68,14 +68,14 @@
6868
"target": [
6969
"AppImage"
7070
],
71-
"maintainer": "rixombea (@labaylabay)",
71+
"maintainer": "TheDevMinerTV (@TheDevMinerTV)",
7272
"category": "Office",
73-
"vendor": "TurtleCoin",
74-
"synopsis": "TurtleCoin GUI Wallet"
73+
"vendor": "BlogCoin",
74+
"synopsis": "BlogCoin GUI Wallet"
7575
},
7676
"win": {
7777
"target": "nsis",
78-
"publisherName": "TurtleCoin"
78+
"publisherName": "BlogCoin"
7979
},
8080
"nsis": {
8181
"artifactName": "${productName}-v${version}-${os}-${arch}-setup.${ext}",

src/assets/BlogShell.png

11.9 KB
Loading

src/assets/BlogShell_icon.icns

51.9 KB
Binary file not shown.

src/assets/BlogShell_icon.png

30 KB
Loading

src/assets/BlogShell_logo.png

34.1 KB
Loading

src/assets/BlogShell_logo_dm.png

32.2 KB
Loading

src/assets/BlogShell_sm.png

34.7 KB
Loading

src/assets/background.png

1.14 MB
Loading

src/assets/icon.icns

-44.9 KB
Binary file not shown.

src/assets/icon.ico

-97.3 KB
Binary file not shown.

src/assets/icon.png

4.96 KB
Loading

src/assets/splash_bg.png

82.8 KB
Loading

src/assets/splash_logo.png

10.7 KB
Loading

src/assets/tray.png

19 KB
Loading

src/assets/trayon.png

4.38 KB
Loading

src/assets/walletshell.png

-15 KB
Binary file not shown.

src/assets/walletshell_icon.icns

-26.3 KB
Binary file not shown.

src/assets/walletshell_icon.png

-24 KB
Binary file not shown.

src/assets/walletshell_logo.png

-14.3 KB
Binary file not shown.

src/assets/walletshell_logo_dm.png

-9.92 KB
Binary file not shown.

src/assets/walletshell_sm.png

-32.2 KB
Binary file not shown.

0 commit comments

Comments
 (0)