Skip to content

Latest commit

 

History

History
37 lines (21 loc) · 1.34 KB

README.md

File metadata and controls

37 lines (21 loc) · 1.34 KB

aliwa-server

A node.js server for the aliwa wallet

Documentation (linux)

Requirements

  • Server with at least 4GB RAM, 25GB+ disk recommended (more disk space is better when blockchain size increases)

  • Alias wallet (gui or rpc) fully synced (wallet from https://alias.cash or https://github.com/aliascash/alias-wallet)

  • Node.js >=12.0.0

  • Maria DB

    • For optimal performance set ram usage to at least 500MB
      • Add innodb_buffer_pool_size = 536870912 (or bigger) in mariadb.cnf
      • Verify ram usage with SELECT variable_value FROM information_schema.global_variables WHERE variable_name = 'innodb_buffer_pool_size';
  • (optional) LAMP with phpmyadmin or another gui tool for look up or managing the database conviently if neccessary

Steps

  1. Modify rpcuser and rpcpassword in the alias.conf file

  2. Copy alias.conf file into .aliaswallet folder and restart the wallet afterwards

  3. (optional) test it with curl: curl --data-binary '{"jsonrpc": "1.0", "id":"curltest", "method": "getblockcount", "params":[] }' -H 'content-type: text/plain;' http://user:[email protected]:36657/ (adapt user and password ;) )

  4. Add a mariadb database (innoDB) with user and password

  5. Import aliwa_server.sql to the database

  6. Modify config.js (user,password etc.)

  7. npm install (repository folder)

  8. node server.js (repository folder)