klaytn / caver-java

Official caver-java repository
Apache License 2.0
65 stars 43 forks source link

Can I make a keystoreJson in caver-java to use in caver-js #66

Closed skqksh closed 4 years ago

skqksh commented 4 years ago

I want to send encrypted privateKey to javascript use

Can I make a encrypt privateKey and make keystoreJson in caver-java to use in caver-js

If then what method should I use

kjhman21 commented 4 years ago

Thanks for filing this issue!

Please check out this function: https://github.com/klaytn/caver-java/blob/17f4f13170ffee123bb6cc19ad249ce6655c250b/core/src/test/java/com/klaytn/caver/feature/WalletTest.java#L113

skqksh commented 4 years ago

So.. 'walletFile' of caver-java is like as 'keystoreJson' of caver-js

Thank you so much