Skip to content

Commit

Permalink
Merge pull request #23 from ShorelineCrypto/macwallet
Browse files Browse the repository at this point in the history
Macwallet
  • Loading branch information
ShorelineCrypto committed Nov 9, 2020
2 parents b0125e3 + c94653e commit a1bd840
Show file tree
Hide file tree
Showing 5 changed files with 64 additions and 9 deletions.
19 changes: 17 additions & 2 deletions doc/MacOS_install/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@
For full guide of building own wallet from source, please follow steps at:
https://github.com/ShorelineCrypto/NewEnglandCoin/blob/master/doc/build-osx.md

Here below we describe an easier way to install macOS binary wallet on NENG v1.4.0.1, which was built from source in Mojave. The below
Here below we describe an easier way to install macOS binary wallet on NENG v1.4.1.0, which was built from source in Mojave. The below
method was tested to be working on 10.11 , 10.14 and 10.15.


Expand All @@ -26,6 +26,12 @@ https://brew.sh/

### Step 3: Install Required Library Dependencies using Homebrew, download wallet files

Using Safari browser, download file from:
http://miniupnp.free.fr/files/download.php?file=miniupnpc-1.9.20150206.tar.gz

Unpack the tar file, and place the folder "miniupnpc-1.9.20150206" into current working folder where
this README.txt file at

Open up terminal, type
```
brew update
Expand Down Expand Up @@ -64,8 +70,17 @@ Brew now installed newer and imcompatible versions. Older version of libraries
In Catalina, the openssl library linking method changed dramatically on system level so that enable or not may not have any effect on system.
Enable or not, NENG GUI and CLI wallet was tested to be working in MacOS Catalina.

### Step 5: Install macOs QT wallet and cli wallet
With typical mac method, drag and drop to install GUI dmg software to application or any other folder. Unzip the CLI software and install it at your preferred location.

Copy the conf file to your NewEngalndcoin data directory by running below at terminal:

```
cp newenglandcoin.conf ~/Library/'Application Support'/NewEnglandcoin/
```


### Step 5 optional: Restore system on openssl/miniupnpc
### Step 6 optional: Restore system on openssl/miniupnpc

When you are running NENG already or after running, you may need to restore system (newer) versions on openssl/miniupnpc to allow
softwares such as wget etc to work.
Expand Down
40 changes: 40 additions & 0 deletions doc/MacOS_install/newenglandcoin.conf
Original file line number Diff line number Diff line change
@@ -0,0 +1,40 @@
rpcuser=yourrpcuser
rpcpassword=yourrpcpassword
rpcport=6376
rpcallowip=127.0.0.1
server=1
daemon=0
upnp=1
addnode=184.61.105.4:6377
addnode=91.206.16.214:6377
addnode=68.151.225.158:6377
addnode=85.15.179.171:6377
addnode=95.111.248.174:6377
addnode=27.33.164.60:6377
addnode=68.151.212.47:62521
addnode=46.119.130.85:5275
addnode=115.220.211.235:62078
addnode=121.6.118.112:52063
addnode=121.6.118.112:52146
addnode=121.6.118.112:52171
addnode=178.60.38.6:63237
addnode=50.99.236.70:51423
addnode=74.113.36.2:51726
addnode=180.151.16.112:58773
addnode=95.27.86.242:57875
addnode=74.113.32.109:49871
addnode=74.113.33.65:57777
addnode=115.220.211.235:55748
addnode=95.111.228.34:55238
addnode=144.91.119.64:46256
addnode=89.185.100.225:63804
addnode=85.202.231.41:6377
addnode=95.47.170.105:7105
addnode=99.16.142.38:39533
addnode=50.245.85.73:39240
addnode=83.81.65.148:58503
addnode=136.24.44.100:40071
addnode=68.151.225.158:55941
addnode=164.163.1.254:57962
addnode=99.16.142.38:6653
addnode=68.151.225.158:58281
8 changes: 4 additions & 4 deletions doc/MacOS_install/prepare_darwin.sh
Original file line number Diff line number Diff line change
Expand Up @@ -2,8 +2,8 @@

brew install gcc@5
brew install boost@1.55 miniupnpc openssl berkeley-db4
wget http://miniupnp.free.fr/files/download.php?file=miniupnpc-1.9.20150206.tar.gz
tar xvfz "download.php?file=miniupnpc-1.9.20150206.tar.gz"
# wget http://miniupnp.free.fr/files/download.php?file=miniupnpc-1.9.20150206.tar.gz
# tar xvfz "download.php?file=miniupnpc-1.9.20150206.tar.gz"
rm -rf /usr/local/Cellar/miniupnpc/1.9
mv miniupnpc-1.9.20150206 /usr/local/Cellar/miniupnpc/1.9
cd /usr/local/Cellar/miniupnpc/1.9
Expand All @@ -22,5 +22,5 @@

## Download GUI/CLI wallet
cd ~/Downloads
wget https://github.com/ShorelineCrypto/NewEnglandCoin/releases/download/v1.4.0.1/newenglandcoin_v1.4.0.1_macOS_GUI.dmg
wget https://github.com/ShorelineCrypto/NewEnglandCoin/releases/download/v1.4.0.1/newenglandcoin_v1.4.0.1_macOS_CLI.zip
wget https://github.com/ShorelineCrypto/NewEnglandCoin/releases/download/v1.4.1.0/newenglandcoin_v1.4.1.0_macOS_GUI.dmg
wget https://github.com/ShorelineCrypto/NewEnglandCoin/releases/download/v1.4.1.0/newenglandcoin_v1.4.1.0_macOS_CLI.zip
2 changes: 1 addition & 1 deletion doc/MacOS_install/restore_system.sh
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
#! /bin/bash

brew switch openssl 1.1.1g
brew switch openssl 1.1.1h
brew switch miniupnpc 2.1

openssl version
4 changes: 2 additions & 2 deletions doc/build-osx.md
Original file line number Diff line number Diff line change
Expand Up @@ -32,7 +32,7 @@ Notes
# macOS 10.15 (Catalina) - Supported on Binary only

macOS Catalina was also tested but failed to build from source. However, Catalina is supported on binary wallet. Please
check out NENG v1.4.0.2 for MacOS Catalina wallet.
check out NENG v1.4.1.0 for MacOS Catalina wallet.

# MacOS 10.11 (El Capitan) to MacOS 10.14 (Mojave) - Fully Supported

Expand Down Expand Up @@ -113,7 +113,7 @@ and reboot the machine.


```
export PATH="/usr/local/Cellar/gcc@5/5.5.0_4/bin:/Library/Developer/CommandLineTools/usr/bin:/usr/local/opt/openssl/bin:$PATH"
export PATH="/usr/local/Cellar/gcc@5/5.5.0_6/bin:/Library/Developer/CommandLineTools/usr/bin:/usr/local/opt/openssl/bin:$PATH"
export LDFLAGS="-L/usr/local/opt/openssl/lib"
export CPPFLAGS="-I/usr/local/opt/openssl/include"
```
Expand Down

0 comments on commit a1bd840

Please sign in to comment.