Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

uninstalling KDX #6

Open
demisrael opened this issue Mar 30, 2021 · 9 comments
Open

uninstalling KDX #6

demisrael opened this issue Mar 30, 2021 · 9 comments

Comments

@demisrael
Copy link

I am uninstalling KDX and removing "Data Folder" but then, after installing KDX again, it is not asking for "Recover Wallet" but for Wallet encryption key. Can I totally remove all KDX components so it will forget my Wallet?

@aspect
Copy link
Contributor

aspect commented Mar 30, 2021

KDX uses 2 separate folders for data storage and wallet storage.

KDX data storage is managed by KDX and contains process data (usually located in <home>/.kdx

The wallet storage, however, is located in a standard bitcoin-like location which on windows is C:\Users\<username>\AppData\Local\Kaspa (in which you can find *.kpk files)

The wallet is managed by the kaspa wallet framework which is the same framework used in PWA, KDX as well as CLI. This means that you can install and run CLI and KDX and they will detect and manage the same wallet.

We will be updating documentation in the coming weeks and will add this information to it.

@demisrael
Copy link
Author

I'm not sure i understood how can i use cli wallet for transfer funds as in case of HDW i have no private key.. I can poll funds for specific wallet address but again i have no info about which addresses bind to HD wallet so i have no idea how much funds i have in HD wallet with CLI.

@aspect
Copy link
Contributor

aspect commented Mar 30, 2021

Oh, I think there is a misunderstanding - I am referring to our CLI wallet that is built on top of the same wallet framework as KDX and PWA. Our CLI uses same folders and 'kpk' wallet files as KDX. You need latest nodejs and you can install it with npm install -g @kaspa/wallet-cli and then run kaspa-wallet. This CLI provides you with all the functionality needed to interact with the wallet, kaspa-wallet balance will show your wallet balance etc. Run kaspa-wallet help to get a full list of commands.

This is not related to the native CLI wallet developed as a part of Kaspa, which last time I checked was not an HD-capable wallet (it allow the creation and sending to addresses but does not maintain seed or an address list etc.).

@demisrael
Copy link
Author

hi!
followed your instructions, i did run npm install on my machine where nodejs never seen in past and got following error (dependencys?)

$ kaspa-wallet help
/usr/lib/node_modules/@kaspa/wallet-cli/kaspa-wallet.js:48
errorCB?.(count)
^

SyntaxError: Unexpected token .
at createScript (vm.js:56:10)
at Object.runInThisContext (vm.js:97:10)
at Module._compile (module.js:549:28)
at Object.Module._extensions..js (module.js:586:10)
at Module.load (module.js:494:32)
at tryModuleLoad (module.js:453:12)
at Function.Module._load (module.js:445:3)
at Module.runMain (module.js:611:10)
at run (bootstrap_node.js:394:7)
at startup (bootstrap_node.js:160:9)

@aspect
Copy link
Contributor

aspect commented Mar 31, 2021

I think you may be running an older version of NodeJS. Kaspa Wallet CLI is compatible with version 14+ (node is currently at v15). Can you please reinstall NodeJS and let me know if this fixes this issue.

@aspect
Copy link
Contributor

aspect commented Mar 31, 2021

I just realized that our settings in the project manifest are not configured correctly - npm should be blocking you - asking you to upgrade nodejs to the latest/compatible version. We will fix this in the next release. In the meantime, just upgrade your local nodejs.

@mbunal
Copy link

mbunal commented Jul 31, 2022

The wallet storage, however, is located in a standard bitcoin-like location which on windows is C:\Users\<username>\AppData\Local\Kaspa (in which you can find *.kpk files)

what is this location on macos?

@surinder83singh
Copy link
Contributor

on MacOS wallet storage location is: /Users/<username>/Library/Application Support/Kaspa/

@mbunal
Copy link

mbunal commented Jul 31, 2022

on MacOS wallet storage location is: /Users/<username>/Library/Application Support/Kaspa/

thank you....

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

4 participants