waves_logo Docs
  • Node Owner Guide
    Node Owner Guide
  • Install Waves Node
    • Deploy Node in Docker
      Deploy Node in Docker
    • Install Node on Ubuntu
      Install Node on Ubuntu
    • Install Node on macOS
      Install Node on macOS
    • Install Node on Windows
      Install Node on Windows
    • Install from Source (Building SBT)
      Install from Source (Building SBT)
    Install Waves Node
  • Synchronize Waves Blockchain
    • Import/Export Blockchain
      Import/Export Blockchain
    • Download the Latest Blockchain
      Download the Latest Blockchain
    • Rollback Waves Node
      Rollback Waves Node
    Synchronize Waves Blockchain
  • Upgrade Waves Node
    Upgrade Waves Node
  • Node Configuration
    Node Configuration
  • Logging Configuration
    Logging Configuration
  • Node Wallet
    Node Wallet
  • Features
    • Activation protocol
      Activation protocol
    Features
  • Custom Blockchain
    Custom Blockchain
  • Node REST API
    • API Key
      API Key
    • Working with Transactions
      Working with Transactions
    • Numeric Fields Format
      Numeric Fields Format
    • Pagination
      Pagination
    • CORS
      CORS
    • API Limitations of Pool of Public Nodes
      API Limitations of Pool of Public Nodes
    • Slow Requests
      Slow Requests
    • Response Codes and Errors
      Response Codes and Errors
    Node REST API
  • Extensions
    • gRPC Server
      gRPC Server
    • Blockchain Updates
      Blockchain Updates
    Extensions
  • Troubleshooting
    • Block Generation FAQ
      Block Generation FAQ
    Troubleshooting
  • Node Go
    Node Go
      • English
      • Русский
      On this page
        • Install OpenJDK 8
        • Download Waves Package and Configure the Application
        • Additional Security
      waves_logo Docs

          # Install Node on macOS

          # Install OpenJDK 8

          Note. Do not install OpenJDK 8 if you already have OpenJDK 11 installed. The node Installation is supported in both versions 8 and 11.

          Install OpenJDK 8 (opens new window) with the following command:

          brew cask install adoptopenjdk/openjdk/adoptopenjdk8
          

          Check the JDK version with the following command:

          java -version
          

          If you see this result, you can move to the next step:

          java version "1.8.0_201"
          Java(TM) SE Runtime Environment (build 1.8.0_201-b09)
          Java HotSpot(TM) 64-Bit Server VM (build 25.201-b09, mixed mode)
          

          # Download Waves Package and Configure the Application

          Download the latest version (opens new window) of waves-all-<version number>.jar to any folder, for example ~/waves.

          Download the sample configuration file (opens new window) and place it in the same directory. Specify the required node parameters in the file. Be careful: the security of your wallet and funds depends on the configuration. For detailed information, see the Node Configuration article.

          Then start Terminal app Terminal.app, navigate to the folder with the jar file with the command cd ~/waves and start the node with the following command (replace {*} with actual file name):

          java -jar {*}.jar {*}.conf
          

          # Additional Security

          For added security, it is recommended to store your wallet and configuration applications on an encrypted partition. For details see the following article (opens new window).

          Also, you may want to limit the use of these folders to designated users only. You can read about it here (opens new window).

          If you decide to use RPC, you should protect it with macOS embedded or any other firewall. You can read about it here (opens new window). 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 (opens new window) 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.

          Install Node on Ubuntu
          Install Node on Windows
          Install Node on Ubuntu
          Install Node on Windows