GENERALBYTESCOM / batm_public

BATM Public Repository
www.generalbytes.com
Other
98 stars 241 forks source link

Configure Electron Cash SLP #568

Open pjill opened 3 years ago

pjill commented 3 years ago

I have followed this commit history https://github.com/GENERALBYTESCOM/batm_public/commit/2bce99cc64cb427dd0c9bc98000686ad779b8d91

I currently have a pull request (565) targeting the master branch, The next step will be to configure electron cash SLP. I am having a hard time figuring out how to associate electron cash with the new ticker symbol. I am running the macOS version of electron cash.

Kindly advise on how to proceed if I am missing anything.

pvyhnal-generalbytes commented 3 years ago

Configuring Electron Cash SLP Set your user, password and port in ~/.electron-cash/config file:

{
    // ...
    "rpcuser": "user",
    "rpcpassword": "pass",
    "rpcport": 9999, // any available port here
    // ...
}

Start electron daemon this way, the load_wallet part is important even if you don’t use the -w parameter (using default wallet).

$ ./electron-cash daemon & sleep 3; ./electron-cash daemon load_wallet -w ~/.electron-cash/wallets/default_wallet; fg

In CAS, configure Electron Cash SLP Wallet in Crypto Settings and set params, e.g.

user:pass:localhost:9999