spacemeshos / smcli

Spacemesh command-line tool
https://spacemesh.io/
MIT License
8 stars 9 forks source link

Wallet file format #16

Closed lrettig closed 1 year ago

lrettig commented 1 year ago

smcli currently creates a "bare" wallet file with just encrypted data, nonce, and salt:

{"encrypted_wallet":"rwM5BjJZvU5r6sYTCq1tERPJEQY9GLvoiQWqqwSi7pMq5SBoG2g4R65ssEBdYGpBBVhs6vKA2n9DiApQ5Es7oDURgdBx6W4P6t2rxQJqJQ6Zy9GRFUouVuaZZJCSDpHewcGK8avsnCVYPPK3GPVSrkTqw3oF4ksD29feXTxh26AGEMxH1Bz1XiYNFNdP4HCwBQnDud92Nq3XGhdnCL7qDfksHTJ9Lkp8JbLBpjeDjwskTji","salt":"ANniW2QWCYDSv6cT5cMK6u","nonce":"DJtclI199GqCpTdE"}

It should output a wallet file in the format specified in https://github.com/spacemeshos/SMIPS/issues/17 and expected by smapp.