Dual setup (App + Node)

From DeFiChain-Wiki
Revision as of 12:48, 11 March 2021 by Tom (talk | contribs) (init draft for dual setup)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)

Draft for Dual Setup

Steps:

  1. Download the latest App version and Ain version from: ...
  2. Start the App and wait till the full sync has finished (You can speed up this process by downloading a blockchain snapshot: ...)
  3. Close the App after the synchronization has finished
  4. Create a copy of the `.defi` folder. Eg: `cp -r .defi .defi-node` (Note: This folder contains the whole blockchain and requires a lot of space!)
  5. Edit the `defi.conf` in the new .defi folder
    1. change the rpcport to an unused port, eg: `rpcport=8553`
    2. add the bind command and use an unused port: eg: `bind=0.0.0.0:8554`
    3. update the walletdir, so that it points to the new directory: eg: `walletdir=/home/user/.defi_node`
  6. Start the node with the `datadir` option. Eg: `./defid -datadir=/home/user/.defi_node`