gitlab.com/aquachain/aquachain@v1.17.16-rc3.0.20221018032414-e3ddf1e1c055/Documentation/node-operator-guide/Node-Basics.md (about)

     1  # Full Node
     2  
     3  
     4  #### **First Boot**
     5  
     6  To get started, build (see [Compiling](Compiling)) or download the latest release **only from** https://github.com/aquachain/aquachain/releases
     7  
     8  Unzip the archive, and double click the `aquachain.exe` application to open the javascript console.
     9  
    10  When you open the program, you immediately start finding nodes and synchronizing with the network. It should take under 1 hour to sync the entire chain at this time.
    11  
    12  ## Startup Options
    13  
    14  Some times you might need to start aquachain with a certain command, or flags.
    15  
    16  Here we say `aquachain.exe` but if you are on linux, use `aquachain`.
    17  
    18  
    19  ### Example command arguments
    20  
    21  ```
    22  aquachain.exe -rpc -rpccorsdomain '*' # serve 127.0.0.1:8543 rpc server
    23  aquachain.exe -rpc daemon # rpc, no console
    24  aquachain.exe account new # create new json keyfile
    25  aquachain.exe -h # show help
    26  aquachain.exe version # show version
    27  aquachain.exe removedb # delete blockchain (keeping private keys)
    28  aquachain.exe -your-flags dumpconfig > my.aqua.config.toml
    29  aquachain.exe -config my.aqua.config.toml
    30  aquachain.exe paper 10 ## generates ten addresses
    31  aquachain.exe paper -vanity 123 10 ## generates ten addresses beginning with 0x123
    32  ```
    33  
    34  ### Disabling P2P
    35  
    36  To disable p2p and discovery, use the `-offline` flag.
    37  This is useful if you just want to use the AQUA Console to analyze your current blockchain status, or sign raw transactions offline.
    38  
    39  ## Aquachain Console
    40  
    41  You know if you are in the aquachain console if you see the **AQUA>** prompt.
    42  It is a (basic) javascript console, with (tab) auto-complete and (up/down) command history.
    43  
    44  - Load a local script with the `loadScript('filename')` function.
    45  - List accounts with `aqua.accounts`
    46  - Check all balances with `balance()`
    47