Skip to content

aliascash/aliwa-server

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

69 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

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:password@127.0.0.1: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)

About

A node.js server for the aliwa wallet

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Languages

  • JavaScript 100.0%