A node.js server for the aliwa wallet
-
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';
- Add
- For optimal performance set ram usage to at least 500MB
-
(optional) LAMP with phpmyadmin or another gui tool for look up or managing the database conviently if neccessary
-
Modify rpcuser and rpcpassword in the alias.conf file
-
Copy alias.conf file into .aliaswallet folder and restart the wallet afterwards
-
(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 ;) ) -
Add a mariadb database (innoDB) with user and password
-
Import aliwa_server.sql to the database
-
Modify config.js (user,password etc.)
-
npm install
(repository folder) -
node server.js
(repository folder)