react-blockstack icon indicating copy to clipboard operation
react-blockstack copied to clipboard

Add options in useFile

Open friedger opened this issue 5 years ago • 0 comments

Add a parameter options with fields

  • encrypt: if false the file content is written to and read from gaia unencrypted,
  • username: if a username is provided the file content is written encrypted with the public key of the user and the file content is read from the username's storage und decrypted with the own private key. (This needs implementation of publishing the public key or merging https://github.com/blockstack/blockstack-browser/pull/2000)

friedger avatar Jan 13 '20 08:01 friedger