A Bitcoin Wallet based on NodeJS and Bitcoind RPC API
Plan:
- RPC proxy
- use https
- login/logout feature ()
- readonly mode (so that user can only view the wallet, but can not make transaction)
- multiple account mode (developed for merchats to view balance and transactions for multiple accounts)
How to use it:
-
install bitcoind
-
config bitcond to accept RPC call
vim ~/.bitcoin/bitcoin.conf
-
git clone [email protected]:lancehub/nodewallet.git
-
copy config.sample.js to config.js and edit config.js add your username password to it
cp config.sample.js config.js
vim config.js
-
npm install
-
generate key/cert for https
openssl req -x509 -days 365 -nodes -newkey rsa:1024 -keyout key.pem -out cert.pem
- node app and then visit: https://yourserver:9000