Install OpenJDK 8 :
brew cask install adoptopenjdk/openjdk/adoptopenjdk8
Now check the JDK version using the terminal:
If you see this result, you can move to the next step:
openjdk version "1.8.0_202" OpenJDK Runtime Environment (AdoptOpenJDK)(build 1.8.0_202-b08) OpenJDK 64-Bit Server VM (AdoptOpenJDK)(build 25.202-b08, mixed mode)
Note. Do not install OpenJDK 8 If you already have OpenJDK 11 installed. The node Installation is supported in both versions 8 and 11.
Download the latest version of waves.jar and the required .conf configuration file (for mainnet or testnet) to any folder, for example
Carefully edit the configuration waves.conf file, it is very important! The safety of your wallet and money depends on this!
So, just open it with your favorite text editor, pour a cup of tea and read the documentation of the configuration file.
Then start Terminal app
Terminal.app, navigate to the folder with the jar file with the command
cd ~/wavesand start waves node with command
java -jar waves.jar waves.conf.
For added security, it is recommended to store your wallet and configuration applications on an encrypted partition. You can read about it here.
Also, you may want to limit the use of these folders to designated users only. You can read about it here.
If you decide to use RPC, you should protect it with macOS embedded or any other firewall. You can read about it here. If your server is public and available to the Internet and you decide to enable and use RPC, then allow only certain methods using Nginx's proxy_pass module and do not forget to set the API key hash in the configuration file.
Also, do not forget to keep the OS and other security software up-to-date.