A hot custodial Ravencoin wallet.
Clone the git repo git clone https://github.com/ravenrebels/multiwallet.git
cd ./multiwallet
npm install
(builds client gui)
npm run build
Create a file called ./config.json with your username/password/url etc Use this template and replace the values
- rvn for Ravencoin mainnet
- rvn-test for Ravencoin testnet
{
"assets": ["LEMONADE"],
"gui": {
"tagline": "Wallet",
"headline": "LEMONADE",
"subTagline": "LEMONADE WALLET"
},
"cacheKeys": true,
"mode": "SOME_ASSETS",
"mode_docs: "The mode attribute can have the value RAVENCOIN_AND_ASSSETS or SOME_ASSETS or ASSETS
"network": "rvn-test",
"fundingWallet": "mimic correct nurse toward educate negative giant beach bicycle cage gaze when",
"raven_username": "SECRET",
"raven_password": "SECRET",
"raven_url": "http://localhost:8888"
}
You are required to run a full Ravencoin node. Your Ravencoin node is required to be configured with extra good indexing stuff. Here is an example configuration
server=1
testnet=1
onlynet=ipv4
regtest=0
listen=1
#Maintains the full transaction index on your node. Needed if you call getrawtransaction. Default is 0.
txindex=1
#Maintains the full Address index on your node. Needed if you call getaddress* calls. Default is 0.
addressindex=1
#Maintains the full Asset index on your node. Needed if you call getassetdata. Default is 0.
assetindex=1
#Maintains the full Timestamp index on your node. Default is 0.
timestampindex=1
#Maintains the full Spent index on your node. Default is 0.
spentindex=1
#Username and password - You can make this whatever you want.
rpcuser=secret
rpcpassword=secret
#What IP address is allowed to make calls to the RPC server. If youre running the wallet on the same machine youre
#developing on, this is fine. If not, you need to put the IP address of the machine CALLING the node here.
rpcallowip=127.0.0.1
dbcache=4096
upnp=1
npm run serve
Server is now running on http://localhost:80
You can change port by setting env variable PORT.
So running
PORT=8080 npm run serve
will start the server on port 8080